[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 12 22:51:33 PST 2017


timshen updated this revision to Diff 84227.
timshen marked an inline comment as done.
timshen added a comment.

Move the legalization check to the caller sides.


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.84227.patch
Type: text/x-patch
Size: 8364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170113/fa8bc6f8/attachment.bin>


More information about the llvm-commits mailing list