Skip to content

Commit

Permalink
Auto merge of #121282 - saethlin:gep-null-means-no-provenance, r=scot…
Browse files Browse the repository at this point in the history
…tmcm

Lower transmutes from int to pointer type as gep on null

I thought of this while looking at rust-lang/rust#121242. See that PR's description for why this lowering is preferable.

The UI test that's being changed here crashes without changing the transmutes into casts. Based on that, this PR should not be merged without a crater build-and-test run.
  • Loading branch information
bors committed Mar 12, 2024
2 parents f3cb278 ae9d14f commit faed8c4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit faed8c4

Please sign in to comment.