[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 29 02:18:01 PDT 2004


Changes in directory llvm/lib/Target/X86:

X86TargetMachine.cpp updated: 1.57 -> 1.58

---
Log message:

I believe that the code generator now properly handles dead basic blocks.  If not,
this is a bug, and should be fixed.


---
Diffs of the changes:  (+0 -8)

Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.57 llvm/lib/Target/X86/X86TargetMachine.cpp:1.58
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.57	Sun Jun 20 02:49:54 2004
+++ llvm/lib/Target/X86/X86TargetMachine.cpp	Tue Jun 29 02:17:12 2004
@@ -65,10 +65,6 @@
   // FIXME: Implement the invoke/unwind instructions!
   PM.add(createLowerInvokePass());
 
-  // FIXME: The code generator does not properly handle functions with
-  // unreachable basic blocks.
-  PM.add(createCFGSimplificationPass());
-
   // FIXME: Implement the switch instruction in the instruction selector!
   PM.add(createLowerSwitchPass());
 
@@ -126,10 +122,6 @@
   // FIXME: Implement the invoke/unwind instructions!
   PM.add(createLowerInvokePass());
 
-  // FIXME: The code generator does not properly handle functions with
-  // unreachable basic blocks.
-  PM.add(createCFGSimplificationPass());
-
   // FIXME: Implement the switch instruction in the instruction selector!
   PM.add(createLowerSwitchPass());
 





More information about the llvm-commits mailing list