Skip to content

Commit 8212f9c

Browse files
authored
Merge pull request swiftlang#15100 from gottesmm/pr-1b7978d152cccafcfeb24e8d0c282ec7a966f1c2
XFAIL test wherein optimizations are not kicking in when compiling wi…
2 parents 62e0703 + a399d9b commit 8212f9c

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

test/SILOptimizer/array_contentof_opt.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-swift-frontend -O -sil-verify-all -emit-sil %s | %FileCheck %s
22
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
33

4+
// XFAIL: plus_zero_runtime
5+
46
// This is an end-to-end test of the array(contentsOf) -> array(Element) optimization
57

68
// CHECK-LABEL: sil @{{.*}}testInt

test/SILOptimizer/optionset.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// RUN: %target-swift-frontend -parse-as-library -primary-file %s -Osize -sil-verify-all -module-name=test -emit-sil | %FileCheck %s
33
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
44

5+
// XFAIL: plus_zero_runtime
6+
57
public struct TestOptions: OptionSet {
68
public let rawValue: Int
79
public init(rawValue: Int) { self.rawValue = rawValue }

test/SILOptimizer/outliner.swift

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

44
// REQUIRES: objc_interop
55

6+
// XFAIL: plus_zero_runtime
7+
68
import Foundation
79

810
public class MyGizmo {

test/SILOptimizer/unused_containers.swift

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

33
// REQUIRES: swift_stdlib_no_asserts
44

5+
// XFAIL: plus_zero_runtime
6+
57
//CHECK-LABEL: @$S17unused_containers16empty_array_testyyF
68
//CHECK: bb0:
79
//CHECK-NEXT: tuple

0 commit comments

Comments
 (0)