Skip to content

Commit 1bc76a4

Browse files
Merge pull request #70940 from nate-chandler/rdar121028415
[Test] Reenabled test.
2 parents 5feda36 + ca4744a commit 1bc76a4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/IRGen/pack_metadata_marker_inserter_onone.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// RUN: %target-swift-frontend -Onone -disable-availability-checking -emit-ir -primary-file %s -enable-pack-metadata-stack-promotion=false -enable-pack-metadata-stack-promotion=true -Xllvm -sil-print-after=pack-metadata-marker-inserter 2>&1 | %FileCheck %s --check-prefixes CHECK-SIL
22
// RUN: %target-swift-frontend -Onone -disable-availability-checking -emit-ir -primary-file %s -enable-pack-metadata-stack-promotion=false -enable-pack-metadata-stack-promotion=true | %IRGenFileCheck %s --check-prefixes CHECK-LLVM
33

4-
// rdar://121028415
5-
// UNSUPPORTED: CPU=arm64e
6-
74
public struct G<each T> {
85
var pack: (repeat each T)
96
}
@@ -75,7 +72,8 @@ public func consume2S<T>(_: consuming S<T>, _: consuming S<T>) {}
7572
// CHECK-LLVM: [[S_METADATA:%[^,]+]] = extractvalue %swift.metadata_response [[S_METADATA_RESPONSE]]
7673
// CHECK-LLVM: [[S_VWT_ADDR:%[^,]+]] = getelementptr inbounds ptr, ptr [[S_METADATA]], [[INT]] -1
7774
// CHECK-LLVM: [[S_VWT:%[^,]+]] = load ptr, ptr [[S_VWT_ADDR]]
78-
// CHECK-LLVM: [[S_SIZE_ADDR:%[^,]+]] = getelementptr inbounds %swift.vwtable, ptr [[S_VWT]]
75+
// CHECK-LLVM: [[S_SIZE_ADDR:%[^,]+]] = getelementptr inbounds %swift.vwtable, ptr
76+
// HECK-LLVM-SAME: [[S_VWT]]
7977
// CHECK-LLVM: [[S_SIZE:%[^,]+]] = load [[INT]], ptr [[S_SIZE_ADDR]]
8078
// CHECK-LLVM: [[COPY_1_ADDR:%[^,]+]] = alloca i8, [[INT]] [[S_SIZE]]
8179
// CHECK-LLVM: call void @llvm.lifetime.start.p0(

0 commit comments

Comments
 (0)