mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
Add a wishlist FIXME
This commit is contained in:
parent
910674f1c4
commit
e300847864
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user