Skip to content

Commit a77bdf2

Browse files
authored
Merge pull request #15166 from gottesmm/pr-d1d477be06593663a34c0100aebdb000babe3a04
2 parents 8592496 + 8dd5ea9 commit a77bdf2

File tree

211 files changed

+214
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+214
-3
lines changed

test/ClangImporter/objc_ir.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %build-clang-importer-objc-overlays
45
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk-nosource -I %t) -I %S/Inputs/custom-modules -emit-ir -g -o - -primary-file %s | %FileCheck %s

test/ClangImporter/optional.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -I %S/Inputs/custom-modules -emit-silgen -o - %s | %FileCheck %s
34

45
// REQUIRES: objc_interop

test/ClangImporter/serialization-sil.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swift-frontend -emit-module-path %t/Test.swiftmodule -emit-sil -o /dev/null -module-name Test %s -sdk "" -import-objc-header %S/Inputs/serialization-sil.h
45
// RUN: %target-sil-func-extractor %t/Test.swiftmodule -sil-print-debuginfo -func='$S4Test16testPartialApplyyySoAA_pF' -o - | %FileCheck %s

test/DebugInfo/closure-multivalue.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// rdar://problem/23727705:
34
// RUN-DISABLED: %target-swift-frontend -O %s -disable-llvm-optzns -emit-ir -g -o - | %FileCheck %s
45
import StdlibUnittest
@@ -36,8 +37,8 @@ demo()
3637
// Verify that a reabstraction thunk does not have a line number.
3738
// CHECK-O0-NOT: DW_OP_bit_piece
3839
// CHECK-O0-NOT: DW_OP_bit_piece
39-
// CHECK-O0: !DILocalVariable(name: "a", arg: 1{{.*}} line: 18,
40+
// CHECK-O0: !DILocalVariable(name: "a", arg: 1{{.*}} line: 19,
4041
// CHECK-O0-NOT: DW_OP_bit_piece
41-
// CHECK-O0: !DILocalVariable(name: "b", arg: 2{{.*}} line: 18,
42+
// CHECK-O0: !DILocalVariable(name: "b", arg: 2{{.*}} line: 19,
4243
// CHECK-O0-NOT: DW_OP_bit_piece
4344
// CHECK-O0: !DISubprogram(linkageName: "$SS2SSbs5Error_pIgxxdzo_S2SSbsAA_pIegiidzo_TR",

test/DebugInfo/generic_args.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -primary-file %s -emit-ir -verify -g -o - | %FileCheck %s
34

45
func markUsed<T>(_ t: T) {}

test/DebugInfo/resilience.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
//
45
// Compile the external swift module.

test/IRGen/big_types_corner_cases.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -enable-large-loadable-types %s -emit-ir | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
34
// REQUIRES: optimized_stdlib
45
// UNSUPPORTED: resilient_stdlib

test/IRGen/builtins.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -parse-stdlib -primary-file %s -emit-ir -o - -disable-objc-attr-requires-foundation-module | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-runtime
34

45
// REQUIRES: CPU=x86_64

test/IRGen/class_bounded_generics.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-ir -primary-file %s -disable-objc-attr-requires-foundation-module | %FileCheck %s
34

45
// REQUIRES: CPU=x86_64

test/IRGen/enum_resilience.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swift-frontend -emit-module -enable-resilience -emit-module-path=%t/resilient_struct.swiftmodule -module-name=resilient_struct %S/../Inputs/resilient_struct.swift
45
// RUN: %target-swift-frontend -emit-module -enable-resilience -emit-module-path=%t/resilient_enum.swiftmodule -module-name=resilient_enum -I %t %S/../Inputs/resilient_enum.swift

test/IRGen/generic_metatypes.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %swift -target x86_64-apple-macosx10.9 -emit-ir -parse-stdlib -primary-file %s | %FileCheck --check-prefix=CHECK --check-prefix=CHECK-64 %s
34
// RUN: %swift -target i386-apple-ios7.0 -emit-ir -parse-stdlib -primary-file %s | %FileCheck --check-prefix=CHECK --check-prefix=CHECK-32 %s
45
// RUN: %swift -target x86_64-apple-ios7.0 -emit-ir -parse-stdlib -primary-file %s | %FileCheck --check-prefix=CHECK --check-prefix=CHECK-64 %s

test/IRGen/generic_metatypes_arm.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %swift -target armv7-apple-ios7.0 -module-name generic_metatypes -emit-ir -parse-stdlib -primary-file %s | %FileCheck --check-prefix=CHECK --check-prefix=CHECK-32 %s
34
// RUN: %swift -target arm64-apple-ios7.0 -emit-ir -module-name generic_metatypes -parse-stdlib -primary-file %s | %FileCheck --check-prefix=CHECK --check-prefix=CHECK-64 %s
45
// RUN: %swift -target armv7-apple-tvos9.0 -emit-ir -module-name generic_metatypes -parse-stdlib -primary-file %s | %FileCheck --check-prefix=CHECK --check-prefix=CHECK-32 %s

test/IRGen/generic_tuples.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -emit-ir -primary-file %s | %FileCheck %s
34

45
// Make sure that optimization passes don't choke on storage types for generic tuples

test/IRGen/keypaths.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// -- Convert <i32 0x...> constants to decimal constants that LLVM will print
45
// RUN: %utils/chex.py < %s > %t/keypaths.sil

test/IRGen/keypaths_objc.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %utils/chex.py < %s > %t/keypaths_objc.sil
45
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-ir %t/keypaths_objc.sil | %FileCheck %t/keypaths_objc.sil --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize

test/IRGen/lowered_optional_self_metadata.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -emit-ir %s
34
sil_stage canonical
45

test/IRGen/objc.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %build-irgen-test-overlays
45
// RUN: %target-swift-frontend(mock-sdk: -sdk %S/Inputs -I %t) -primary-file %s -emit-ir -disable-objc-attr-requires-foundation-module | %FileCheck %s

test/IRGen/objc_retainAutoreleasedReturnValue.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -target x86_64-apple-macosx10.12 -assume-parsing-unqualified-ownership-sil -import-objc-header %S/Inputs/StaticInline.h %s -emit-ir | %FileCheck %s
34
// RUN: %target-swift-frontend -O -target x86_64-apple-macosx10.12 -assume-parsing-unqualified-ownership-sil -import-objc-header %S/Inputs/StaticInline.h %s -emit-ir | %FileCheck %s --check-prefix=OPT
45

test/IRGen/runtime_calling_conventions.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -parse-as-library -emit-ir %s | %FileCheck %s
34
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -parse-as-library -O -emit-ir %s | %FileCheck --check-prefix=OPT-CHECK %s
45

test/IRGen/struct_resilience.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swift-frontend -emit-module -enable-resilience -emit-module-path=%t/resilient_struct.swiftmodule -module-name=resilient_struct %S/../Inputs/resilient_struct.swift
45
// RUN: %target-swift-frontend -emit-module -enable-resilience -emit-module-path=%t/resilient_enum.swiftmodule -module-name=resilient_enum -I %t %S/../Inputs/resilient_enum.swift

test/Reflection/capture_descriptors.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// REQUIRES: no_asan
34
// RUN: %empty-directory(%t)
45
// RUN: %target-build-swift %s -emit-module -emit-library -module-name capture_descriptors -o %t/capture_descriptors.%target-dylib-extension

test/SIL/Parser/apply_with_substitution.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend %s -emit-silgen | %FileCheck %s
34

45
// rdar://14443287

test/SIL/Parser/bound_generic.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend %s -emit-silgen | %FileCheck %s
34

45
// rdar://14443287

test/SIL/Parser/generic_signature_with_depth.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend %s -emit-silgen | %target-sil-opt | %FileCheck %s
34

45
protocol mmGeneratorType {

test/SIL/Parser/keypath.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-sil-opt %s | %target-sil-opt | %FileCheck %s
34

45
sil_stage canonical

test/SIL/Serialization/deserialize_generic.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swift-frontend -emit-module -o %t %S/Inputs/def_generic.swift
45
// RUN: %target-sil-opt -assume-parsing-unqualified-ownership-sil -linker -I %t %s | %FileCheck %s

test/SIL/Serialization/deserialize_generic_marker.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swift-frontend -emit-module -o %t %S/Inputs/def_generic_marker.swift
45
// RUN: %target-sil-opt -assume-parsing-unqualified-ownership-sil -linker -I %t %s | %FileCheck %s

test/SIL/Serialization/keypath.sil

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// First parse this and then emit a *.sib. Then read in the *.sib, then recreate
34
// RUN: %empty-directory(%t)
45
// RUN: %target-sil-opt %s -emit-sib -o %t/tmp.sib -module-name boxes

test/SILGen/access_marker_gen.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -parse-as-library -Xllvm -sil-full-demangle -enforce-exclusivity=checked -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
func modify<T>(_ x: inout T) {}

test/SILGen/accessors.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
// Hold a reference to do to magically become non-POD.

test/SILGen/address_only_types.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -enable-sil-ownership -parse-as-library -parse-stdlib -emit-silgen %s | %FileCheck %s
34

45
precedencegroup AssignmentPrecedence { assignment: true }

test/SILGen/addressors.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -enable-sil-ownership -parse-stdlib -emit-sil %s | %FileCheck %s
34
// RUN: %target-swift-frontend -enable-sil-ownership -parse-stdlib -emit-silgen %s | %FileCheck %s -check-prefix=SILGEN
45
// RUN: %target-swift-frontend -enable-sil-ownership -parse-stdlib -emit-ir %s

test/SILGen/apply_abstraction_nested.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -enable-sil-ownership -emit-silgen %s | %FileCheck %s
34

45
infix operator ~> { precedence 255 associativity left }

test/SILGen/argument_labels.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
public struct X { }

test/SILGen/argument_shuffle_swift3.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s -swift-version 3 | %FileCheck %s
34

45
func fn(_: Any) {}

test/SILGen/array_literal_abstraction.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen %s | %FileCheck %s
34

45
// Verify that reabstraction happens when forming container literals.

test/SILGen/auto_closures.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -parse-stdlib -emit-silgen %s | %FileCheck %s
34

45
struct Bool {}

test/SILGen/borrow.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -enable-sil-ownership -parse-stdlib -emit-silgen %s | %FileCheck %s
34

45
import Swift

test/SILGen/boxed_existentials.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -enable-sil-ownership -emit-silgen %s | %FileCheck %s
34
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -enable-sil-ownership -emit-silgen %s | %FileCheck %s --check-prefix=GUARANTEED
45

test/SILGen/call_chain_reabstraction.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
struct A {

test/SILGen/capture_typed_boxes.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
func foo(_ x: Int) -> () -> Int {

test/SILGen/casts.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
class B { }

test/SILGen/cf.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -import-cf-types -sdk %S/Inputs %s -emit-silgen -o - | %FileCheck %s
34

45
// REQUIRES: objc_interop

test/SILGen/class_bound_protocols.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -parse-stdlib -parse-as-library -module-name Swift -emit-silgen %s | %FileCheck %s
34

45
enum Optional<T> {

test/SILGen/class_resilience.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swift-frontend -emit-module -enable-resilience -emit-module-path=%t/resilient_struct.swiftmodule -module-name=resilient_struct %S/../Inputs/resilient_struct.swift
45
// RUN: %target-swift-frontend -emit-module -enable-resilience -emit-module-path=%t/resilient_class.swiftmodule -module-name=resilient_class -I %t %S/../Inputs/resilient_class.swift

test/SILGen/closures.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -enable-sil-ownership -parse-stdlib -parse-as-library -emit-silgen %s | %FileCheck %s
34
// RUN: %target-swift-frontend -enable-sil-ownership -parse-stdlib -parse-as-library -emit-silgen %s | %FileCheck %s --check-prefix=GUARANTEED
45

test/SILGen/collection_downcast.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -sdk %S/Inputs -I %S/Inputs -enable-source-import %s | %FileCheck %s
34

45
// REQUIRES: objc_interop

test/SILGen/collection_subtype_downcast.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership -sdk %S/Inputs %s | %FileCheck %s
34

45
struct S { var x, y: Int }

test/SILGen/collection_subtype_upcast.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership -sdk %S/Inputs %s | %FileCheck %s
34

45
struct S { var x, y: Int }

test/SILGen/collection_upcast.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -sdk %S/Inputs -I %S/Inputs -enable-source-import %s | %FileCheck %s
34

45
// FIXME: rdar://problem/19648117 Needs splitting objc parts out

test/SILGen/constrained_extensions.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership -primary-file %s | %FileCheck %s
34
// RUN: %target-swift-frontend -emit-sil -O -primary-file %s > /dev/null
45
// RUN: %target-swift-frontend -emit-ir -primary-file %s > /dev/null

test/SILGen/default_arguments.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -enable-sil-ownership -emit-silgen -swift-version 3 %s | %FileCheck %s
34
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -enable-sil-ownership -emit-silgen -swift-version 3 %s | %FileCheck %s --check-prefix=NEGATIVE
45

test/SILGen/default_arguments_generic.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership -swift-version 3 %s | %FileCheck %s
34
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership -swift-version 4 %s | %FileCheck %s
45

test/SILGen/default_arguments_serialized.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swift-frontend -emit-module-path %t/default_arguments_other.swiftmodule -emit-module -swift-version 4 -primary-file %S/Inputs/default_arguments_other.swift
45

test/SILGen/dependent_member_lowering.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
protocol P {

test/SILGen/downcast_reabstraction.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
// CHECK-LABEL: sil hidden @$S22downcast_reabstraction19condFunctionFromAnyyyypF

test/SILGen/dynamic.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %build-silgen-test-overlays
45

test/SILGen/dynamic_lookup.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -parse-as-library -emit-silgen -disable-objc-attr-requires-foundation-module %s | %FileCheck %s
34
// RUN: %target-swift-frontend -parse-as-library -emit-silgen -disable-objc-attr-requires-foundation-module %s | %FileCheck %s --check-prefix=GUARANTEED
45

test/SILGen/dynamic_lookup_throws.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %build-clang-importer-objc-overlays
45

test/SILGen/dynamic_self.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen %s -disable-objc-attr-requires-foundation-module | %FileCheck %s
34
// RUN: %target-swift-frontend -emit-sil -O %s -disable-objc-attr-requires-foundation-module
45
// RUN: %target-swift-frontend -emit-ir %s -disable-objc-attr-requires-foundation-module

test/SILGen/enum.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -parse-stdlib -parse-as-library -emit-silgen -enable-sil-ownership -module-name Swift %s | %FileCheck %s
34

45
precedencegroup AssignmentPrecedence { assignment: true }

test/SILGen/enum_resilience.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swift-frontend -emit-module -enable-resilience -emit-module-path=%t/resilient_struct.swiftmodule -module-name=resilient_struct %S/../Inputs/resilient_struct.swift
45
// RUN: %target-swift-frontend -emit-module -enable-resilience -emit-module-path=%t/resilient_enum.swiftmodule -module-name=resilient_enum -I %t %S/../Inputs/resilient_enum.swift

test/SILGen/erasure_reabstraction.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
struct Foo {}

test/SILGen/existential_erasure.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: plus_one_runtime
2+
23
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
34

45
protocol P {

0 commit comments

Comments
 (0)