HomePhabricator

[PowerPC] folding rlwinm + rlwinm to rlwinm

Authored by shchenz on Dec 3 2019, 6:48 PM.

Description

[PowerPC] folding rlwinm + rlwinm to rlwinm

For example:
  x3 = rlwinm x3, 27, 5, 31
  x3 = rlwinm x3, 19, 0, 12
can be combined to
  x3 = rlwinm x3, 14, 0, 12

Reviewed by: steven.zhang, lkail

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

Details

Committed
shchenzDec 3 2019, 6:51 PM
Reviewer
steven.zhang
Differential Revision
D70374: [PowerPC] combine rlwinm + rlwinm to rlwinm
Parents
rG9c3f9b9c12b0: [Clang] Define Fuchsia C++ABI
Branches
Unknown
Tags
Unknown