[llvm] [VPlan] Introduce explicit ExtractFromEnd recipes for live-outs. (PR #100658)

via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 10 13:02:14 PDT 2024


================
@@ -8470,22 +8480,29 @@ static void addUsersInExitBlock(
     // live-outs.
     if ((isa<VPWidenIntOrFpInductionRecipe>(V) &&
          !cast<VPWidenIntOrFpInductionRecipe>(V)->getTruncInst()) ||
-        isa<VPWidenPointerInductionRecipe>(V) ||
+        isa<VPWidenPointerInductionRecipe, VPFirstOrderRecurrencePHIRecipe>(
----------------
ayalz wrote:

Easier to check directly for reductions than by elimination of neither inductions nor FORs? Can be done as a follow-up.

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


More information about the llvm-commits mailing list