From: Chris Lattner Date: Tue, 24 Mar 2009 23:48:25 +0000 (+0000) Subject: oops, I intended to remove this, not comment it out. Thanks Duncan! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=569a7f087a686ff848ae24ff5fdd291c3f472f5c;p=oota-llvm.git oops, I intended to remove this, not comment it out. Thanks Duncan! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67657 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 17ac5b7d8d5..f631d614573 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -6582,8 +6582,7 @@ Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI, // preferable because it allows the C<hasOneUse() && RHSV == 0 && - ICI.isEquality() && !Shift->isArithmeticShift()/* && - isa(Shift->getOperand(0))*/) { + ICI.isEquality() && !Shift->isArithmeticShift()) { // Compute C << Y. Value *NS; if (Shift->getOpcode() == Instruction::LShr) {