[PATCH] D127189: [clang][AIX] Add option to control quadword lock free atomics ABI on AIX
Amy Kwan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 28 20:12:47 PDT 2022
amyk added a comment.
This patch makes sense. I had some questions regarding it.
================
Comment at: clang/include/clang/Driver/Options.td:3611
HelpText<"Enable the default Altivec ABI on AIX (AIX only). Uses only volatile vector registers.">;
+def maix_quadword_atomics : Flag<["-"], "maix64-quadword-atomics">,
+ Group<m_Group>, Flags<[CC1Option]>,
----------------
Would it be better if we called this `maix64-quadword-atomics` instead?
================
Comment at: clang/test/Driver/ppc-unsupported.c:12
+// RUN: -c %s 2>&1 | FileCheck %s
+// RUN: not %clang -target powerpc64le-unknown-linux -maix64-quadword-atomics \
+// RUN: -c %s 2>&1 | FileCheck %s
----------------
Should we have a big endian Linux check, too?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127189/new/
https://reviews.llvm.org/D127189
More information about the cfe-commits
mailing list