llvm-project
792670a4 - [X86][WinEH] Insert nop after unwinding inline assembly (#176393)

Commit
37 days ago
[X86][WinEH] Insert nop after unwinding inline assembly (#176393) As discussed on https://github.com/llvm/llvm-project/pull/144745, insert a nop after unwinding inline assembly, as it may end on a call. While the change itself is trivial, I ended up having to do two infrastructure changes: * The unwind flag needs to be propagated to ExtraInfo of the MachineInstr. * The MachineInstr needs to be passed through to emitInlineAsmEnd(), and the method needs to be non-const. Fixes https://github.com/llvm/llvm-project/issues/157073.
Author
Parents
Loading