Commit cfe5975
authored
[MLIR] Fix SCF verifier crash (llvm#153974)
An operand of the nested yield op can be null and hasn't been verified
yet when processing the enclosing operation. Using `getResultTypes()`
will dereference this null Value and crash in the verifier.1 parent 681ecae commit cfe5975
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4236 | 4236 | | |
4237 | 4237 | | |
4238 | 4238 | | |
4239 | | - | |
4240 | | - | |
4241 | | - | |
| 4239 | + | |
| 4240 | + | |
| 4241 | + | |
| 4242 | + | |
4242 | 4243 | | |
4243 | 4244 | | |
4244 | 4245 | | |
4245 | 4246 | | |
4246 | | - | |
| 4247 | + | |
4247 | 4248 | | |
4248 | 4249 | | |
4249 | 4250 | | |
| |||
0 commit comments