We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81dc91e commit 7dc049cCopy full SHA for 7dc049c
tests/codegen/simd-wide-sum.rs
@@ -52,9 +52,8 @@ pub fn wider_reduce_iter(x: Simd<u8, N>) -> u16 {
52
#[no_mangle]
53
// CHECK-LABEL: @wider_reduce_into_iter
54
pub fn wider_reduce_into_iter(x: Simd<u8, N>) -> u16 {
55
- // FIXME MIR inlining messes up LLVM optimizations.
56
- // WOULD-CHECK: zext <8 x i8>
57
- // WOULD-CHECK-SAME: to <8 x i16>
58
- // WOULD-CHECK: call i16 @llvm.vector.reduce.add.v8i16(<8 x i16>
+ // CHECK: zext <8 x i8>
+ // CHECK-SAME: to <8 x i16>
+ // CHECK: call i16 @llvm.vector.reduce.add.v8i16(<8 x i16>
59
x.to_array().into_iter().map(u16::from).sum()
60
}
0 commit comments