about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-06-24 19:45:31 -0700
committerGitHub <noreply@github.com>2025-06-24 19:45:31 -0700
commitadaf34045566999aa7770ef3e4c8ef4bdd1ad906 (patch)
tree127ce9482363be6dd373bcf7660d0284e726de96 /compiler/rustc_interface/src
parent891dc0fb0972c93d0f9b88520ed19d65427d80c8 (diff)
parent5d16a7b88450624971004ffc2ce6dbde0bb03871 (diff)
downloadrust-adaf34045566999aa7770ef3e4c8ef4bdd1ad906.tar.gz
rust-adaf34045566999aa7770ef3e4c8ef4bdd1ad906.zip
Rollup merge of #142768 - scottmcm:avoid-unneeded-bitcast, r=WaffleLapkin
Avoid a bitcast FFI call in transmuting

For things that only change the valid ranges, we can just return the input, rather than making the `LLVMBuildBitCast` call and having *it* then do nothing.

I tried to tweak this a bit more and broke stuff, so I also added some extra tests for that as we apparently didn't have coverage.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions