[llvm] [CodeGen][AMDGPU] Replace isBasicBlockPrologue with a MachineInstr::BBProlog flag (PR #225433)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 06:58:22 PDT 2026


================
@@ -1074,6 +1083,8 @@ class MachineBasicBlock
            "iterator points outside of basic block");
     assert(!MI->isBundledWithPred() && !MI->isBundledWithSucc() &&
            "Cannot insert instruction with bundle flags");
+    if (isBBPrologInsertPoint(I.getInstrIterator()))
----------------
arsenm wrote:

Yes, and yes 

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


More information about the llvm-commits mailing list