[all-commits] [llvm/llvm-project] 549e11: [PowerPC] Support 16-byte lock free atomics on pwr...

bzEq via All-commits all-commits at lists.llvm.org
Fri Apr 8 16:26:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 549e118e93c666914a1045fde38a2cac33e1e445
      https://github.com/llvm/llvm-project/commit/549e118e93c666914a1045fde38a2cac33e1e445
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/Basic/Targets/PPC.h
    M clang/test/CodeGen/PowerPC/atomic-alignment.c
    A clang/test/CodeGen/PowerPC/quadword-atomics.c
    M clang/test/Sema/atomic-ops.c
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    M llvm/test/CodeGen/PowerPC/atomics-i128.ll

  Log Message:
  -----------
  [PowerPC] Support 16-byte lock free atomics on pwr8 and up

Make 16-byte atomic type aligned to 16-byte on PPC64, thus consistent with GCC. Also enable inlining 16-byte atomics on non-AIX targets on PPC64.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D122377




More information about the All-commits mailing list