[PATCH] D31488: [SimplifyIndvar] Replace the sdiv used by IV if we can prove both of its operands are non-negative
Hongbin Zheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 30 00:51:09 PDT 2017
etherzhhb updated this revision to Diff 93451.
etherzhhb added a comment.
Add more testcases
https://reviews.llvm.org/D31488
Files:
lib/Transforms/Utils/SimplifyIndVar.cpp
test/Transforms/IndVarSimplify/replace-sdiv-by-udiv.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31488.93451.patch
Type: text/x-patch
Size: 7401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170330/93998a3c/attachment.bin>
More information about the llvm-commits
mailing list