mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Make it so that the MArch, MCPU, MAttrs passed to EngineBuilder are actually used.
Patch by Jose Fonseca. llvm-svn: 157191
This commit is contained in:
parent
80e0e52143
commit
6187e32939
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user