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