[all-commits] [llvm/llvm-project] a2d10b: [LoongArch] Add atomic ordering information for bi...

Gong LingQin via All-commits all-commits at lists.llvm.org
Mon Nov 28 04:08:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2d10bda187021110cd83c45bd27160cddb09032
      https://github.com/llvm/llvm-project/commit/a2d10bda187021110cd83c45bd27160cddb09032
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

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

  Log Message:
  -----------
  [LoongArch] Add atomic ordering information for binary atomic operations

This patch also implements not emit fence in atomic binary operation
when AtomicOrdering is monotonic and fixes the issue of loading from
non ptr parameters.

The processing of other levels of AtomicOrdering will be added later.

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




More information about the All-commits mailing list