diff options
author | Min-Yih Hsu <minyihh@uci.edu> | 2023-05-02 10:56:41 -0700 |
---|---|---|
committer | Min-Yih Hsu <minyihh@uci.edu> | 2023-10-15 16:12:31 -0700 |
commit | fd84b1a99dfe37d4212be8afba2a93209679bc7f (patch) | |
tree | add5db1736b2cd839668778a3faee1f6dbcd814b /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 7f881a2abe2c3eceeae0272fc41ba0a237770450 (diff) | |
download | llvm-fd84b1a99dfe37d4212be8afba2a93209679bc7f.zip llvm-fd84b1a99dfe37d4212be8afba2a93209679bc7f.tar.gz llvm-fd84b1a99dfe37d4212be8afba2a93209679bc7f.tar.bz2 |
[M68k] Add new calling convention M68k_RTD
`M68k_RTD` is really similar to X86's stdcall, in which callee pops the
arguments from stack. In LLVM IR it can be written as `m68k_rtdcc`.
This patch also improves how ExpandPseudo Pass handles popping stack at
function returns in the absent of the RTD instruction.
Differential Revision: https://reviews.llvm.org/D149864
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions