The recursive DFS can stack overflow in pathological cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM.
Out of curiosity: what kind of IR triggers stack overflow here? I'd suspect it would be have to a very large and nested loop.
include/llvm/Support/GenericDomTreeConstruction.h | ||
---|---|---|
437 ↗ | (On Diff #110134) | Nitpick: in other places in the file, stack are initialized like this: |