diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2021-07-24 16:01:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-24 16:01:57 -0700 |
| commit | 82e3405efe5ffd2bc214d32b581d5cfc1157eb8d (patch) | |
| tree | 4051bef1cbb11b4c9c53acc0ea26eefcbd6503b2 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff | |
| parent | 732b7edfab46b33e3861172eb867b139a9425574 (diff) | |
| parent | 97c25dd7465f4db60c013d7688b809a7da5388a6 (diff) | |
| download | rust-82e3405efe5ffd2bc214d32b581d5cfc1157eb8d.tar.gz rust-82e3405efe5ffd2bc214d32b581d5cfc1157eb8d.zip | |
Merge pull request #142 from rust-lang/feature/traits
Combine LanesAtMost32 and SimdArray into a single trait "Vector" Attempts to fix some unresolved questions in #139 regarding `SimdArray` having a generic parameter. In particular, this made it not appropriate for replacing `LanesAtMost32`. Additionally, it made it impossible to use in a context where you otherwise don't know the lane count, e.g. `impl Vector`. An unfortunate side effect of this change is that scatter/gather no longer work in the trait (nor does anything else that references the lane count in a type. This requires the super-unstable `const_evaluatable_checked` feature). I also threw in the change from `as_slice` to `as_array` as discussed in zulip, and fixes #51.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
