[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Evan Cheng
evan.cheng at apple.com
Fri Mar 16 11:32:48 PDT 2007
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.386 -> 1.387
---
Log message:
Turn on GEP index sinking by default.
---
Diffs of the changes: (+0 -7)
SelectionDAGISel.cpp | 7 -------
1 files changed, 7 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.386 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.387
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.386 Fri Mar 16 12:50:20 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Fri Mar 16 13:32:30 2007
@@ -59,10 +59,6 @@
static const bool ViewISelDAGs = 0, ViewSchedDAGs = 0;
#endif
-static cl::opt<bool>
-EnableGEPIndexSink("enable-gep-index-sinking", cl::Hidden,
- cl::desc("Sink invariant GEP index computation into use blocks"));
-
//===---------------------------------------------------------------------===//
///
/// RegisterScheduler class - Track the registration of instruction schedulers.
@@ -3981,9 +3977,6 @@
/// addressing mode of the load / store uses.
static bool SinkInvariantGEPIndex(BinaryOperator *BinOp, LoopInfo *loopInfo,
const TargetLowering &TLI) {
- if (!EnableGEPIndexSink)
- return false;
-
// Only look at Add / Sub for now.
if (BinOp->getOpcode() != Instruction::Add &&
BinOp->getOpcode() != Instruction::Sub)
More information about the llvm-commits
mailing list