Commit 9a29d87
[mlir][sparse] Add checking parent op of SortOp
Fix crash with segmentation fault caused by setting a parent operator
that is not func::FuncOp with sparse_tensor SortOp.
fixes #59988
Reviewed By: aartbik, wrengr
Differential Revision: https://reviews.llvm.org/D1438741 parent b46e78c commit 9a29d87
File tree
1 file changed
+3
-0
lines changed- mlir/lib/Dialect/SparseTensor/Transforms
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1163 | 1166 | | |
1164 | 1167 | | |
1165 | 1168 | | |
| |||
0 commit comments