projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c71bf5
)
Fix a small typeo in my checkin last night that broke vortex and other programs :(
author
Chris Lattner
<sabre@nondot.org>
Mon, 23 Feb 2004 21:46:42 +0000
(21:46 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 23 Feb 2004 21:46:42 +0000
(21:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11774
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 74283759a14db06660bd8ef2b1e72bead79fcc3a..0b4716399700b0cf65f7cf718bc62d8e67ff6a02 100644
(file)
--- 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::Set
G
T, CastOp,
+ return BinaryOperator::create(Instruction::Set
L
T, CastOp,
ConstantUInt::get(SrcTy, 1ULL << (SrcTySize*8-1)));
} else {
ConstantUInt *CUI = cast<ConstantUInt>(CI);