From be6ee56fb25fe7550fba5355c81c33266071316d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 24 Mar 2009 23:48:25 +0000 Subject: [PATCH] oops, I intended to remove this, not comment it out. Thanks Duncan! llvm-svn: 67657 --- lib/Transforms/Scalar/InstructionCombining.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {