We add the following ISEL pattern for i64 imm in D87384, this patch is for i32.
mul with (2^N * int16_imm) -> MULLI + RLWINM
Paths 
  |  Differential  D129708  
[PowerPC] Add an ISEL pattern for i32 MULLI. ClosedPublic Authored by Esme on Jul 13 2022, 5:29 PM. 
Details 
 Summary We add the following ISEL pattern for i64 imm in D87384, this patch is for i32. mul with (2^N * int16_imm) -> MULLI + RLWINM 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jul 17 2022, 8:57 PM This revision was landed with ongoing or failed builds.Jul 18 2022, 1:41 AM Closed by commit rG28b1ba1c0742: [PowerPC] Add an ISEL pattern for i32 MULLI. (authored by Esme).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 445419 llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 
 llvm/test/CodeGen/PowerPC/mulli.ll
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Like this refactor.