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:
0712108
)
Fix what seems an obvious typo. Patch by Ivan Krasin. Problem
author
Duncan Sands
<baldrick@free.fr>
Thu, 4 Aug 2011 10:02:21 +0000
(10:02 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Thu, 4 Aug 2011 10:02:21 +0000
(10:02 +0000)
reported at http://habrahabr.ru/blogs/compilers/125626/.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136865
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/InstructionSimplify.cpp
b/lib/Analysis/InstructionSimplify.cpp
index 045a1267ee6027856609efcda2da69b5c7985e47..cfff9c03c837f325ab839ed3596b512f68f58b33 100644
(file)
--- a/
lib/Analysis/InstructionSimplify.cpp
+++ b/
lib/Analysis/InstructionSimplify.cpp
@@
-1888,7
+1888,7
@@
static Value *SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS,
return V;
break;
case Instruction::Shl: {
- bool NUW = LBO->hasNoUnsignedWrap() &&
L
BO->hasNoUnsignedWrap();
+ bool NUW = LBO->hasNoUnsignedWrap() &&
R
BO->hasNoUnsignedWrap();
bool NSW = LBO->hasNoSignedWrap() && RBO->hasNoSignedWrap();
if (!NUW && !NSW)
break;