[llvm] [VPlan] Introduce explicit broadcasts for live-ins. (PR #124644)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 12:49:02 PST 2025


================
@@ -3716,6 +3759,9 @@ class VPlan {
   /// Return the live-in VPValue for \p V, if there is one or nullptr otherwise.
   VPValue *getLiveIn(Value *V) const { return Value2VPValue.lookup(V); }
 
+  /// Return the list of live-in VPValues available in the VPlan.
+  ArrayRef<VPValue *> getLiveIns() const { return VPLiveIns; }
----------------
fhahn wrote:

@david-arm WDYT about the latest naming? I'd be planning to land this soon and potentially iterate on the way live-ins are stored separately if needed.

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


More information about the llvm-commits mailing list