[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
Mon Sep 25 09:29:05 PDT 2017


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

address comments from the reviewer


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.116565.patch
Type: text/x-patch
Size: 10009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170925/0a2d55aa/attachment-0001.bin>


More information about the llvm-commits mailing list