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 96494ee + e175372 commit 0e6ea26
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0e6ea26

Please sign in to comment.