[all-commits] [llvm/llvm-project] 811759: [AVR] Disable post increment load from program mem...

Ben Shi via All-commits all-commits at lists.llvm.org
Tue Apr 11 21:00:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 811759b1009b70051e5314a9274afe3d788b99ed
      https://github.com/llvm/llvm-project/commit/811759b1009b70051e5314a9274afe3d788b99ed
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AVR/AVRISelLowering.cpp
    M llvm/test/CodeGen/AVR/load.ll

  Log Message:
  -----------
  [AVR] Disable post increment load from program memory space

We temporarily only allow post increment load/store from/to data memory,
and disable post increment load from program space.

Updates https://github.com/llvm/llvm-project/issues/59914

Reviewed By: mzh

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


  Commit: 91212e028390a72685bcd66b95cae33ad818c814
      https://github.com/llvm/llvm-project/commit/91212e028390a72685bcd66b95cae33ad818c814
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-12 (Wed, 12 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: SixWeining

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


  Commit: 89e53b2aed0928354b42515fba1f2f585137184b
      https://github.com/llvm/llvm-project/commit/89e53b2aed0928354b42515fba1f2f585137184b
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

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

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

Optimize (mul x, imm) to (ADD (SLLI x, s0), (SLLI x, s1)) or
(SUB (SLLI x, s0), (SLLI x, s1)) if possible.

Reviewed By: SixWeining

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


Compare: https://github.com/llvm/llvm-project/compare/9d4df97ff0ef...89e53b2aed09


More information about the All-commits mailing list