diff options
author | Duncan Sands <baldrick@free.fr> | 2011-08-04 10:02:21 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-08-04 10:02:21 +0000 |
commit | c9d904ee2ca36ab6238ed93c7ad2ea67b5fd0a23 (patch) | |
tree | ee51309a7440e34ab9a43402aa91d71c35364f79 | |
parent | 0712108d22d5fdc5ea447ef701d843b25bd52d10 (diff) | |
download | external_llvm-c9d904ee2ca36ab6238ed93c7ad2ea67b5fd0a23.zip external_llvm-c9d904ee2ca36ab6238ed93c7ad2ea67b5fd0a23.tar.gz external_llvm-c9d904ee2ca36ab6238ed93c7ad2ea67b5fd0a23.tar.bz2 |
Fix what seems an obvious typo. Patch by Ivan Krasin. Problem
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
-rw-r--r-- | lib/Analysis/InstructionSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InstructionSimplify.cpp b/lib/Analysis/InstructionSimplify.cpp index 045a126..cfff9c0 100644 --- 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() && LBO->hasNoUnsignedWrap(); + bool NUW = LBO->hasNoUnsignedWrap() && RBO->hasNoUnsignedWrap(); bool NSW = LBO->hasNoSignedWrap() && RBO->hasNoSignedWrap(); if (!NUW && !NSW) break; |