[PATCH] D33076: [PPC] Move the combine "a << (b % (sizeof(a) * 8)) -> (PPCshl a, b)" to the backend. NFC.
Tim Shen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 10 17:05:18 PDT 2017
timshen updated this revision to Diff 98564.
timshen added a comment.
Add back the comment on scalar types to PPCISD::SHL/SRA/SRL. Verified the behavior by looking at Power ISA sld/srd/srad instructions.
https://reviews.llvm.org/D33076
Files:
llvm/include/llvm/Target/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/lib/Target/PowerPC/PPCInstrAltivec.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33076.98564.patch
Type: text/x-patch
Size: 10722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170511/155c5b77/attachment.bin>
More information about the llvm-commits
mailing list