[llvm] [CodeGen][X86] Fix lowering of tailcalls when `-ms-hotpatch` is used (PR #77245)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 07:31:00 PST 2024


sylvain-audi wrote:

> Also, I've removed the `X86::PUSH64r` optimization which cannot be applied anymore in this situation. Thus the change in the `patchable-prologue.ll` test. + at sanjoy

To keep the optimization, is there a (clean) way we could "tell" the `X86AsmPrinter` to ignore the emission of the next instruction?

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


More information about the llvm-commits mailing list