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

via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 14 08:46:50 PDT 2024


================
@@ -8637,7 +8637,7 @@ static void addCanonicalIVRecipes(VPlan &Plan, Type *IdxTy, bool HasNUW,
 // are modeled in VPlan. Some exiting values are not modeled explicitly yet and
 // won't be included. Those are un-truncated VPWidenIntOrFpInductionRecipe,
 // VPWidenPointerInductionRecipe and induction increments.
-static MapVector<PHINode *, VPValue *> collectUsersInExitBlock(
+static MapVector<VPIRInstruction *, VPValue *> collectUsersInExitBlock(
----------------
ayalz wrote:

nit: can assign a name for this type of map, to clarify and simplify passing it as a parameter below.

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


More information about the llvm-commits mailing list