Skip to content

Commit 8345b0c

Browse files
committed
Do not match exact parameter or local name in codegen test
1 parent 88bb39b commit 8345b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/codegen/simd-intrinsic/simd-intrinsic-generic-select.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extern "rust-intrinsic" {
2929
// CHECK-LABEL: @select_m8
3030
#[no_mangle]
3131
pub unsafe fn select_m8(m: m8x4, a: f32x4, b: f32x4) -> f32x4 {
32-
// CHECK: [[A:%[0-9]+]] = lshr <4 x i8> %{{m|1}}, <i8 7, i8 7, i8 7, i8 7>
32+
// CHECK: [[A:%[0-9]+]] = lshr <4 x i8> %{{.*}}, <i8 7, i8 7, i8 7, i8 7>
3333
// CHECK: [[B:%[0-9]+]] = trunc <4 x i8> [[A]] to <4 x i1>
3434
// CHECK: select <4 x i1> [[B]]
3535
simd_select(m, a, b)
@@ -38,7 +38,7 @@ pub unsafe fn select_m8(m: m8x4, a: f32x4, b: f32x4) -> f32x4 {
3838
// CHECK-LABEL: @select_m32
3939
#[no_mangle]
4040
pub unsafe fn select_m32(m: m32x4, a: f32x4, b: f32x4) -> f32x4 {
41-
// CHECK: [[A:%[0-9]+]] = lshr <4 x i32> %{{m|1}}, <i32 31, i32 31, i32 31, i32 31>
41+
// CHECK: [[A:%[0-9]+]] = lshr <4 x i32> %{{.*}}, <i32 31, i32 31, i32 31, i32 31>
4242
// CHECK: [[B:%[0-9]+]] = trunc <4 x i32> [[A]] to <4 x i1>
4343
// CHECK: select <4 x i1> [[B]]
4444
simd_select(m, a, b)

0 commit comments

Comments
 (0)