Recursion in propagateLiveness may lead to stackoverflow if the IR has many nested regions. Convert to an iterative algorithm to fix this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D149835
[mlir] Fix stackoverflow in propagateLiveness Needs ReviewPublic Authored by tyb0807 on May 4 2023, 2:58 AM.
Details
Summary Recursion in propagateLiveness may lead to stackoverflow if the IR has many nested regions. Convert to an iterative algorithm to fix this.
Diff Detail
Revision Contents
Diff 519411 mlir/lib/Transforms/Utils/RegionUtils.cpp
|