[PATCH] D38072: [SimplifyIndvar] Replace the srem used by IV if we can prove both of its operands are non-negative

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 10:41:14 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL314125: [SimplifyIndvar] Replace the srem used by IV if we can prove both of its… (authored by ether).

Changed prior to commit:
  https://reviews.llvm.org/D38072?vs=116565&id=116572#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D38072

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38072.116572.patch
Type: text/x-patch
Size: 10682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170925/78fe9701/attachment.bin>


More information about the llvm-commits mailing list