[llvm] [VPlan] Hook IR blocks into VPlan during skeleton creation (NFC) (PR #114292)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 16:34:22 PST 2024


================
@@ -3986,12 +3978,14 @@ class VPlan {
   }
 
   /// \return The block corresponding to the original preheader.
-  VPBasicBlock *getPreheader() { return Preheader; }
-  const VPBasicBlock *getPreheader() const { return Preheader; }
+  VPBasicBlock *getPreheader() { return Entry; }
+  const VPBasicBlock *getPreheader() const { return Entry; }
----------------
ayalz wrote:

The terms `PreHeader` and `Entry` need to be aligned. OK to introduce such inconsistency temporarily, for a gradual incremental change, along with a FIXME.

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


More information about the llvm-commits mailing list