[all-commits] [llvm/llvm-project] 56e33d: [CSKY][test][NFC] Add more tests of multiplication...

Ben Shi via All-commits all-commits at lists.llvm.org
Tue Jun 20 01:04:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56e33d98814586ac6ca5a24b2978b489d1b67ccb
      https://github.com/llvm/llvm-project/commit/56e33d98814586ac6ca5a24b2978b489d1b67ccb
  Author: Ben Shi <2283975856 at qq.com>
  Date:   2023-06-20 (Tue, 20 Jun 2023)

  Changed paths:
    M llvm/lib/Target/CSKY/CSKY.td
    M llvm/lib/Target/CSKY/CSKYISelLowering.cpp
    A llvm/test/CodeGen/CSKY/mul-imm.ll

  Log Message:
  -----------
  [CSKY][test][NFC] Add more tests of multiplication with immediates

Reviewed By: zixuan-wu

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


  Commit: 6d05f3f56e22ab9420c71062e2a0c8923aa2a2d7
      https://github.com/llvm/llvm-project/commit/6d05f3f56e22ab9420c71062e2a0c8923aa2a2d7
  Author: Ben Shi <2283975856 at qq.com>
  Date:   2023-06-20 (Tue, 20 Jun 2023)

  Changed paths:
    M llvm/lib/Target/CSKY/CSKYISelLowering.cpp
    M llvm/lib/Target/CSKY/CSKYISelLowering.h
    M llvm/lib/Target/CSKY/CSKYSubtarget.h
    M llvm/test/CodeGen/CSKY/base-i.ll
    M llvm/test/CodeGen/CSKY/mul-imm.ll

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

Try to break a multiplication with a specific immediate to
an/a addition/subtraction of left shifts.

Reviewed By: zixuan-wu

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


Compare: https://github.com/llvm/llvm-project/compare/99610fa77df4...6d05f3f56e22


More information about the All-commits mailing list