rust/compiler/rustc_middle
gnzlbg 6e88e96ccf Support repr(simd) on ADTs containing a single array field
This PR allows using `#[repr(simd)]` on ADTs containing a
single array field:

```rust
 #[repr(simd)] struct S0([f32; 4]);
 #[repr(simd)] struct S1<const N: usize>([f32; N]);
 #[repr(simd)] struct S2<T, const N: usize>([T; N]);
```

This should allow experimenting with portable packed SIMD
abstractions on nightly that make use of const generics.
2020-11-08 12:01:48 +10:00
..
benches mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
src Support repr(simd) on ADTs containing a single array field 2020-11-08 12:01:48 +10:00
Cargo.toml Address comments 2020-10-27 19:42:02 -04:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

For more information about how rustc works, see the rustc dev guide.