[all-commits] [llvm/llvm-project] 2a0177: [LoongArch][NFC] Add tests for memory barrier opti...

hev via All-commits all-commits at lists.llvm.org
Thu Sep 10 20:50:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a0177189f4be62eb51ddca3fd4b8836c538dc12
      https://github.com/llvm/llvm-project/commit/2a0177189f4be62eb51ddca3fd4b8836c538dc12
  Author: hev <wangrui at loongson.cn>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    A llvm/test/CodeGen/LoongArch/memory-barrier-opt.ll

  Log Message:
  -----------
  [LoongArch][NFC] Add tests for memory barrier optimization (#218596)


  Commit: c9a1fc8d1deee527a3ff43592ed4e0e5b81d7fca
      https://github.com/llvm/llvm-project/commit/c9a1fc8d1deee527a3ff43592ed4e0e5b81d7fca
  Author: hev <wangrui at loongson.cn>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M llvm/lib/Target/LoongArch/CMakeLists.txt
    M llvm/lib/Target/LoongArch/LoongArch.h
    A llvm/lib/Target/LoongArch/LoongArchMemoryBarrierOpt.cpp
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    M llvm/test/CodeGen/LoongArch/memory-barrier-opt.ll
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
    M llvm/utils/gn/secondary/llvm/lib/Target/LoongArch/BUILD.gn

  Log Message:
  -----------
  [LoongArch] Add memory barrier optimization pass (#218597)

Add a machine-level pass to remove redundant DBARs and merge them with
atomic memory operations. The pass uses machine dominator and
post-dominator trees to ensure the transformation is safe across basic
blocks.


Compare: https://github.com/llvm/llvm-project/compare/be09c15fa047...c9a1fc8d1dee

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list