[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
Wed Jan 4 14:57:12 PST 2017


timshen created this revision.
timshen added reviewers: bogner, kbarton, hfinkel, iteratee.
timshen added a subscriber: llvm-commits.
Herald added a subscriber: nemanjai.

This is the corresponding llvm change to https://reviews.llvm.org/D28037 to ensure no performance
regression.


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.83149.patch
Type: text/x-patch
Size: 10926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170104/24c4a5e1/attachment.bin>


More information about the llvm-commits mailing list