[PATCH] D130728: [SCEV] Iteratively compute ranges for deeply nested expressions.

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 10:30:08 PDT 2022


reames added a comment.

Switching everything in SCEV to use iterative algorithms to avoid stack recursion depth issues seems like the better long term approach to me.  I really dislike the notion of one more limit here.

The other option is we could use the musttail attributes to explicitly write recursion based code without the stack depth problems, but I think that's currently a clang only extension.  Not sure if GCC supports it, or where it stands in certification efforts.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130728/new/

https://reviews.llvm.org/D130728



More information about the llvm-commits mailing list