[all-commits] [llvm/llvm-project] 6d0e9c: [LoongArch][NFC] Add tests of multiplication with ...

Ben Shi via All-commits all-commits at lists.llvm.org
Sun Apr 2 07:13:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d0e9c269c83002107bbb8e31540cf0f519306f2
      https://github.com/llvm/llvm-project/commit/6d0e9c269c83002107bbb8e31540cf0f519306f2
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-02 (Sun, 02 Apr 2023)

  Changed paths:
    M llvm/test/CodeGen/LoongArch/ir-instruction/mul.ll

  Log Message:
  -----------
  [LoongArch][NFC] Add tests of multiplication with immediates

Reviewed By: xen0n, SixWeining

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


  Commit: 4f8c1957de5f1ecbb7e1327a36f57e60b285e80b
      https://github.com/llvm/llvm-project/commit/4f8c1957de5f1ecbb7e1327a36f57e60b285e80b
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-02 (Sun, 02 Apr 2023)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/CodeGen/LoongArch/ir-instruction/mul.ll

  Log Message:
  -----------
  [LoongArch] Optimize multiplication with immediates

Optimize multiplication with some specific immediates to
a pair of `alsl`.

Reviewed By: SixWeining, xen0n

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


Compare: https://github.com/llvm/llvm-project/compare/6aa74ae29ffc...4f8c1957de5f


More information about the All-commits mailing list