Skip to content

Commit 78cf572

Browse files
authored
Merge pull request #71413 from kavon/ncgenerics-test-fixes-kavon-v3
Ncgenerics test fixes kavon v3
2 parents 906d261 + 9e6f8ce commit 78cf572

7 files changed

+9
-1
lines changed

test/SIL/implicit_lifetime_dependence.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %target-swift-frontend %s \
22
// RUN: -emit-sil \
33
// RUN: -enable-builtin-module \
4-
// RUN: -Xllvm -disable-lifetime-dependence-diagnostics \
54
// RUN: -enable-experimental-feature NonescapableTypes \
65
// RUN: -disable-experimental-parser-round-trip \
76
// RUN: -enable-experimental-feature NoncopyableGenerics \

test/SIL/type_lowering_unit.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
sil_stage raw
44

55
import Builtin
6+
import Swift
67

78
struct S : ~Copyable {}
89

test/SILOptimizer/earlycodemotion_moveonly.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
sil_stage canonical
44

55
import Builtin
6+
import Swift
67

78
struct FileDescriptor: ~Copyable {
89
var fd: Builtin.Int64

test/SILOptimizer/instruction_deleter.sil

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-sil-opt -test-runner %s -o /dev/null 2>&1 | %FileCheck %s
22

3+
import Swift
4+
35
struct MOS : ~Copyable {}
46

57
sil @getMOS : $() -> (@owned MOS)

test/SILOptimizer/moveonly_addresschecker_di_interactions.sil

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
sil_stage raw
88

9+
import Swift
10+
911
fileprivate final class _Box<T> {
1012
var value: _Node<T>
1113

test/SILOptimizer/moveonly_temp_allocation_elim.sil

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
sil_stage raw
44

5+
import Swift
6+
57
public class Klass {}
68

79
public struct Empty : ~Copyable {}

test/SILOptimizer/sil_combine_moveonly.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
sil_stage canonical
44

55
import Builtin
6+
import Swift
67

78
struct S : ~Copyable {
89
deinit {}

0 commit comments

Comments
 (0)