diff options
| author | scottmcm <scottmcm@users.noreply.github.com> | 2023-10-06 07:05:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-06 07:05:09 +0000 |
| commit | e300847864faf93538354b418da0a1612efd36f4 (patch) | |
| tree | 2d0776313597884300dabf8047d7d6f0be21623a /tests/codegen | |
| parent | 910674f1c4d1551ffab71627e1821cf8298f3669 (diff) | |
| download | rust-e300847864faf93538354b418da0a1612efd36f4.tar.gz rust-e300847864faf93538354b418da0a1612efd36f4.zip | |
Add a wishlist FIXME
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/simd/simd-wide-sum.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/codegen/simd/simd-wide-sum.rs b/tests/codegen/simd/simd-wide-sum.rs index f80e957641c..6e7d3d9316a 100644 --- a/tests/codegen/simd/simd-wide-sum.rs +++ b/tests/codegen/simd/simd-wide-sum.rs @@ -52,6 +52,8 @@ pub fn wider_reduce_iter(x: Simd<u8, N>) -> u16 { #[no_mangle] // CHECK-LABEL: @wider_reduce_into_iter pub fn wider_reduce_into_iter(x: Simd<u8, N>) -> u16 { + // FIXME: It would be nice if this was exactly the same as the above tests, + // but at the time of writing this comment, that didn't happen on LLVM main. // CHECK: call i16 @llvm.vector.reduce.add x.to_array().into_iter().map(u16::from).sum() } |
