[PATCH] D129838: [LoongArch] Optimize the atomic store with amswap_db.[w/d]
Gong LingQin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 18:10:44 PDT 2022
gonglingqin added inline comments.
================
Comment at: llvm/test/CodeGen/LoongArch/ir-instruction/load-store-atomic.ll:307
+; LA32: # %bb.0:
+; LA32-NEXT: amswap_db.w $zero, $a1, $a0
+; LA32-NEXT: jirl $zero, $ra, 0
----------------
xry111 wrote:
> The manual says LA32 may lack `amswap_db.w` (its not in Table 2-1, page 12 in the Chinese version). If it's not a documentation error we need to keep the old behavior for LA32.
Thanks, I will change that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129838/new/
https://reviews.llvm.org/D129838
More information about the llvm-commits
mailing list