Commit 648c566
[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 fee593d commit 648c566
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4273 | 4273 | | |
4274 | 4274 | | |
4275 | 4275 | | |
4276 | | - | |
4277 | | - | |
4278 | | - | |
| 4276 | + | |
| 4277 | + | |
| 4278 | + | |
| 4279 | + | |
4279 | 4280 | | |
4280 | 4281 | | |
4281 | 4282 | | |
4282 | 4283 | | |
4283 | | - | |
| 4284 | + | |
4284 | 4285 | | |
4285 | 4286 | | |
4286 | 4287 | | |
| |||
0 commit comments