[PATCH] D38072: [SimplifyIndvar] Replace the srem 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 Sep 21 07:52:50 PDT 2017


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

Update comment


Repository:
  rL LLVM

https://reviews.llvm.org/D38072

Files:
  lib/Transforms/Utils/SimplifyIndVar.cpp
  test/Transforms/IndVarSimplify/replace-srem-by-urem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38072.116189.patch
Type: text/x-patch
Size: 10096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170921/f97fa7e3/attachment.bin>


More information about the llvm-commits mailing list