[PATCH] D28158: [SCEV] limit recursion depth and operands number in getAddExpr

Daniil Fukalov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 10:57:39 PST 2017


dfukalov updated this revision to Diff 84989.
dfukalov edited the summary of this revision.
dfukalov added a comment.

1. add expr inlining limit moved to separate change https://reviews.llvm.org/D28812
2. removed depth parameter from wrapper functions
3. added helper function to early return
4. refined test to use func params instead of undef


https://reviews.llvm.org/D28158

Files:
  include/llvm/Analysis/ScalarEvolution.h
  lib/Analysis/ScalarEvolution.cpp
  unittests/Analysis/ScalarEvolutionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28158.84989.patch
Type: text/x-patch
Size: 10096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170119/ff5bd530/attachment.bin>


More information about the llvm-commits mailing list