mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Simplify code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169521 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dde785cd70
commit
b2af3a095b
@ -3252,9 +3252,7 @@ static bool isUndefOrInRange(int Val, int Low, int Hi) {
|
||||
/// isUndefOrEqual - Val is either less than zero (undef) or equal to the
|
||||
/// specified value.
|
||||
static bool isUndefOrEqual(int Val, int CmpVal) {
|
||||
if (Val < 0 || Val == CmpVal)
|
||||
return true;
|
||||
return false;
|
||||
return (Val < 0 || Val == CmpVal);
|
||||
}
|
||||
|
||||
/// isSequentialOrUndefInRange - Return true if every element in Mask, beginning
|
||||
|
Loading…
Reference in New Issue
Block a user