[all-commits] [llvm/llvm-project] efb383: [LoongArch] Fix atomic instructions operands sequence

Lu Weining via All-commits all-commits at lists.llvm.org
Fri Feb 18 17:52:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efb383266d04c70b8adf4ffb3f4872b36bc4653f
      https://github.com/llvm/llvm-project/commit/efb383266d04c70b8adf4ffb3f4872b36bc4653f
  Author: Weining Lu <luweining at loongson.cn>
  Date:   2022-02-19 (Sat, 19 Feb 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/CodeGen/LoongArch/3r.mir

  Log Message:
  -----------
  [LoongArch] Fix atomic instructions operands sequence

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.

Reviewed By: xen0n, MaskRay

Differential Revision: https://reviews.llvm.org/D120107




More information about the All-commits mailing list