[llvm] [RISCV][ISEL] Lowering to load-acquire/store-release for RISCV Zalasr (PR #82914)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 25 21:55:07 PST 2024
================
@@ -105,22 +105,66 @@ defm AMOMAXU_D : AMO_rr_aq_rl<0b11100, 0b011, "amomaxu.d">,
// Pseudo-instructions and codegen patterns
//===----------------------------------------------------------------------===//
+// An atomic load operation that does not need either acquire or release
+// semantics.
+class relaxed_load<PatFrags base>
+ : PatFrag<(ops node:$ptr), (base node:$ptr)> {
----------------
topperc wrote:
I think we have a preference 4 spaces before ':', but we're not consistent about it.
https://github.com/llvm/llvm-project/pull/82914
More information about the llvm-commits
mailing list