[PATCH] D41229: [SCEV] Fix the movement of insertion point in expander. PR35406.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 03:25:47 PST 2017


skatkov created this revision.
skatkov added reviewers: sanjoy, mkazantsev, sebpop.

We cannot move the insertion point to header if SCEV contains div/rem
operations due to they may go over check for zero denominator.


https://reviews.llvm.org/D41229

Files:
  lib/Analysis/ScalarEvolutionExpander.cpp
  test/Transforms/IndVarSimplify/pr35406.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41229.126923.patch
Type: text/x-patch
Size: 4841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171214/13b86ad0/attachment.bin>


More information about the llvm-commits mailing list