about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2025-07-12 16:38:46 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2025-07-23 08:25:13 -0700
commit231dddde3e686c0903a28ce605b8c5d505a2ba21 (patch)
tree5ce740116dfd51351ac7e89cd142ee2a75340b71 /compiler/rustc_codegen_llvm/src/lib.rs
parenta7a1618e6c835f1f00940ad72203d05808209a0d (diff)
downloadrust-231dddde3e686c0903a28ce605b8c5d505a2ba21.tar.gz
rust-231dddde3e686c0903a28ce605b8c5d505a2ba21.zip
Let `codegen_transmute_operand` just handle everything
When combined with 143720, this means `rvalue_creates_operand` can just return `true` for *every* `Rvalue`.  (A future PR could consider removing it, though just letting it optimize out is fine for now.)

It's nicer anyway, IMHO, because it avoids needing the layout checks to be consistent in the two places, and thus is an overall reduction in code.  Plus it's a more helpful building block when used in other places this way.

Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions