[all-commits] [llvm/llvm-project] 30b52a: [CSKY] Optimize conditional branch and value selec...

Ben Shi via All-commits all-commits at lists.llvm.org
Mon Aug 7 23:14:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30b52a35741a0edaacc5c0251e9199c8ad3bdfd7
      https://github.com/llvm/llvm-project/commit/30b52a35741a0edaacc5c0251e9199c8ad3bdfd7
  Author: Ben Shi <2283975856 at qq.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M llvm/lib/Target/CSKY/CSKYInstrInfo.td
    M llvm/test/CodeGen/CSKY/br.ll
    M llvm/test/CodeGen/CSKY/cmp-i.ll
    M llvm/test/CodeGen/CSKY/select.ll

  Log Message:
  -----------
  [CSKY] Optimize conditional branch and value select with BTSTI

Reviewed By: zixuan-wu

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


  Commit: 731bab50becb6afe02f6e49e3e8b268fda8c3e80
      https://github.com/llvm/llvm-project/commit/731bab50becb6afe02f6e49e3e8b268fda8c3e80
  Author: Ben Shi <2283975856 at qq.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M llvm/test/CodeGen/CSKY/mul-imm.ll

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

These tests will be optimized with IXH32/IXW32/IXD32
in the future.

Reviewed By: zixuan-wu

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


  Commit: 57c6fe273f237cca8c045a8c02266117c4ff72fb
      https://github.com/llvm/llvm-project/commit/57c6fe273f237cca8c045a8c02266117c4ff72fb
  Author: Ben Shi <2283975856 at qq.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

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

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

Optimize "Rx * imm" for specific immediates to
([IXH32|IXW32|IXD32] (LSLI Rx, shift), Rx).

Reviewed By: zixuan-wu

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


Compare: https://github.com/llvm/llvm-project/compare/8184737ce70f...57c6fe273f23


More information about the All-commits mailing list