about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-04 20:05:32 +0000
committerbors <bors@rust-lang.org>2022-12-04 20:05:32 +0000
commit53e4b9dd74c29cc9308b8d0f10facac70bb101a7 (patch)
treeb770ff68bf5b62e8a8171b4f0511ce48762a6d69 /compiler/rustc_codegen_llvm/src
parent0f0d5d716a00c1f29cfbf240e12bdccc4f9b9a94 (diff)
parent31c0645b9d2539f47eecb096142474b29dc542f7 (diff)
downloadrust-53e4b9dd74c29cc9308b8d0f10facac70bb101a7.tar.gz
rust-53e4b9dd74c29cc9308b8d0f10facac70bb101a7.zip
Auto merge of #104535 - mikebenfield:discr-fix, r=pnkfelix
rustc_codegen_ssa: Fix for codegen_get_discr

When doing the optimized implementation of getting the discriminant, the arithmetic needs to be done in the tag type so wrapping behavior works correctly.

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