about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-30 19:24:40 +0100
committerGitHub <noreply@github.com>2024-11-30 19:24:40 +0100
commit3029e09e2f751ecf37f3840e45281e66cdea8477 (patch)
tree90fb63fb4fcc12858a2791923a8041d68edc0ec9 /compiler/rustc_codegen_llvm/src
parente93e096cc88728337fb41ff74431ebe71a1b4663 (diff)
parent26d7b5da996ec8935c33638f1d7c29f58c96f8f0 (diff)
downloadrust-3029e09e2f751ecf37f3840e45281e66cdea8477.tar.gz
rust-3029e09e2f751ecf37f3840e45281e66cdea8477.zip
Rollup merge of #131698 - the8472:remove-set-discriminant-hack, r=RalfJung
use stores of the correct size to set discriminants

Resolves an old HACK /FIXME.

Note that I haven't worked much with codegen so I'm not sure if I'm using the functions correctly and I was surprised seeing out-of-range values being fed into `const_uint_big` but apparently they're wrapped implicitly? By making it explicit we can pass in-range values instead.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions