cl::desc("Disable the X86 asm printer, for use "
"when profiling the code generator."));
- cl::opt<bool> EnableX86LSR("enable-x86-lsr", cl::Hidden,
- cl::desc("Enable the X86 loop strength reduction "
- "pass."));
// Register the target.
RegisterTarget<X86TargetMachine> X("x86", " IA-32 (Pentium and above)");
}
FileType != TargetMachine::ObjectFile) return true;
// Run loop strength reduction before anything else.
- if (EnableX86LSR) PM.add(createLoopStrengthReducePass(&TLInfo));
+ PM.add(createLoopStrengthReducePass(&TLInfo));
// FIXME: Implement efficient support for garbage collection intrinsics.
PM.add(createLowerGCPass());
TM.setRelocationModel(Reloc::Static);
// Run loop strength reduction before anything else.
- if (EnableX86LSR)
- PM.add(createLoopStrengthReducePass(TM.getTargetLowering()));
+ PM.add(createLoopStrengthReducePass(TM.getTargetLowering()));
// FIXME: Implement efficient support for garbage collection intrinsics.
PM.add(createLowerGCPass());