forked from OSchip/llvm-project
parent
09c1d0002b
commit
4a2cdc3302
|
@ -222,8 +222,7 @@ bool BackendConsumer::AddEmitPasses(std::string &Error) {
|
|||
Features.AddFeature(*it);
|
||||
FeaturesStr = Features.getString();
|
||||
}
|
||||
TargetMachine *TM = TheTarget->createTargetMachine(*TheModule, Triple,
|
||||
FeaturesStr);
|
||||
TargetMachine *TM = TheTarget->createTargetMachine(Triple, FeaturesStr);
|
||||
|
||||
// Set register scheduler & allocation policy.
|
||||
RegisterScheduler::setDefault(createDefaultScheduler);
|
||||
|
|
Loading…
Reference in New Issue