[PATCH] D127554: [PowerPC] Allow llvm.ppc.cfence to accept pointer types

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 10 20:50:26 PDT 2022


lkail created this revision.
lkail added reviewers: PowerPC, nemanjai, shchenz, vchuravy.
Herald added a project: All.
lkail requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127554

Files:
  llvm/include/llvm/IR/IntrinsicsPowerPC.td
  llvm/test/CodeGen/PowerPC/issue55983.ll
  llvm/test/Transforms/AtomicExpand/PowerPC/issue55983.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127554.436094.patch
Type: text/x-patch
Size: 3725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220611/cb3e30b0/attachment.bin>


More information about the llvm-commits mailing list