From 9797c5cc3ebc2c78ff30866ce0650d87ea02946c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 Dec 2005 19:36:36 +0000 Subject: [PATCH] enable the gep isel opt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24910 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index d75e5013d55..103a00a25c2 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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;