mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
Make it so that the MArch, MCPU, MAttrs passed to EngineBuilder are actually used.
Patch by Jose Fonseca. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c3f33d337
commit
5b2d81bb50
@ -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