[all-commits] [llvm/llvm-project] 28b1ba: [PowerPC] Add an ISEL pattern for i32 MULLI.

Esme via All-commits all-commits at lists.llvm.org
Mon Jul 18 01:41:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28b1ba1c0742a521037df7ef3a45cc969863eb06
      https://github.com/llvm/llvm-project/commit/28b1ba1c0742a521037df7ef3a45cc969863eb06
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2022-07-18 (Mon, 18 Jul 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/test/CodeGen/PowerPC/mulli.ll

  Log Message:
  -----------
  [PowerPC] Add an ISEL pattern for i32 MULLI.

We add the following ISEL pattern for i64 imm in D87384, this patch is for i32.
`mul with (2^N * int16_imm) -> MULLI + RLWINM`

Reviewed By: shchenz

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




More information about the All-commits mailing list