[llvm] [FinalizelSel] Re-scan the MachineFunction if we insert a new MBB by custom insertion (PR #96046)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 29 13:12:19 PDT 2024
topperc wrote:
I dug into this some more. The emitInstrWithCustomInsert dates back to a time when it was called from InstrEmitter.cpp as MachineInstrs were created from SelectionDAG. There was nothing later in the block. The MBB returned was used to reset the position for where future instructions should be inserted.
https://github.com/llvm/llvm-project/pull/96046
More information about the llvm-commits
mailing list