[PATCH] D138481: [LoongArch] Add atomic ordering information for binary atomic operations
Xi Ruoyao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 01:41:51 PST 2022
xry111 added inline comments.
================
Comment at: llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll:685
; LA32-NEXT: dbar 0
-; LA32-NEXT: ll.w $a2, $a1, 0
-; LA32-NEXT: and $a3, $a2, $a0
-; LA32-NEXT: sc.w $a3, $a1, 0
+; LA32-NEXT: ll.w $a2, $a0, 0
+; LA32-NEXT: and $a3, $a2, $a1
----------------
I mean, why this is changed?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138481/new/
https://reviews.llvm.org/D138481
More information about the llvm-commits
mailing list