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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 08:41:49 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>(
----------------
fhahn wrote:

Added collecting of exitingvaluestofix here, unfortunately we still need to skip inductions explicitly there as they are only fixed later.

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


More information about the llvm-commits mailing list