| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-11-18 | rustc_codegen_ssa: Fix for codegen_get_discr | Michael Benfield | -5/+2 | |
| 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 | ||||
| 2022-11-11 | rustc_codegen_ssa: Better code generation for niche discriminants. | Michael Benfield | -0/+112 | |
| In some cases we can avoid arithmetic before checking whether a niche represents an untagged variant. This is relevant to #101872 | ||||
