We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 637df70 commit dea8777Copy full SHA for dea8777
llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -14309,9 +14309,9 @@ static SDValue lowerV8I16GeneralSingleInputShuffle(
14309
14310
// At this point, each half should contain all its inputs, and we can then
14311
// just shuffle them into their final position.
14312
- assert(count_if(LoMask, [](int M) { return M >= 4; }) == 0 &&
+ assert(none_of(LoMask, [](int M) { return M >= 4; }) &&
14313
"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 &&
+ assert(none_of(HiMask, [](int M) { return M >= 0 && M < 4; }) &&
14315
"Failed to lift all the low half inputs to the high mask!");
14316
14317
// Do a half shuffle for the low mask.
0 commit comments