1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Enabling some of these passes causes lli to break

llvm-svn: 6457
This commit is contained in:
Misha Brukman 2003-05-31 04:23:04 +00:00
parent 0fae161230
commit a49daf449e

View File

@ -210,17 +210,21 @@ bool UltraSparc::addPassesToJITCompile(PassManager &PM) {
// Specialize LLVM code for this target machine and then
// run basic dataflow optimizations on LLVM code.
#if 0
if (!DisablePreSelect) {
PM.add(createPreSelectionPass(*this));
PM.add(createReassociatePass());
PM.add(createLICMPass());
PM.add(createGCSEPass());
}
#endif
PM.add(createInstructionSelectionPass(*this));
#if 0
if (!DisableSched)
PM.add(createInstructionSchedulingWithSSAPass(*this));
#endif
// new pass: convert Value* in MachineOperand to an unsigned register
// this brings it in line with what the X86 JIT's RegisterAllocator expects
@ -229,8 +233,10 @@ bool UltraSparc::addPassesToJITCompile(PassManager &PM) {
PM.add(getRegisterAllocator(*this));
PM.add(getPrologEpilogInsertionPass());
#if 0
if (!DisablePeephole)
PM.add(createPeepholeOptsPass(*this));
#endif
return false; // success!
}