[PATCH] D128901: [LoongArch] Add codegen support for atomic fence, atomic load and atomic store

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 00:00:45 PDT 2022


xen0n accepted this revision.
xen0n added a comment.
This revision is now accepted and ready to land.

I agree with @xry111 that the optimization to use `amswap_db.d $zero, x, y` for atomic stores can be done in a later patch. For now this LGTM but I'd like someone else to take a look too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128901/new/

https://reviews.llvm.org/D128901



More information about the llvm-commits mailing list