File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,7 @@ bool vputils::isUniformAcrossVFsAndUFs(VPValue *V) {
92
92
m_VPInstruction<VPInstruction::CanonicalIVIncrementForPart>(
93
93
m_VPValue ())))
94
94
return false ;
95
- return all_of (R->operands (),
96
- [](VPValue *Op) { return isUniformAcrossVFsAndUFs (Op); });
95
+ return all_of (R->operands (), isUniformAcrossVFsAndUFs);
97
96
}
98
97
99
98
auto *CanonicalIV = R->getParent ()->getPlan ()->getCanonicalIV ();
@@ -110,8 +109,7 @@ bool vputils::isUniformAcrossVFsAndUFs(VPValue *V) {
110
109
// TODO: Further relax the restrictions.
111
110
return R->isUniform () &&
112
111
(isa<LoadInst, StoreInst>(R->getUnderlyingValue ())) &&
113
- all_of (R->operands (),
114
- [](VPValue *Op) { return isUniformAcrossVFsAndUFs (Op); });
112
+ all_of (R->operands (), isUniformAcrossVFsAndUFs);
115
113
})
116
114
.Case <VPScalarCastRecipe, VPWidenCastRecipe>([](const auto *R) {
117
115
// A cast is uniform according to its operand.
You can’t perform that action at this time.
0 commit comments