[llvm] [VPlan] Introduce scalar loop header in plan, remove VPLiveOut. (PR #109975)

via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 27 14:41:45 PDT 2024


================
@@ -3746,6 +3708,14 @@ class VPlan {
   VPBasicBlock *getEntry() { return Entry; }
   const VPBasicBlock *getEntry() const { return Entry; }
 
+  /// Return the VPIRBasicBlock wrapping the header of the scalar loop.
+  VPIRBasicBlock *getScalarHeader() { return ScalarHeader; }
----------------
ayalz wrote:

const?

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


More information about the llvm-commits mailing list