[all-commits] [llvm/llvm-project] 1c0941: [PowerPC] Extend folding RLWINM + RLWINM to post-RA.

github-actions[bot] via All-commits all-commits at lists.llvm.org
Sat Nov 21 23:42:28 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c0941e1524f499e3fbde48fc3bdd0e70fc8f2e4
      https://github.com/llvm/llvm-project/commit/1c0941e1524f499e3fbde48fc3bdd0e70fc8f2e4
  Author: Esme-Yi <esme.yi at ibm.com>
  Date:   2020-11-22 (Sun, 22 Nov 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.h
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    M llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
    A llvm/test/CodeGen/PowerPC/fold-rlwinm-after-ra.mir
    M llvm/test/CodeGen/PowerPC/vsx_builtins.ll

  Log Message:
  -----------
  [PowerPC] Extend folding RLWINM + RLWINM to post-RA.

Summary: We have the patterns to fold 2 RLWINMs before RA, while some RLWINM will be generated after RA, for example rGc4690b007743. If the RLWINM generated after RA followed by another RLWINM, we expect to perform the optimization too.

Reviewed By: shchenz

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




More information about the All-commits mailing list