[PATCH] D48283: [SCEV] Properly solve quadratic equations

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 26 10:38:19 PDT 2018


kparzysz updated this revision to Diff 157528.
kparzysz marked an inline comment as done.
kparzysz added a comment.

Addressed review comments.

Added comments, an assertion to ensure that the initial value is in range in SolveQuadraticAddRecRange, more debug messages.


Repository:
  rL LLVM

https://reviews.llvm.org/D48283

Files:
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/solve-quadratic-i1.ll
  test/Analysis/ScalarEvolution/solve-quadratic-overflow.ll
  test/Analysis/ScalarEvolution/solve-quadratic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48283.157528.patch
Type: text/x-patch
Size: 51225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180726/b78a813e/attachment.bin>


More information about the llvm-commits mailing list