aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-21 19:36:36 +0000
committerChris Lattner <sabre@nondot.org>2005-12-21 19:36:36 +0000
commit9797c5cc3ebc2c78ff30866ce0650d87ea02946c (patch)
tree32775f25a2ed5586baf759d94ab8ce0f37d8f58c /lib
parent524a1313daaa9c58f4bd6c710cdcfe31446cf7fb (diff)
downloadexternal_llvm-9797c5cc3ebc2c78ff30866ce0650d87ea02946c.zip
external_llvm-9797c5cc3ebc2c78ff30866ce0650d87ea02946c.tar.gz
external_llvm-9797c5cc3ebc2c78ff30866ce0650d87ea02946c.tar.bz2
enable the gep isel opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index d75e501..103a00a 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/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;