Skip to content

Commit a9d0df2

Browse files
committed
[Test] Fix FileCheck lines for 32bit in test.
The `IRGen/pack_metadata_marker_inserter.sil` test was expecting 64-bit specific values in a couple of places. Fix those check lines.
1 parent ae9a0c1 commit a9d0df2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/IRGen/pack_metadata_marker_inserter.sil

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ entry:
8282
// CHECK-LLVM-SAME: [[INT]] [[SHAPE:%[^,]+]],
8383
// CHECK-LLVM-SAME: %swift.type** [[PACK:%[^,]+]]) {{.*}} {
8484
// CHECK-LLVM: call swiftcc void @takeTypePack(
85-
// CHECK-LLVM-SAME: i64 [[SHAPE]],
85+
// CHECK-LLVM-SAME: [[INT]] [[SHAPE]],
8686
// CHECK-LLVM-SAME: %swift.type** [[PACK]])
8787
// CHECK-LLVM: }
8888
sil @forward_type_pack : $<each T>() -> () {
@@ -105,7 +105,6 @@ sil @forward_type_pack : $<each T>() -> () {
105105
// CHECK-LLVM: [[PACK_ADDR:%[^,]+]] = alloca [3 x %swift.type*]
106106
// CHECK-LLVM: [[LIFETIME_START_CAST:%[^,]+]] = bitcast [3 x %swift.type*]* [[PACK_ADDR]] to i8*
107107
// CHECK-LLVM: call void @llvm.lifetime.start.p0i8(
108-
// CHECK-LLVM-SAME: [[INT]] 24,
109108
// CHECK-LLVM-SAME: i8* [[LIFETIME_START_CAST]])
110109
// CHECK-LLVM: [[LIFETIME_END_CAST:%[^,]+]] = bitcast [3 x %swift.type*]* [[PACK_ADDR]] to i8*
111110
// CHECK-LLVM: call void @llvm.lifetime.end.p0i8(

0 commit comments

Comments
 (0)