We previously weren't properly updating the SCC iterator when nodes were removed, leading to asan failures in certain situations. This commit adds a CallGraphSCC class and defers operation deletion until inlining has finished.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Transforms/Inliner.cpp | ||
---|---|---|
594 | Yes, It includes those that are already dead, because it is "free" to detect when inlining. |
Is there a requirement on when this may be called? Or not really due to the helper class?