[llvm-commits] [llvm] r157191 - /llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp
Owen Anderson
resistor at mac.com
Mon May 21 09:57:17 PDT 2012
Author: resistor
Date: Mon May 21 11:57:17 2012
New Revision: 157191
URL: http://llvm.org/viewvc/llvm-project?rev=157191&view=rev
Log:
Make it so that the MArch, MCPU, MAttrs passed to EngineBuilder are actually used.
Patch by Jose Fonseca.
Modified:
llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp
Modified: llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp?rev=157191&r1=157190&r2=157191&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp Mon May 21 11:57:17 2012
@@ -26,11 +26,7 @@
using namespace llvm;
TargetMachine *EngineBuilder::selectTarget() {
- StringRef MArch = "";
- StringRef MCPU = "";
- SmallVector<std::string, 1> MAttrs;
Triple TT(M->getTargetTriple());
-
return selectTarget(TT, MArch, MCPU, MAttrs);
}
More information about the llvm-commits
mailing list