[all-commits] [llvm/llvm-project] 956482: [LoongArch] Support finer-grained DBAR hints for L...

WÁNG Xuěruì via All-commits all-commits at lists.llvm.org
Thu Oct 12 00:06:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 956482de13107b640cffedd08610fcccd98f708f
      https://github.com/llvm/llvm-project/commit/956482de13107b640cffedd08610fcccd98f708f
  Author: WANG Xuerui <git at xen0n.name>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    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/atomicrmw-uinc-udec-wrap.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomic-cmpxchg.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/fence-singlethread.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/fence.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/load-store-atomic.ll

  Log Message:
  -----------
  [LoongArch] Support finer-grained DBAR hints for LA664+ (#68787)

These are treated as DBAR 0 on older uarchs, so we can start to
unconditionally emit the new hints right away.

Co-authored-by: WANG Rui <wangrui at loongson.cn>




More information about the All-commits mailing list