Skip to content

Commit dea8777

Browse files
[X86] Use llvm::none_of (NFC)
1 parent 637df70 commit dea8777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14309,9 +14309,9 @@ static SDValue lowerV8I16GeneralSingleInputShuffle(
1430914309

1431014310
// At this point, each half should contain all its inputs, and we can then
1431114311
// just shuffle them into their final position.
14312-
assert(count_if(LoMask, [](int M) { return M >= 4; }) == 0 &&
14312+
assert(none_of(LoMask, [](int M) { return M >= 4; }) &&
1431314313
"Failed to lift all the high half inputs to the low mask!");
14314-
assert(count_if(HiMask, [](int M) { return M >= 0 && M < 4; }) == 0 &&
14314+
assert(none_of(HiMask, [](int M) { return M >= 0 && M < 4; }) &&
1431514315
"Failed to lift all the low half inputs to the high mask!");
1431614316

1431714317
// Do a half shuffle for the low mask.

0 commit comments

Comments
 (0)