about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2025-07-09 23:59:00 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2025-07-19 20:50:02 -0700
commit0586c63e070981af7df53e2f778d3e50293d8103 (patch)
treebd736dbc3d0e455d16f3df79d752c547faf4355b /compiler/rustc_codegen_llvm/src
parentf63685ddf3d3c92a61158cd55d44bde17c2b024f (diff)
downloadrust-0586c63e070981af7df53e2f778d3e50293d8103.tar.gz
rust-0586c63e070981af7df53e2f778d3e50293d8103.zip
Allow `Rvalue::Repeat` to return true in `rvalue_creates_operand` too
The conversation in 143502 made be realize how easy this is to handle, since the only possibilty is ZSTs -- everything else ends up with the destination being `LocalKind::Memory` and thus doesn't call `codegen_rvalue_operand` at all.

This gets us perilously close to a world where `rvalue_creates_operand` only ever returns true.  I'll try out such a world next :)

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