[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
Wed Sep 20 00:35:18 PDT 2017


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

Update patch to address reviewer's request


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.115971.patch
Type: text/x-patch
Size: 11031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170920/7b477fe6/attachment.bin>


More information about the llvm-commits mailing list