Fix a -Wpessimizing-move warning.

llvm-svn: 251495
This commit is contained in:
Craig Topper 2015-10-28 04:54:46 +00:00
parent 60ec421ca5
commit 5a82c57a8f

@ -47,7 +47,7 @@ public:
const Triple& TT = TM->getTargetTriple();
if (TT.getArch() == Triple::x86_64 && TT.isOSDarwin())
return std::move(TM);
return TM;
return nullptr;
}