From: Chris Lattner Date: Mon, 23 Feb 2004 21:46:42 +0000 (+0000) Subject: Fix a small typeo in my checkin last night that broke vortex and other programs :( X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=077a373791ae80867c22468212aa78d9a78b1363;p=oota-llvm.git Fix a small typeo in my checkin last night that broke vortex and other programs :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11774 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 74283759a14..0b471639970 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -1398,7 +1398,7 @@ Instruction *InstCombiner::visitSetCondInst(BinaryOperator &I) { else if (I.getOpcode() == Instruction::SetGT && cast(CI)->getValue() == -1) // X > -1 => x < 128 - return BinaryOperator::create(Instruction::SetGT, CastOp, + return BinaryOperator::create(Instruction::SetLT, CastOp, ConstantUInt::get(SrcTy, 1ULL << (SrcTySize*8-1))); } else { ConstantUInt *CUI = cast(CI);