[all-commits] [llvm/llvm-project] b8e708: [RISCV] Merge ADDI with X0 into base offset (#78940)

Jim Lin via All-commits all-commits at lists.llvm.org
Mon Jan 22 17:57:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8e708b9d39862c2b7595c02e7bdc4878a2d7186
      https://github.com/llvm/llvm-project/commit/b8e708b9d39862c2b7595c02e7bdc4878a2d7186
  Author: Jim Lin <jim at andestech.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
    M llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll

  Log Message:
  -----------
  [RISCV] Merge ADDI with X0 into base offset (#78940)

If offset is `addi rd, x0, imm`, merge imm into base offset.




More information about the All-commits mailing list