[llvm] [MachineBasicBlock] Fix use after free in SplitCriticalEdge (PR #68786)

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 08:46:43 PDT 2023


================
@@ -1097,6 +1097,31 @@ static bool jumpTableHasOtherUses(const MachineFunction &MF,
   return false;
 }
 
+class MBBSplitCriticalEdgeDelegate : public MachineFunction::Delegate {
----------------
MatzeB wrote:

Call this `SlotIndexUpdateDelegate` or similar? (as it doesn't seem very specific to splitting critical edges now.

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


More information about the llvm-commits mailing list