We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef031c8 commit 5339d4eCopy full SHA for 5339d4e
tests/codegen/target-feature-inline-closure.rs
@@ -12,7 +12,7 @@ use std::arch::x86_64::*;
12
#[cfg(target_arch = "x86_64")]
13
#[target_feature(enable = "avx")]
14
fn with_avx(x: __m256) -> __m256 {
15
- // CHECK: fadd
+ // CHECK: fadd <8 x float>
16
let add = {
17
#[inline(always)]
18
|x, y| unsafe { _mm256_add_ps(x, y) }
@@ -24,14 +24,10 @@ fn with_avx(x: __m256) -> __m256 {
24
#[no_mangle]
25
26
unsafe fn without_avx(x: __m256) -> __m256 {
27
- // CHECK-NOT: fadd
+ // CHECK-NOT: fadd <8 x float>
28
29
30
31
};
32
add(x, x)
33
}
34
-
35
-// Don't allow the above CHECK-NOT to accidentally match a commit hash in the
36
-// compiler version.
37
-// CHECK-LABEL: rustc version
0 commit comments