[PATCH] D31852: [PowerPC] Convert reg/reg instructions fed by constants to reg/imm instructions (pre and post RA)
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 24 07:27:43 PST 2017
nemanjai updated this revision to Diff 124209.
nemanjai added a comment.
Fix handling for R0/X0 where it's special.
Add test cases for the special handling there.
Turn the peepholes on by default.
Fix test cases that change due to having this on by default.
Repository:
rL LLVM
https://reviews.llvm.org/D31852
Files:
lib/Target/PowerPC/CMakeLists.txt
lib/Target/PowerPC/PPC.h
lib/Target/PowerPC/PPCInstrInfo.cpp
lib/Target/PowerPC/PPCInstrInfo.h
lib/Target/PowerPC/PPCMIPeephole.cpp
lib/Target/PowerPC/PPCPreEmitPeephole.cpp
lib/Target/PowerPC/PPCTargetMachine.cpp
test/CodeGen/PowerPC/build-vector-tests.ll
test/CodeGen/PowerPC/convert-rr-to-ri-instrs-R0-special-handling.mir
test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
test/CodeGen/PowerPC/fast-isel-call.ll
test/CodeGen/PowerPC/simplifyConstCmpToISEL.ll
test/CodeGen/PowerPC/unaligned.ll
test/CodeGen/PowerPC/variable_elem_vec_extracts.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31852.124209.patch
Type: text/x-patch
Size: 258718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171124/510d460d/attachment-0001.bin>
More information about the llvm-commits
mailing list