HomePhabricator

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

Authored by Esme on Nov 21 2020, 11:37 PM.

Description

[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