[PATCH] D143387: AArch64/GISel: fall back to SDAG if a Darwin function needs varargs regs saved.
Tim Northover via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 04:44:15 PST 2023
t.p.northover created this revision.
t.p.northover added reviewers: paquette, aemerson.
Herald added subscribers: hiraditya, kristof.beyls, mcrosier.
Herald added a project: All.
t.p.northover requested review of this revision.
Herald added a project: LLVM.
A function on Darwin with `win64cc` needs to save any GPRs that might contain varargs arguments. GlobalISel can't do that yet, so we should fall back.
https://reviews.llvm.org/D143387
Files:
llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143387.495086.patch
Type: text/x-patch
Size: 6604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230206/c48d5ff2/attachment.bin>
More information about the llvm-commits
mailing list