[all-commits] [llvm/llvm-project] 29f6f9: [PowerPC] combine rlwinm+rlwinm to rlwinm

chen zheng via All-commits all-commits at lists.llvm.org
Thu Nov 21 21:03:29 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 29f6f9b2b2bfecccf903738e2f5a0cd0a70fce31
      https://github.com/llvm/llvm-project/commit/29f6f9b2b2bfecccf903738e2f5a0cd0a70fce31
  Author: czhengsz <czhengsz at cn.ibm.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    M llvm/test/CodeGen/PowerPC/fold-rlwinm-1.ll
    A llvm/test/CodeGen/PowerPC/fold-rlwinm.mir

  Log Message:
  -----------
  [PowerPC] combine rlwinm+rlwinm to rlwinm
combine
x3 = rlwinm x3, 27, 5, 31
x3 = rlwinm x3, 19, 0, 12

to
x3 = rlwinm x3, 14, 0, 12

Reviewed by: steven.zhang

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




More information about the All-commits mailing list