Skip to content

Commit

Permalink
Make it so that the MArch, MCPU, MAttrs passed to EngineBuilder are a…
Browse files Browse the repository at this point in the history
…ctually used.

Patch by Jose Fonseca.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157191 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
resistor committed May 21, 2012
1 parent 8c3f33d commit 5b2d81b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/ExecutionEngine/TargetSelect.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5b2d81b

Please sign in to comment.