[llvm] [LV][VPlan] Add initial support for CSA vectorization (PR #106560)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 07:55:42 PDT 2024


================
@@ -3497,6 +3695,8 @@ class VPlan {
   /// live-outs are fixed via VPLiveOut::fixPhi.
   MapVector<PHINode *, VPLiveOut *> LiveOuts;
 
+  MapVector<PHINode *, VPCSAState *> CSAStates;
----------------
fhahn wrote:

Why does this need to be part of VPlan? Is it not possible to encode all required info in recipes?

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


More information about the llvm-commits mailing list