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) {
9292 m_VPInstruction<VPInstruction::CanonicalIVIncrementForPart>(
9393 m_VPValue ())))
9494 return false ;
95- return all_of (R->operands (),
96- [](VPValue *Op) { return isUniformAcrossVFsAndUFs (Op); });
95+ return all_of (R->operands (), isUniformAcrossVFsAndUFs);
9796 }
9897
9998 auto *CanonicalIV = R->getParent ()->getPlan ()->getCanonicalIV ();
@@ -110,8 +109,7 @@ bool vputils::isUniformAcrossVFsAndUFs(VPValue *V) {
110109 // TODO: Further relax the restrictions.
111110 return R->isUniform () &&
112111 (isa<LoadInst, StoreInst>(R->getUnderlyingValue ())) &&
113- all_of (R->operands (),
114- [](VPValue *Op) { return isUniformAcrossVFsAndUFs (Op); });
112+ all_of (R->operands (), isUniformAcrossVFsAndUFs);
115113 })
116114 .Case <VPScalarCastRecipe, VPWidenCastRecipe>([](const auto *R) {
117115 // A cast is uniform according to its operand.
You can’t perform that action at this time.
0 commit comments