Skip to content

Commit f88ef97

Browse files
Merge pull request #6784 from aschwaighofer/fix_test_abi_v7k
Fix test/IRGen/abi_v7k.swift
2 parents 5dba81b + a7c2563 commit f88ef97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/IRGen/abi_v7k.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func testClike2(x: CLike2) -> Int {
110110
}
111111
}
112112

113-
// CHECK-LABEL: define hidden i32 @_TF8test_v7k10testClike8{{.*}}(i32, i3)
113+
// CHECK-LABEL: define hidden i32 @_TF8test_v7k10testClike8{{.*}}(i32, i8)
114114
// CHECK: [[ID:%[0-9]+]] = phi i32 [ -1, {{.*}} ], [ 1, {{.*}} ]
115115
// CHECK: ret i32 [[ID]]
116116
// V7K-LABEL: __TF8test_v7k10testClike8
@@ -164,7 +164,7 @@ func testSingleP(x: SinglePayload) -> Double {
164164
}
165165
}
166166

167-
// CHECK-LABEL: define hidden double @_TF8test_v7k10testMultiP{{.*}}(i32, i32, i2)
167+
// CHECK-LABEL: define hidden double @_TF8test_v7k10testMultiP{{.*}}(i32, i32, i8)
168168
// CHECK: [[FIRST:%[0-9]+]] = zext i32 %0 to i64
169169
// CHECK: [[SECOND:%[0-9]+]] = zext i32 %1 to i64
170170
// CHECK: [[TEMP:%[0-9]+]] = shl i64 [[SECOND]], 32

0 commit comments

Comments
 (0)