[PATCH] D122377: [PowerPC][Linux] Support 16-byte lock free atomics on pwr8 and up
Jinsong Ji via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 24 08:45:10 PDT 2022
jsji added inline comments.
================
Comment at: clang/test/CodeGen/PowerPC/atomic-alignment.c:7
+// RUN: -emit-llvm -o - %s | FileCheck %s --check-prefixes=PPC,PPC64-PWR8
// RUN: %clang_cc1 -verify -triple powerpc64-unknown-aix -emit-llvm -o - %s | \
// RUN: FileCheck %s --check-prefixes=PPC,PPC64
----------------
How about AIX pwr8?
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:126
"ppc-quadword-atomics",
- cl::desc("enable quadword lock-free atomic operations"), cl::init(false),
+ cl::desc("enable quadword lock-free atomic operations"), cl::init(true),
cl::Hidden);
----------------
So we enable it by default , *EVEN* on AIX?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122377/new/
https://reviews.llvm.org/D122377
More information about the cfe-commits
mailing list