-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Title: [mlir] --canonicalize causes the Segmentation Fault in eraseUnreachableBlocks. #77420
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi! This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below. |
@llvm/issue-subscribers-good-first-issue Author: anonymousMCS (anonymousMCS)
Similar to https://github.com//issues/74461, but with different content in the unreachable block.
git version: 6e90f13 system: reproduced with: a.mlir:
trace:
|
I am new to LLVM would love to take this issue! |
@ranjanmangla1: Just prepare pull request and mention it on this page. |
ok, thanks @EugeneZelenko . Working on this issue & will send a pr as soon as possible. |
`llvm::post_order(&r.front())` is equal to `r.front().getSuccessor(...)`. It will visit the succ block of current block. But actually here need to visit all block in this region. Fixes: llvm#77420.
Similar to #74461, but with different content in the unreachable block.
git version: 6e90f13
system:
Ubuntu 20.04.6 LTS (Focal Fossa)
reproduced with:
mlir-opt --canonicalize a.mlir
a.mlir:
trace:
The text was updated successfully, but these errors were encountered: