Skip to content

Commit 74a429e

Browse files
committed
Escape outer [] in x86-64-homogeneous-floats.rs
This is required because depending on the version of llvm FileCheck it could fail.
1 parent fdc672a commit 74a429e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/assembly/x86-64-homogenous-floats.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub fn sum_f32x2(a: [f32; 2], b: [f32; 2]) -> [f32; 2] {
3232
// CHECK-NEXT: movups [[XMMA:xmm[0-9]]], xmmword ptr [rsi]
3333
// CHECK-NEXT: movups [[XMMB:xmm[0-9]]], xmmword ptr [rdx]
3434
// CHECK-NEXT: addps [[XMMB]], [[XMMA]]
35-
// CHECK-NEXT: movups xmmword ptr [[[PTR_IN]]], [[XMMB]]
35+
// CHECK-NEXT: movups xmmword ptr {{\[}}[[PTR_IN]]{{\]}}, [[XMMB]]
3636
// CHECK-NEXT: ret
3737
#[no_mangle]
3838
pub fn sum_f32x4(a: [f32; 4], b: [f32; 4]) -> [f32; 4] {

0 commit comments

Comments
 (0)