[all-commits] [llvm/llvm-project] 868f23: [LoongArch] Override hooks to enable sink-and-fold...

ZhaoQi via All-commits all-commits at lists.llvm.org
Wed Nov 5 22:03:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 868f23f8cc1aec26c40f070d85f70ed3cb6b72cb
      https://github.com/llvm/llvm-project/commit/868f23f8cc1aec26c40f070d85f70ed3cb6b72cb
  Author: ZhaoQi <zhaoqi01 at loongson.cn>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    M llvm/test/CodeGen/LoongArch/ldptr.ll
    M llvm/test/CodeGen/LoongArch/sink-fold-addi.ll
    M llvm/test/CodeGen/LoongArch/stptr.ll

  Log Message:
  -----------
  [LoongArch] Override hooks to enable sink-and-fold support in MachineSink (#163721)

Add option `loongarch-enable-sink-fold` to enable sink-fold and set
`true` as default. This pass can fold `addi+load/store` to a single
`load/store` with offset.



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