[all-commits] [llvm/llvm-project] 6710b2: [PowerPC] Allow llvm.ppc.cfence to accept pointer ...

bzEq via All-commits all-commits at lists.llvm.org
Thu Jun 23 19:55:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6710b21d46987257b9b97105c9128c63eec2fb57
      https://github.com/llvm/llvm-project/commit/6710b21d46987257b9b97105c9128c63eec2fb57
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsPowerPC.td
    M llvm/test/CodeGen/PowerPC/cfence-double.ll
    M llvm/test/CodeGen/PowerPC/cfence-float.ll
    A llvm/test/CodeGen/PowerPC/issue55983.ll
    M llvm/test/Transforms/AtomicExpand/PowerPC/cfence-double.ll
    M llvm/test/Transforms/AtomicExpand/PowerPC/cfence-float.ll
    A llvm/test/Transforms/AtomicExpand/PowerPC/issue55983.ll

  Log Message:
  -----------
  [PowerPC] Allow llvm.ppc.cfence to accept pointer types

In the context of atomic load, integer, pointer and float point types are allowed, thus we should allow llvm.ppc.cfence to accept any type mentioned.

Fixes https://github.com/llvm/llvm-project/issues/55983.

Reviewed By: shchenz, vchuravy

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




More information about the All-commits mailing list