[PATCH] D129745: Fix a stack overflow in ScalarEvolution.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 14:29:37 PDT 2022


fhahn accepted this revision.
fhahn added a comment.

LGTM thanks! I managed to reproduce this locally with much larger value for `MAX` & co. It looks like avoiding the optimization is the only option here, as `createSCEV` itself will create SCEVs for all intermediate binary expressions in those cases......

It might be good to adjust the commit message to be a bit more precise about the actual fix.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129745



More information about the llvm-commits mailing list