Changes in directory llvm/lib/Target/X86:
X86TargetMachine.cpp updated: 1.111 -> 1.112 --- Log message: Disable switch lowering for targets based on the selection dag isel, letting the code generator handle them directly. --- Diffs of the changes: (+0 -10) X86TargetMachine.cpp | 10 ---------- 1 files changed, 10 deletions(-) Index: llvm/lib/Target/X86/X86TargetMachine.cpp diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.111 llvm/lib/Target/X86/X86TargetMachine.cpp:1.112 --- llvm/lib/Target/X86/X86TargetMachine.cpp:1.111 Sun Mar 26 19:32:24 2006 +++ llvm/lib/Target/X86/X86TargetMachine.cpp Sat Apr 8 14:46:55 2006 @@ -36,8 +36,6 @@ cl::opt<bool> DisableOutput("disable-x86-llc-output", cl::Hidden, cl::desc("Disable the X86 asm printer, for use " "when profiling the code generator.")); - cl::opt<bool> DisableLowerSwitch("disable-lower-switch", cl::Hidden, - cl::desc("Disable the LowerSwitch pass")); // Register the target. RegisterTarget<X86TargetMachine> X("x86", " IA-32 (Pentium and above)"); } @@ -100,10 +98,6 @@ // FIXME: Implement the invoke/unwind instructions! PM.add(createLowerInvokePass()); - // FIXME: Implement the switch instruction in the instruction selector! - if (!DisableLowerSwitch) - PM.add(createLowerSwitchPass()); - // Make sure that no unreachable blocks are instruction selected. PM.add(createUnreachableBlockEliminationPass()); @@ -169,10 +163,6 @@ // FIXME: Implement the invoke/unwind instructions! PM.add(createLowerInvokePass()); - // FIXME: Implement the switch instruction in the instruction selector! - if (!DisableLowerSwitch) - PM.add(createLowerSwitchPass()); - // Make sure that no unreachable blocks are instruction selected. PM.add(createUnreachableBlockEliminationPass()); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits