[PATCH] D28329: [PowerPC, DAGCombiner] Fold a << (b % (sizeof(a) * 8)) back to a single instruction
Tim Shen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 00:00:53 PST 2017
timshen updated this revision to Diff 83197.
timshen added a comment.
Herald added a subscriber: mehdi_amini.
Don't mis-optimize non-vector cases.
https://reviews.llvm.org/D28329
Files:
llvm/include/llvm/Target/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/test/CodeGen/PowerPC/shift_mask.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28329.83197.patch
Type: text/x-patch
Size: 8264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170105/b5f7e962/attachment.bin>
More information about the llvm-commits
mailing list