forked from OSchip/llvm-project
parent
516b393992
commit
57a32f0bc1
|
@ -129,7 +129,7 @@ bool PPCTargetMachine::addPassesToEmitFile(PassManager &PM,
|
||||||
}
|
}
|
||||||
|
|
||||||
void PPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
void PPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||||
// The JIT should use dynamic-no-pic relocation model.
|
// The JIT should use the static relocation model.
|
||||||
TM.setRelocationModel(Reloc::Static);
|
TM.setRelocationModel(Reloc::Static);
|
||||||
|
|
||||||
// Run loop strength reduction before anything else.
|
// Run loop strength reduction before anything else.
|
||||||
|
|
Loading…
Reference in New Issue