Commit 9fa4487
committed
Remove incorrect pointer cast in
The PassMode::Cast check was incorrectly casting the input pointer based
on the return value's ABI mode. This is wrong because `volatile_load` reads
raw memory at the pointer's target type...any ABI transformations should
happen after loading, not on the pointer itself.volatile_load intrinsic1 parent 26b56cc commit 9fa4487
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
| 299 | + | |
304 | 300 | | |
305 | 301 | | |
306 | 302 | | |
| |||
0 commit comments