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
This commit is contained in:
Chris Lattner 2004-02-23 21:46:42 +00:00
parent 6c71bf5f70
commit 077a373791

View File

@ -1398,7 +1398,7 @@ Instruction *InstCombiner::visitSetCondInst(BinaryOperator &I) {
else if (I.getOpcode() == Instruction::SetGT &&
cast<ConstantSInt>(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<ConstantUInt>(CI);