1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

oops, I intended to remove this, not comment it out. Thanks Duncan!

llvm-svn: 67657
This commit is contained in:
Chris Lattner 2009-03-24 23:48:25 +00:00
parent 22ad86c5be
commit be6ee56fb2

View File

@ -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) {