[PATCH] D91764: [AArch64] Add codegen for Armv8.3 Load-AcquirePC instructions
Alex James via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 18 21:57:31 PST 2020
al3xtjames created this revision.
al3xtjames added a reviewer: llvm-commits.
Herald added subscribers: danielkiss, jfb, hiraditya, kristof.beyls.
Herald added a project: LLVM.
al3xtjames requested review of this revision.
Armv8.3 introduced support for Load-AcquirePC instructions to support
the weaker Release Consistency processor consistent (RCpc) model, which
corresponds to the Acquire/Release semantics used in LLVM. In
constrast, the existing Load-Acquire instructions in Armv8 support the
Release Consistency sequentially consistent (RCsc) model, which
corresponds to the SequentiallyConsistent semantics used in LLVM.
Use the Load-AcquirePC instructions for atomic loads with acquire
semantics when supported.
Please let me know if there's a better way to make these changes to
AArch64InstrAtomics.td, I'm not too familiar with TableGen.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91764
Files:
llvm/lib/Target/AArch64/AArch64InstrAtomics.td
llvm/test/CodeGen/AArch64/atomics-rcpc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91764.306310.patch
Type: text/x-patch
Size: 4879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/8e9836bc/attachment.bin>
More information about the llvm-commits
mailing list