[PATCH] D122472: [PowerPC][Atomics] Fix lowering of llvm.ppc.cfence on i128 if `-ppc-quadword-atomics` is not specified

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 03:39:01 PDT 2022


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

The failure happens when frontend doesn't emit libcall for 16byte atomic load/store, and AtomicExpandPass emits `llvm.ppc.cfence` for ordering.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122472

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/atomics-i128-ldst.ll
  llvm/test/CodeGen/PowerPC/cfence-i128.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122472.418170.patch
Type: text/x-patch
Size: 11320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220325/c4383b78/attachment.bin>


More information about the llvm-commits mailing list