[all-commits] [llvm/llvm-project] f0ba1a: [PowerPC] folding rlwinm + rlwinm to rlwinm
chen zheng via All-commits
all-commits at lists.llvm.org
Tue Dec 3 18:51:28 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f0ba1aec35d599353b6c5eca8286791b1c410b7c
https://github.com/llvm/llvm-project/commit/f0ba1aec35d599353b6c5eca8286791b1c410b7c
Author: czhengsz <czhengsz at cn.ibm.com>
Date: 2019-12-03 (Tue, 03 Dec 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] 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
More information about the All-commits
mailing list