mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Simplify code.
llvm-svn: 169521
This commit is contained in:
parent
5b43aa0b29
commit
b18925a384
@ -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…
x
Reference in New Issue
Block a user