forked from OSchip/llvm-project
Fix what seems an obvious typo. Patch by Ivan Krasin. Problem
reported at http://habrahabr.ru/blogs/compilers/125626/. llvm-svn: 136865
This commit is contained in:
parent
e5b5dea9f2
commit
020c1947b7
|
@ -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…
Reference in New Issue