llvm-project
d40bab35 - [mlir][liveness] fix bugs in liveness analysis (#133416)

Commit
263 days ago
[mlir][liveness] fix bugs in liveness analysis (#133416) This patch fixes the following bugs: - In SparseBackwardAnalysis, the setToExitState function should propagate changes if it modifies the lattice. Previously, this issue was masked because multi-block scenarios were not tested, and the traversal order of backward data flow analysis starts from the end of the program. - The method in liveness analysis for determining whether the non-forwarded operand in branch/region branch operations is live is incorrect, which may cause originally live variables to be marked as not live.
Author
Parents
Loading