[CodeGen][AArch64] Enable LDAPR under +RCPC
authorAlexander Shaposhnikov <ashaposhnikov@google.com>
Wed, 9 Nov 2022 21:36:18 +0000 (21:36 +0000)
committerAlexander Shaposhnikov <ashaposhnikov@google.com>
Wed, 9 Nov 2022 21:46:54 +0000 (21:46 +0000)
commit72f89556413f9c1fb1fb9138d6d53e13499ce545
tree80a51cf1fa5a1c4505e7c3603af1841d34dfdd42
parentb7c0a4065e328846d55b13d6e677b679d31cfb57
[CodeGen][AArch64] Enable LDAPR under +RCPC

This is a follow-up to D126250 and enables LDAPR
if the RCPC extensions are enabled.

Test plan: ninja check-all

Differential revision: https://reviews.llvm.org/D137590
llvm/lib/Target/AArch64/AArch64.td
llvm/lib/Target/AArch64/AArch64InstrAtomics.td
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll
llvm/test/CodeGen/AArch64/atomic-ops-ldapr.ll