-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mlir] convert-scf-to-spirv Pass crashed with segmentation fault #59136
Labels
Comments
@llvm/issue-subscribers-mlir |
Considering the pass is lowering SCF to SPIRV, I suggest tagging this issue with |
@llvm/issue-subscribers-mlir-spirv |
Minimized repro: func.func @unsupported_yield_type(%arg0 : memref<8xi32>, %arg1 : memref<8xi32>, %c : i1) {
%r = scf.if %c -> (memref<8xi32>) {
scf.yield %arg0 : memref<8xi32>
} else {
scf.yield %arg1 : memref<8xi32>
}
return
} |
Fix submitted for review: https://reviews.llvm.org/D141292 |
CarlosAlbertoEnciso
pushed a commit
to SNSystems/llvm-debuginfo-analyzer
that referenced
this issue
Jan 10, 2023
Fixes: llvm/llvm-project#59136 Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D141292
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MLIR built at commit 6c01b5c
Reproduced with:
mlir-opt --convert-scf-to-spirv temp.mlir
trace:
The text was updated successfully, but these errors were encountered: