[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 15:05:39 PDT 2017


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

fix the last few things before pushing the commit


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


More information about the llvm-commits mailing list