[all-commits] [llvm/llvm-project] 20957d: [AIX] Add -msave-reg-params to save arguments to s...
Qiu Chaofan via All-commits
all-commits at lists.llvm.org
Wed Jul 24 05:58:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 20957d20913be92f9d88ea5ce862d898a386dad2
https://github.com/llvm/llvm-project/commit/20957d20913be92f9d88ea5ce862d898a386dad2
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
A clang/test/CodeGen/PowerPC/save-reg-params.c
A clang/test/Driver/aix-save-reg-params.c
M clang/test/Driver/ppc-unsupported.c
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
A llvm/test/CodeGen/PowerPC/save-reg-params.ll
Log Message:
-----------
[AIX] Add -msave-reg-params to save arguments to stack (#97524)
In PowerPC ABI, a few initial arguments are passed through registers,
but their places in parameter save area are reserved, arguments passed
by memory goes after the reserved location.
For debugging purpose, we may want to save copy of the pass-by-reg
arguments into correct places on stack. The new option achieves by
adding new function level attribute and make argument lowering part
aware of it.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list