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

Ben Shi via All-commits all-commits at lists.llvm.org
Tue Oct 26 19:53:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b97a14427917ab841cdb0edf2ada470d77265aa3
      https://github.com/llvm/llvm-project/commit/b97a14427917ab841cdb0edf2ada470d77265aa3
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-10-27 (Wed, 27 Oct 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, MaskRay

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


  Commit: 97e52e1c3588cbbd91e4020ca1498b3ae7309289
      https://github.com/llvm/llvm-project/commit/97e52e1c3588cbbd91e4020ca1498b3ae7309289
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-10-27 (Wed, 27 Oct 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 SLLI.UW in the Zba extension

Simplify "LUI+SLLI+ADDI+SLLI" and "LUI+ADDIW+SLLI+ADDI+SLLI" to
"LUI+ADDIW+SLLIUW" to reduce total instruction amount.

Reviewed By: craig.topper

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


Compare: https://github.com/llvm/llvm-project/compare/015192c63415...97e52e1c3588


More information about the All-commits mailing list