[all-commits] [llvm/llvm-project] 119ab2: [PowerPC] Extend folding RLWINM + RLWINM to post-RA.
Esme via All-commits
all-commits at lists.llvm.org
Mon Nov 2 23:44:58 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 119ab2181e6ed823849c93d55af8e989c28c9f3c
https://github.com/llvm/llvm-project/commit/119ab2181e6ed823849c93d55af8e989c28c9f3c
Author: Esme-Yi <esme.yi at ibm.com>
Date: 2020-11-03 (Tue, 03 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/sms-phi-5.ll
M llvm/test/CodeGen/PowerPC/vsx_builtins.ll
Log Message:
-----------
[PowerPC] Extend folding RLWINM + RLWINM to post-RA.
Summary: This patch depends on D89846. We have the patterns to fold 2 RLWINMs in ppc-mi-peephole, 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 after RA, too.
Reviewed By: shchenz, steven.zhang
Differential Revision: https://reviews.llvm.org/D89855
More information about the All-commits
mailing list