[PATCH] D71885: [PowerPC] replace rlwinm operand 1 with src rlwinm operand 1

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 19:27:22 PST 2019


shchenz created this revision.
shchenz added reviewers: steven.zhang, jsji, nemanjai, PowerPC.
Herald added subscribers: llvm-commits, wuzish, kbarton, hiraditya.
Herald added a project: LLVM.

This is split from https://reviews.llvm.org/D71833.

After folding rlwinm, forget to replace result rlwinm operand 1 with src rlwinm operand 1.

By doing this, we can eliminate more src rlwinm.


https://reviews.llvm.org/D71885

Files:
  llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
  llvm/test/CodeGen/PowerPC/fold-rlwinm.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71885.235315.patch
Type: text/x-patch
Size: 4560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191226/6a406876/attachment.bin>


More information about the llvm-commits mailing list