[all-commits] [llvm/llvm-project] 555e23: [LoongArch] Add test cases for atomicrmw xchg {0, -...

hev via All-commits all-commits at lists.llvm.org
Mon Sep 25 20:46:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 555e2397aac0a2c2cc510cc47d250d4534c1f62b
      https://github.com/llvm/llvm-project/commit/555e2397aac0a2c2cc510cc47d250d4534c1f62b
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll

  Log Message:
  -----------
  [LoongArch] Add test cases for atomicrmw xchg {0,-1} {i8,i16}

Add test cases for atomicrmw xchg {0,-1} {i8,i16}.

Reviewed By: SixWeining

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


  Commit: 6417ce4336ea2b239c9f7047169cda0b5f92c92b
      https://github.com/llvm/llvm-project/commit/6417ce4336ea2b239c9f7047169cda0b5f92c92b
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll

  Log Message:
  -----------
  [LoongArch] Improve codegen for i8/i16 'atomicrmw xchg a, {0,-1}'

Similar to D156801 for RISCV.

Link: https://github.com/rust-lang/rust/pull/114034
Link: https://github.com/llvm/llvm-project/issues/64090

Reviewed By: SixWeining, xen0n

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


Compare: https://github.com/llvm/llvm-project/compare/77147a95b818...6417ce4336ea


More information about the All-commits mailing list