mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 21:31:03 +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
|
/// isUndefOrEqual - Val is either less than zero (undef) or equal to the
|
||||||
/// specified value.
|
/// specified value.
|
||||||
static bool isUndefOrEqual(int Val, int CmpVal) {
|
static bool isUndefOrEqual(int Val, int CmpVal) {
|
||||||
if (Val < 0 || Val == CmpVal)
|
return (Val < 0 || Val == CmpVal);
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// isSequentialOrUndefInRange - Return true if every element in Mask, beginning
|
/// isSequentialOrUndefInRange - Return true if every element in Mask, beginning
|
||||||
|
Loading…
x
Reference in New Issue
Block a user