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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 09:38:12 PDT 2022


nikic added a comment.

High-level concern: We have lots of code that is working with SCEVs recursively. If we fix getRangeRef(), are we just shifting the problem over to GetMinTrailingZeroes(), or getSCEVAtScope(), or ...?

I wonder whether it would make sense to prevent the creation of very deeply nested SCEVs instead. We already have various limits, and the one that is most relevant is probably the huge expression limit, but that one limits the total number of (recursive) children, not the nesting.


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