We weren't properly visiting region successors when the terminator wasn't return like, which could create incorrect results in the analysis. This revision ensures that we properly visit region successors, to avoid optimistically assuming a value is constant when it isn't.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Analysis/DataFlowAnalysis.cpp | ||
---|---|---|
570 | This deserves a comment, I don't quite get it immediately |
This deserves a comment, I don't quite get it immediately