[PATCH] D24280: [IndVarSimplify] Wisely choose sext or zext when widening IV

Li Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 15:25:38 PDT 2016


lihuang retitled this revision from "[IndVarSimplify] Prefer sext over zext when widening IV if it is non-negative and has a GEP user" to "[IndVarSimplify] Wisely choose sext or zext when widening IV".
lihuang updated the summary for this revision.
lihuang updated this revision to Diff 72371.
lihuang added a comment.

Address Sanjoy's comments.


https://reviews.llvm.org/D24280

Files:
  lib/Transforms/Scalar/IndVarSimplify.cpp
  test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24280.72371.patch
Type: text/x-patch
Size: 25049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160923/11321157/attachment.bin>


More information about the llvm-commits mailing list