diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-05-07 03:00:41 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-05-31 19:10:28 -0700 |
| commit | 3d0a0dccae89da3ef057dda6e84d480f7888eee9 (patch) | |
| tree | d92bae983ed53ba50467e0030746eed736a8a08d /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | afe578791ad5325fe520d673cb666e7a6ac5487a (diff) | |
| download | rust-3d0a0dccae89da3ef057dda6e84d480f7888eee9.tar.gz rust-3d0a0dccae89da3ef057dda6e84d480f7888eee9.zip | |
Add a distinct `OperandValue::ZeroSized` variant for ZSTs
These tend to have special handling in a bunch of places anyway, so the variant helps remember that. And I think it's easier to grok than non-Scalar Aggregates sometimes being `Immediates` (like I got wrong and caused 109992). As a minor bonus, it means we don't need to generate poison LLVM values for them to pass around in `OperandValue::Immediate`s.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
