[llvm] [VPlan] Refine some types to VPIRValue (NFC) (PR #174939)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 8 12:56:41 PST 2026


================
@@ -1970,7 +1970,7 @@ static bool tryToReplaceALMWithWideALM(VPlan &Plan, ElementCount VF,
 
   // When using wide lane masks, the return type of the get.active.lane.mask
   // intrinsic is VF x UF (last operand).
-  VPValue *ALMMultiplier = Plan.getConstantInt(64, UF);
+  VPIRValue *ALMMultiplier = Plan.getConstantInt(64, UF);
----------------
fhahn wrote:

Is there a benefit from renaming if it doesn't help to remove a cast?

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


More information about the llvm-commits mailing list