Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #128918 - scottmcm:tweak-alignment-mir, r=<try>
Try to shrink `Alignment`-related MIR in `Layout` Noticed all this in <https://rust.godbolt.org/z/55Tx65v4e>: ```rust _22 = (_11.0: std::ptr::alignment::AlignmentEnum); _23 = discriminant(_22); _24 = Ge(_23, const 1_u64); _25 = Le(_23, const 9223372036854775808_u64); _26 = BitAnd(move _24, move _25); assume(move _26); _20 = _23 as usize (IntToInt); ``` So let's see if a non-`as` here works better.
- Loading branch information