[all-commits] [llvm/llvm-project] 39256e: [RISCV][test] Add more tests of immediate material...

Ben Shi via All-commits all-commits at lists.llvm.org
Mon Nov 15 15:34:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39256ed58ce96daac0e4153af7b73122505c1626
      https://github.com/llvm/llvm-project/commit/39256ed58ce96daac0e4153af7b73122505c1626
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M llvm/test/CodeGen/RISCV/imm.ll
    M llvm/test/MC/RISCV/rv64zba-aliases-valid.s

  Log Message:
  -----------
  [RISCV][test] Add more tests of immediate materialisation

Reviewed By: craig.topper, luismarques

Differential Revision: https://reviews.llvm.org/D113567


  Commit: 4c3d916c4bd2a392101c74dd270bd1e6a4fec15b
      https://github.com/llvm/llvm-project/commit/4c3d916c4bd2a392101c74dd270bd1e6a4fec15b
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
    M llvm/test/CodeGen/RISCV/imm.ll
    M llvm/test/MC/RISCV/rv64zba-aliases-valid.s

  Log Message:
  -----------
  [RISCV] Optimize immediate materialisation with SH*ADD

Use LUI+SH*ADD+ADDI to compose specific immediates.

Reviewed By: craig.topper, luismarques

Differential Revision: https://reviews.llvm.org/D113568


Compare: https://github.com/llvm/llvm-project/compare/f66e5769d41b...4c3d916c4bd2


More information about the All-commits mailing list