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

Ben Shi via All-commits all-commits at lists.llvm.org
Sat Apr 1 03:12:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 918209bf856eaddc547bb05614e29922cba229ab
      https://github.com/llvm/llvm-project/commit/918209bf856eaddc547bb05614e29922cba229ab
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

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

  Log Message:
  -----------
  [LoongArch][NFC] Add tests of multiplication with immediates (for D147305)

Reviewed By: SixWeining

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


  Commit: 734c213004305bfca04b5906a3c591735f43a020
      https://github.com/llvm/llvm-project/commit/734c213004305bfca04b5906a3c591735f43a020
  Author: Ben Shi <ben.shi at streamcomputing.com>
  Date:   2023-04-01 (Sat, 01 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: xen0n, SixWeining

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


Compare: https://github.com/llvm/llvm-project/compare/b0b5c546e5c9...734c21300430


More information about the All-commits mailing list