[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Dec 21 11:36:48 PST 2005



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.118 -> 1.119
---
Log message:

enable the gep isel opt


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

 SelectionDAGISel.cpp |    6 ------
 1 files changed, 6 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.118 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.119
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.118	Tue Dec 20 20:43:26 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Wed Dec 21 13:36:36 2005
@@ -40,10 +40,6 @@
 #include <iostream>
 using namespace llvm;
 
-static cl::opt<bool>
-GEPISelTest("enable-gep-isel-opt", cl::Hidden,
-            cl::desc("temporary for testing"));
-
 #ifndef NDEBUG
 static cl::opt<bool>
 ViewDAGs("view-isel-dags", cl::Hidden,
@@ -1315,8 +1311,6 @@
 /// indices into blocks that use it.
 static void OptimizeGEPExpression(GetElementPtrInst *GEPI,
                                   const TargetData &TD) {
-  if (!GEPISelTest) return;
-  
   // If this GEP is only used inside the block it is defined in, there is no
   // need to rewrite it.
   bool isUsedOutsideDefBB = false;






More information about the llvm-commits mailing list