Skip to content

Commit d07502b

Browse files
committed
fix comment for missing dbar acquire
1 parent 18d051b commit d07502b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ bool LoongArchExpandAtomicPseudo::expandAtomicCmpXchg128(
648648

649649
// .loophead:
650650
// ll.d res_lo, (addr)
651+
// dbar acquire
651652
// ld.d res_hi, (addr), 8
652653
// bne dest_lo, cmpval_lo, tail
653654
// bne dest_hi, cmpval_hi, tail

0 commit comments

Comments
 (0)