Skip to content

Commit

Permalink
Escape outer [] in x86-64-homogeneous-floats.rs
Browse files Browse the repository at this point in the history
This is required because depending on the version of llvm FileCheck
it could fail.
  • Loading branch information
Urgau committed Feb 21, 2022
1 parent fdc672a commit 74a429e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/assembly/x86-64-homogenous-floats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn sum_f32x2(a: [f32; 2], b: [f32; 2]) -> [f32; 2] {
// CHECK-NEXT: movups [[XMMA:xmm[0-9]]], xmmword ptr [rsi]
// CHECK-NEXT: movups [[XMMB:xmm[0-9]]], xmmword ptr [rdx]
// CHECK-NEXT: addps [[XMMB]], [[XMMA]]
// CHECK-NEXT: movups xmmword ptr [[[PTR_IN]]], [[XMMB]]
// CHECK-NEXT: movups xmmword ptr {{\[}}[[PTR_IN]]{{\]}}, [[XMMB]]
// CHECK-NEXT: ret
#[no_mangle]
pub fn sum_f32x4(a: [f32; 4], b: [f32; 4]) -> [f32; 4] {
Expand Down

0 comments on commit 74a429e

Please sign in to comment.