From 44c07ed61ae932ef22b32924d66e33bf067c1656 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 Dec 2005 19:36:36 +0000 Subject: enable the gep isel opt llvm-svn: 24910 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index d75e5013d55..103a00a25c2 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -40,10 +40,6 @@ #include using namespace llvm; -static cl::opt -GEPISelTest("enable-gep-isel-opt", cl::Hidden, - cl::desc("temporary for testing")); - #ifndef NDEBUG static cl::opt ViewDAGs("view-isel-dags", cl::Hidden, @@ -1315,8 +1311,6 @@ static Value *InsertGEPComputeCode(Value *&V, BasicBlock *BB, Instruction *GEPI, /// 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; -- cgit v1.2.3