[llvm] [LoongArch] Record the special AMO operand constraint with TableGen (PR #114398)
WÁNG Xuěruì via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 31 23:34:31 PDT 2024
================
@@ -713,7 +713,9 @@ class STORE_2RI14<bits<32> op>
let hasSideEffects = 0, mayLoad = 1, mayStore = 1, Constraints = "@earlyclobber $rd" in
class AM_3R<bits<32> op>
: Fmt3R<op, (outs GPR:$rd), (ins GPR:$rk, GPRMemAtomic:$rj),
----------------
xen0n wrote:
> AM_3R is incompatible with amcas, Unlike other am** instructions, amcas rd rk rj , rd should be read, pervious version consider rd write only.
Thanks for the suggestion, I have posted #114508 to precede this PR.
https://github.com/llvm/llvm-project/pull/114398
More information about the llvm-commits
mailing list