[PATCH] D120107: [LoongArch] Fix atomic instructions operands sequence

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 17 19:24:00 PST 2022


SixWeining created this revision.
SixWeining added reviewers: xen0n, rengolin, myhsu, MaskRay.
Herald added a subscriber: hiraditya.
SixWeining requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

According to https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#atomic-memory-access-instructions,
the operands sequence of am* instructions should be "rd, rk, rj"
but not "rd, rj, rk". Sorry for this typo in initial patches.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120107

Files:
  llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
  llvm/test/CodeGen/LoongArch/3r.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120107.409842.patch
Type: text/x-patch
Size: 11093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220218/93afde98/attachment.bin>


More information about the llvm-commits mailing list