[all-commits] [llvm/llvm-project] 9afa5b: [RISCV] Add tests for (load (add X, [2048, 4094]))....

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jun 27 13:46:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9afa5b8da2282ffaf21288d4bf2fdf19ea182dbb
      https://github.com/llvm/llvm-project/commit/9afa5b8da2282ffaf21288d4bf2fdf19ea182dbb
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M llvm/test/CodeGen/RISCV/mem.ll
    M llvm/test/CodeGen/RISCV/mem64.ll

  Log Message:
  -----------
  [RISCV] Add tests for (load (add X, [2048,4094])). NFC

Offsets in the range [-4095,-2049] or [2048, 4094] are split into
two ADDIs. One of the ADDIs will be folded into the load/store
immediate through an post-isel peephole.


  Commit: 87077c7eb53c099b44d2bfb607cc66ecf23043ec
      https://github.com/llvm/llvm-project/commit/87077c7eb53c099b44d2bfb607cc66ecf23043ec
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

  Log Message:
  -----------
  [RISCV] Remove repeated calls to getSExtValue. NFC


Compare: https://github.com/llvm/llvm-project/compare/20dd3297b1c0...87077c7eb53c


More information about the All-commits mailing list