[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 14:51:02 PDT 2017


etherzhhb updated this revision to Diff 93547.
etherzhhb added a comment.

address sanjoy 's comment


Repository:
  rL LLVM

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.93547.patch
Type: text/x-patch
Size: 7099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170330/7dfaf5dd/attachment.bin>


More information about the llvm-commits mailing list