diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-03-24 23:48:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-03-24 23:48:25 +0000 |
| commit | 9e945380054b2e648efc65b737d5b2c66a361a3a (patch) | |
| tree | 7ea76d384d700be740fbe2089b6aeac906902b37 /llvm/lib/Transforms | |
| parent | 9d4d283024cb22bf9d7bc0c66c746567addc1b18 (diff) | |
| download | bcm5719-llvm-9e945380054b2e648efc65b737d5b2c66a361a3a.tar.gz bcm5719-llvm-9e945380054b2e648efc65b737d5b2c66a361a3a.zip | |
oops, I intended to remove this, not comment it out. Thanks Duncan!
llvm-svn: 67657
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 17ac5b7d8d5..f631d614573 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -6582,8 +6582,7 @@ Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI, // preferable because it allows the C<<Y expression to be hoisted out // of a loop if Y is invariant and X is not. if (Shift && Shift->hasOneUse() && RHSV == 0 && - ICI.isEquality() && !Shift->isArithmeticShift()/* && - isa<Instruction>(Shift->getOperand(0))*/) { + ICI.isEquality() && !Shift->isArithmeticShift()) { // Compute C << Y. Value *NS; if (Shift->getOpcode() == Instruction::LShr) { |

