[llvm] [VPlan] Support VPReverseVectorPointer in DataWithEVL vectorization (PR #113667)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 11:43:54 PST 2024


================
@@ -157,6 +157,10 @@ bool VPlanVerifier::verifyEVLRecipe(const VPInstruction &EVL) const {
              })
              .Case<VPScalarCastRecipe>(
                  [&](const VPScalarCastRecipe *S) { return true; })
+             .Case<VPReverseVectorPointerRecipe>(
+                 [&](const VPReverseVectorPointerRecipe *R) {
+                   return VerifyEVLUse(*R, 1);
----------------
fhahn wrote:

Can be handled with `.Case<VPWidenLoadEVLRecipe>(`?

https://github.com/llvm/llvm-project/pull/113667


More information about the llvm-commits mailing list