about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-12 04:11:37 +0000
committerbors <bors@rust-lang.org>2024-03-12 04:11:37 +0000
commit0fa7feaf3f287b900176061053619c06306c67b0 (patch)
tree7d3f51248c9bea487602be94be70ffdc5f59695b /compiler/rustc_llvm/llvm-wrapper
parent5aad51d015b8d3f6d823a6bf9dbc8ae3b9fd10c5 (diff)
parent2eb9c6d49ef949c551892fa58270071f5e997416 (diff)
downloadrust-0fa7feaf3f287b900176061053619c06306c67b0.tar.gz
rust-0fa7feaf3f287b900176061053619c06306c67b0.zip
Auto merge of #121282 - saethlin:gep-null-means-no-provenance, r=scottmcm
Lower transmutes from int to pointer type as gep on null

I thought of this while looking at https://github.com/rust-lang/rust/pull/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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions