Commit 0f91265
authored
Get MLIRContext from
The `load` op is erased in `convertDistributedOpEncoding` so we should
get the MLIR context from the `newOp` when setting op attributes.
Interestingly, I found this issue only because the
`loop-pipeline-hip.mlir` lit test crashed with bad access on my Mac
laptop (ARM). On Linux/x86 the test runs fine w/ and w/out this fix.newOp, not the deleted load (#8373)1 parent 3910f27 commit 0f91265
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
0 commit comments