[PATCH] D69168: [PowerPC] Fold redundant load immediates of zero and delete if possible
Kamau Bridgeman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 11:50:39 PST 2019
kamaub updated this revision to Diff 229149.
kamaub marked 7 inline comments as done.
kamaub added a comment.
- Changing some condition and fixing test cases.
This change edits some conditions to be more robust in their logic.
Of note is the change to clean up load immediates even if they weren't
folded, a side-effect of this is that one test case needs to fixed up.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69168/new/
https://reviews.llvm.org/D69168
Files:
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.h
llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
llvm/test/CodeGen/PowerPC/fold-remove-li.ll
llvm/test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69168.229149.patch
Type: text/x-patch
Size: 7417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191113/73cfc5f1/attachment.bin>
More information about the llvm-commits
mailing list