[PATCH] D109789: [SCEV] Stop blindly propagating flags from inbound geps to SCEV nodes
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 11 13:34:22 PST 2021
jrtc27 added a comment.
Indeed, both die on https://godbolt.org/z/zh81Pa8fd with a stack overflow (presumably that's what happens if assertions are disabled and don't catch it), and both are happy with trunk's IR (https://godbolt.org/z/v31Tzo7zP for both lots of IR). Something in SCEV/loop-reduce is getting very confused and keeps inserting new copies of the same GEP until the recursive expansion runs out of stack space.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109789/new/
https://reviews.llvm.org/D109789
More information about the llvm-commits
mailing list