[llvm-commits] [PATCH] Make lli's mcpu/march/mattr options work again (PR 12833)
Jose Fonseca
jfonseca at vmware.com
Sat May 19 03:15:51 PDT 2012
This makes it so that the MArch, MCPU, MAttrs passed to EngineBuilder are actually used.
Please review and apply.
Jose
diff --git a/lib/ExecutionEngine/TargetSelect.cpp b/lib/ExecutionEngine/TargetSelect.cpp
index 42364f9..cfd2f4b 100644
--- a/lib/ExecutionEngine/TargetSelect.cpp
+++ b/lib/ExecutionEngine/TargetSelect.cpp
@@ -26,9 +26,6 @@
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