[llvm] [CodeGen][X86] Fix lowering of tailcalls when `-ms-hotpatch` is used (PR #77245)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 7 18:25:57 PST 2024
================
@@ -994,8 +995,11 @@ void X86AsmPrinter::LowerPATCHABLE_OP(const MachineInstr &MI,
(void)NopSize;
}
}
- if (!EmptyInst)
+ if (!EmptyInst) {
+ if (Opcode != convertTailJumpOpcode(Opcode))
+ OutStreamer->AddComment("TAILCALL");
----------------
KanRobert wrote:
This line is not tested at all?
https://github.com/llvm/llvm-project/pull/77245
More information about the llvm-commits
mailing list