optimize out a temporary sys::Path


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123359 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 10062d7..537372c 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -1324,10 +1324,9 @@
     Lib32 = "lib32";
 
   std::string Lib64 = "lib";
-  llvm::sys::Path Lib64Path("/lib64");
   bool Symlink;
-  if (!llvm::sys::fs::exists(Lib64Path.str(), Exists) && Exists &&
-      (llvm::sys::fs::is_symlink(Lib64Path.str(), Symlink) || !Symlink))
+  if (!llvm::sys::fs::exists("/lib64", Exists) && Exists &&
+      (llvm::sys::fs::is_symlink("/lib64", Symlink) || !Symlink))
     Lib64 = "lib64";
 
   std::string GccTriple = "";