diff options
author | Congcong Cai <congcongcai0907@163.com> | 2024-03-05 15:33:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 15:33:49 +0800 |
commit | 46f65e45e0f5ce4cc0edabceebee681231d24687 (patch) | |
tree | dfddfa916677bd1fbfff43ad598fec06d0bce3a9 /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 1837579bbc9c5e0b49a54e60d99eed3d38b47d3b (diff) | |
download | llvm-46f65e45e0f5ce4cc0edabceebee681231d24687.zip llvm-46f65e45e0f5ce4cc0edabceebee681231d24687.tar.gz llvm-46f65e45e0f5ce4cc0edabceebee681231d24687.tar.bz2 |
[mlir]use correct iterator when eraseOp (#83444)
#66771 introduce `llvm::post_order(&r.front())` which is equal to
`r.front().getSuccessor(...)`.
It will visit the succ block of current block. But actually here need to
visit all block of region in reverse order.
Fixes: #77420.
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions