[PATCH] D23075: [IndVarSimplify] Extend trip count instead of truncating IV in LFTR, when original IV does not overflow

Ehsan Amiri via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 16:43:03 PDT 2016


amehsan updated this revision to Diff 66595.
amehsan added a comment.

Some changes in usage of ValueMap. Also fixed an incorrect "cleanup". Will address Mehdi's comment separately in another revision.


https://reviews.llvm.org/D23075

Files:
  lib/Transforms/Scalar/IndVarSimplify.cpp
  test/Transforms/IndVarSimplify/elim-extend.ll
  test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
  test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
  test/Transforms/IndVarSimplify/signed-trip-count.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23075.66595.patch
Type: text/x-patch
Size: 6457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/37c58fab/attachment.bin>


More information about the llvm-commits mailing list