[clang] [clang][PowerPC] Add flag to enable compatibility with GNU for complex arguments (PR #77732)
Nemanja Ivanovic via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 11:36:59 PST 2024
================
@@ -2540,6 +2540,10 @@ def ffp_contract : Joined<["-"], "ffp-contract=">, Group<f_Group>,
HelpText<"Form fused FP ops (e.g. FMAs)">,
Values<"fast,on,off,fast-honor-pragmas">;
+def fcomplex_ppc_gnu_abi : Flag<["-"], "fcomplex-ppc-gnu-abi">, Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
+ DocBrief<"Follow the GNU ABI, store Complex values in GPR instead of stack for PowerPC-32">,
----------------
nemanjai wrote:
Please use "Pass" instead of "Store" as the latter generally refers to storing values in memory and this actually affects parameter passing.
https://github.com/llvm/llvm-project/pull/77732
More information about the cfe-commits
mailing list