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 272d1a5 + e0270c9 commit 1bcff79
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 1bcff79

Please sign in to comment.