[all-commits] [llvm/llvm-project] 386f39: [MachineBasicBlock] Fix SlotIndexUpdater for inser...

Carl Ritson via All-commits all-commits at lists.llvm.org
Sat Oct 21 00:31:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 386f3903910aa1897c424ced8e1af7993a6df5ce
      https://github.com/llvm/llvm-project/commit/386f3903910aa1897c424ced8e1af7993a6df5ce
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2023-10-21 (Sat, 21 Oct 2023)

  Changed paths:
    M llvm/lib/CodeGen/MachineBasicBlock.cpp

  Log Message:
  -----------
  [MachineBasicBlock] Fix SlotIndexUpdater for insertion order (#69424)

Follow up fix for #68786 to address that MachineFunction handleInsertion
is actually called before a new instruction has been inserted into the
block. Hence new instructions must be recorded and SlotIndex updates
performed after the delegate call.




More information about the All-commits mailing list