[PATCH] D22238: Reapply "InstCombine: Reduce trunc (shl x, K) width."

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 13:26:42 PDT 2016


arsenm created this revision.
arsenm added a reviewer: majnemer.
arsenm added a subscriber: llvm-commits.

This reapplies r272987 with a fix for infinitely looping
when the truncated value is another shift of a constant.

http://reviews.llvm.org/D22238

Files:
  lib/Transforms/InstCombine/InstCombineCasts.cpp
  test/Transforms/InstCombine/2011-05-28-swapmulsub.ll
  test/Transforms/InstCombine/cast.ll
  test/Transforms/InstCombine/icmp.ll
  test/Transforms/InstCombine/trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22238.63562.patch
Type: text/x-patch
Size: 10453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160711/0b739f5e/attachment.bin>


More information about the llvm-commits mailing list