]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #101381 - Urgau:target-mixup-homogenous-floats, r=Amanieu
authorManish Goregaokar <manishsmail@gmail.com>
Wed, 9 Nov 2022 02:03:52 +0000 (21:03 -0500)
committerGitHub <noreply@github.com>
Wed, 9 Nov 2022 02:03:52 +0000 (21:03 -0500)
Test that target feature mix up with homogeneous floats is sound

This pull-request adds a test in `src/test/abi/` that test that target feature mix up with homogeneous floats is sound.

This is basically is ripoff of [src/test/ui/simd/target-feature-mixup.rs](https://github.com/rust-lang/rust/blob/47d1cdb0bcac8e417071ce1929d261efe2399ae2/src/test/ui/simd/target-feature-mixup.rs) but for floats and without `#[repr(simd)]`.

*Extracted from https://github.com/rust-lang/rust/pull/97559 since I don't yet know what to do with that PR.*


Trivial merge