[all-commits] [llvm/llvm-project] b60f80: [LoongArch] Add codegen support for atomicrmw xchg...

Gong LingQin via All-commits all-commits at lists.llvm.org
Wed Sep 7 23:49:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b60f801607543f0c64dd99f9a5741ae9c69404ee
      https://github.com/llvm/llvm-project/commit/b60f801607543f0c64dd99f9a5741ae9c69404ee
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-09-08 (Thu, 08 Sep 2022)

  Changed paths:
    M llvm/include/llvm/IR/CMakeLists.txt
    M llvm/include/llvm/IR/Intrinsics.td
    A llvm/include/llvm/IR/IntrinsicsLoongArch.td
    M llvm/lib/Target/LoongArch/CMakeLists.txt
    M llvm/lib/Target/LoongArch/LoongArch.h
    A llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    A llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll

  Log Message:
  -----------
  [LoongArch] Add codegen support for atomicrmw xchg operation on LA64

In order to avoid the patch being too large, the atomicrmw xchg operation
on LA32 will be added later

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


  Commit: d5f7a2182d344d52b3ea4f5c053e8cf16b4d2937
      https://github.com/llvm/llvm-project/commit/d5f7a2182d344d52b3ea4f5c053e8cf16b4d2937
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-09-08 (Thu, 08 Sep 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsLoongArch.td
    M llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll

  Log Message:
  -----------
  [LoongArch] Add codegen support for atomicrmw xchg operation on LA32

Depends on D131228

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


Compare: https://github.com/llvm/llvm-project/compare/250cde6ea92d...d5f7a2182d34


More information about the All-commits mailing list