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

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 14:05:44 PST 2024


================
@@ -621,6 +621,12 @@ class VPBlockBase {
   /// Remove all the successors of this block.
   void clearSuccessors() { Successors.clear(); }
 
+  /// Swap successors of the block. The block must have exactly 2 successors.
----------------
ayalz wrote:

TODO: This should be part of introducing conditional branch recipes rather than being independent.

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


More information about the llvm-commits mailing list