[all-commits] [llvm/llvm-project] e2ee27: [PowerPC] Fallback to base's implementation of sho...

bzEq via All-commits all-commits at lists.llvm.org
Mon Jul 19 23:14:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2ee27b20b46b654decb575afc5ae8317a05ec3f
      https://github.com/llvm/llvm-project/commit/e2ee27b20b46b654decb575afc5ae8317a05ec3f
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/atomic-float.ll
    A llvm/test/Transforms/AtomicExpand/PowerPC/atomicrmw-fp.ll

  Log Message:
  -----------
  [PowerPC] Fallback to base's implementation of shouldExpandAtomicCmpXchgInIR and shouldExpandAtomicCmpXchgInIR

If we can't decide `shouldExpandAtomicCmpXchgInIR` or `shouldExpandAtomicCmpXchgInIR` in PPC's implementation after https://reviews.llvm.org/rGb9c3941cd61de1e1b9e4f3311ddfa92394475f4b, resort to base's implementation.

This fixes internal build of OpenMP which uses atomic operations on float.

Reviewed By: jsji

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




More information about the All-commits mailing list