mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
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
This commit is contained in:
parent
0712108d22
commit
c9d904ee2c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user