[llvm] [VPlan] Add VPIRInstruction, use for exit block live-outs. (PR #100735)

via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 14 03:18:52 PDT 2024


================
@@ -8695,17 +8698,18 @@ addUsersInExitBlock(VPlan &Plan,
   }
 
   // Introduce VPUsers modeling the exit values.
-  for (const auto &[ExitPhi, V] : ExitingValuesToFix) {
+  for (const auto &[IR, V] : ExitingValuesToFix) {
     // Pass live-in values used by exit phis directly through to the live-out.
----------------
ayalz wrote:

Phi's in exit block that are fed by live-in values which bypass the original loop, seem redundant - should they be considered lcssa phi's? Can be checked later, independently.

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


More information about the llvm-commits mailing list