diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-21 19:36:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-21 19:36:36 +0000 |
commit | 44c07ed61ae932ef22b32924d66e33bf067c1656 (patch) | |
tree | 0dd501ff7ad2545952f658e3e49dca44475fd20f /llvm/lib | |
parent | 15f5a182e19437096f9a156d35a3ce2d4adf5ba3 (diff) | |
download | bcm5719-llvm-44c07ed61ae932ef22b32924d66e33bf067c1656.tar.gz bcm5719-llvm-44c07ed61ae932ef22b32924d66e33bf067c1656.zip |
enable the gep isel opt
llvm-svn: 24910
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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 <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 @@ 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; |