about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-11 13:50:32 +0000
committerbors <bors@rust-lang.org>2022-11-11 13:50:32 +0000
commit742d3f02c243964e5b868d90afd60c2907be5853 (patch)
tree5b52cf891ff488b37a0a467eb04dea29f17094bc /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb7b7f2716ee1655a696d3d64c3e12638d0dd19c0 (diff)
parent51918dcc51360d79cec771ef556ae9181ebaeb2e (diff)
downloadrust-742d3f02c243964e5b868d90afd60c2907be5853.tar.gz
rust-742d3f02c243964e5b868d90afd60c2907be5853.zip
Auto merge of #102872 - mikebenfield:better-get-discr, r=nagisa
rustc_codegen_ssa: Better code generation for niche discriminants.

In some cases we can avoid arithmetic before checking whether a niche is a tag.

Also rename some identifiers around niches.

This is relevant to #101872
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions