[llvm] [RISCV] Make amocas.q require Ziccamoc (PR #201536)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 07:58:52 PDT 2026
================
@@ -65,6 +65,7 @@ defm AMOCAS_D_RV32 : AMO_cas_aq_rl<0b00101, 0b011, "amocas.d", GPRPairRV32>;
let Predicates = [HasStdExtZacas, IsRV64] in {
defm AMOCAS_D_RV64 : AMO_cas_aq_rl<0b00101, 0b011, "amocas.d", GPR>;
+let append Predicates = [HasStdExtZiccamoc] in
----------------
wangpc-pp wrote:
Good point! Yes I think we can have amocas.q on other regions.
https://github.com/llvm/llvm-project/pull/201536
More information about the llvm-commits
mailing list