[llvm-commits] [llvm] r67657 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
sabre at nondot.org
Tue Mar 24 16:48:25 PDT 2009
Author: lattner
Date: Tue Mar 24 18:48:25 2009
New Revision: 67657
URL: http://llvm.org/viewvc/llvm-project?rev=67657&view=rev
Log:
oops, I intended to remove this, not comment it out. Thanks Duncan!
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp?rev=67657&r1=67656&r2=67657&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Tue Mar 24 18:48:25 2009
@@ -6582,8 +6582,7 @@
// 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) {
More information about the llvm-commits
mailing list