Skip to content

Commit e300847

Browse files
authored
Add a wishlist FIXME
1 parent 910674f commit e300847

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/codegen/simd/simd-wide-sum.rs

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ pub fn wider_reduce_iter(x: Simd<u8, N>) -> u16 {
5252
#[no_mangle]
5353
// CHECK-LABEL: @wider_reduce_into_iter
5454
pub fn wider_reduce_into_iter(x: Simd<u8, N>) -> u16 {
55+
// FIXME: It would be nice if this was exactly the same as the above tests,
56+
// but at the time of writing this comment, that didn't happen on LLVM main.
5557
// CHECK: call i16 @llvm.vector.reduce.add
5658
x.to_array().into_iter().map(u16::from).sum()
5759
}

0 commit comments

Comments
 (0)