Commit b1423a3
[Pallas:MGPU] Fix a use-after-free in lowering
The lifetime of values is bound to the ops that produce them, which are deleted
after the `with` block. The lifetime of types is bound to the context.
PiperOrigin-RevId: 7019977971 parent 8a31619 commit b1423a3
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1538 | 1538 | | |
1539 | 1539 | | |
1540 | 1540 | | |
1541 | | - | |
1542 | | - | |
| 1541 | + | |
| 1542 | + | |
1543 | 1543 | | |
1544 | | - | |
1545 | | - | |
| 1544 | + | |
1546 | 1545 | | |
1547 | 1546 | | |
1548 | | - | |
| 1547 | + | |
1549 | 1548 | | |
1550 | 1549 | | |
1551 | 1550 | | |
| |||
0 commit comments