[all-commits] [llvm/llvm-project] bcf365: [RISCV] Lower i64 load/stores to ld/sd with Zilsd....

Craig Topper via All-commits all-commits at lists.llvm.org
Wed May 14 09:54:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcf36548476191c74e88281e00a36a67eab7a278
      https://github.com/llvm/llvm-project/commit/bcf36548476191c74e88281e00a36a67eab7a278
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoZilsd.td
    A llvm/test/CodeGen/RISCV/zilsd.ll

  Log Message:
  -----------
  [RISCV] Lower i64 load/stores to ld/sd with Zilsd. (#139808)

Don't split i64 load/store when we have Zilsd.

In the future, we should enhanced the LoadStoreOptimizer pass to do
this, but this is a good starting point. Even if we support it in
LoadStoreOptimizer, we might still want this for volatile loads/stores
to guarantee the use of Zilsd.



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