aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-23 21:46:42 +0000
committerChris Lattner <sabre@nondot.org>2004-02-23 21:46:42 +0000
commit077a373791ae80867c22468212aa78d9a78b1363 (patch)
treef5f9f0fca95d17d214e2f3ec4c2e3aa21e8f043e /lib/Transforms
parent6c71bf5f707ccfc4464974811a643fbe953d412c (diff)
downloadexternal_llvm-077a373791ae80867c22468212aa78d9a78b1363.tar.gz
external_llvm-077a373791ae80867c22468212aa78d9a78b1363.tar.bz2
external_llvm-077a373791ae80867c22468212aa78d9a78b1363.zip
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 74283759a1..0b47163997 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<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);