From a9d0df2176245405cf45d83a3f475f6e220f9c21 Mon Sep 17 00:00:00 2001 From: Nate Chandler Date: Wed, 7 Jun 2023 14:01:10 -0700 Subject: [PATCH] [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. --- test/IRGen/pack_metadata_marker_inserter.sil | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/IRGen/pack_metadata_marker_inserter.sil b/test/IRGen/pack_metadata_marker_inserter.sil index 3c5d198336cd2..28dab57181efa 100644 --- a/test/IRGen/pack_metadata_marker_inserter.sil +++ b/test/IRGen/pack_metadata_marker_inserter.sil @@ -82,7 +82,7 @@ entry: // CHECK-LLVM-SAME: [[INT]] [[SHAPE:%[^,]+]], // CHECK-LLVM-SAME: %swift.type** [[PACK:%[^,]+]]) {{.*}} { // CHECK-LLVM: call swiftcc void @takeTypePack( -// CHECK-LLVM-SAME: i64 [[SHAPE]], +// CHECK-LLVM-SAME: [[INT]] [[SHAPE]], // CHECK-LLVM-SAME: %swift.type** [[PACK]]) // CHECK-LLVM: } sil @forward_type_pack : $() -> () { @@ -105,7 +105,6 @@ sil @forward_type_pack : $() -> () { // CHECK-LLVM: [[PACK_ADDR:%[^,]+]] = alloca [3 x %swift.type*] // CHECK-LLVM: [[LIFETIME_START_CAST:%[^,]+]] = bitcast [3 x %swift.type*]* [[PACK_ADDR]] to i8* // CHECK-LLVM: call void @llvm.lifetime.start.p0i8( -// CHECK-LLVM-SAME: [[INT]] 24, // CHECK-LLVM-SAME: i8* [[LIFETIME_START_CAST]]) // CHECK-LLVM: [[LIFETIME_END_CAST:%[^,]+]] = bitcast [3 x %swift.type*]* [[PACK_ADDR]] to i8* // CHECK-LLVM: call void @llvm.lifetime.end.p0i8(