about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMichael Benfield <mbenfield@google.com>2022-10-10 17:29:38 +0000
committerMichael Benfield <mbenfield@google.com>2022-11-11 05:54:30 +0000
commit51918dcc51360d79cec771ef556ae9181ebaeb2e (patch)
tree1023d9cc603c21b80d2f270f8dc0f50f240e0a54 /compiler/rustc_codegen_gcc
parent5b82ea74b705799665b5a676b162f30d26f5108c (diff)
downloadrust-51918dcc51360d79cec771ef556ae9181ebaeb2e.tar.gz
rust-51918dcc51360d79cec771ef556ae9181ebaeb2e.zip
rustc_codegen_ssa: Better code generation for niche discriminants.
In some cases we can avoid arithmetic before checking whether a niche
represents an untagged variant.

This is relevant to #101872
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions