//@ needs-unwind #![feature(portable_simd)] // SRoA expands things even if they're unused // use std::simd::Simd; // EMIT_MIR simd_sroa.foo.ScalarReplacementOfAggregates.diff pub(crate) fn foo(simds: &[Simd], _unused: Simd) { // CHECK-LABEL: fn foo // CHECK-NOT: [u8; 16] // CHECK: let [[SIMD:_.+]]: std::simd::Simd; // CHECK-NOT: [u8; 16] // CHECK: [[SIMD]] = copy (*_1)[0 of 1]; // CHECK-NOT: [u8; 16] let a = simds[0]; }