Skip to content

Commit c00b985

Browse files
committed
[test] Temporarily xfail tests broken by lack of is_same_metatype use
1 parent c2d33b4 commit c00b985

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

test/SILOptimizer/compare_types.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %target-swift-frontend -O -emit-sil %s | %FileCheck %s
22

3+
// is_same_metatype builtin is no longer used due to rdar://145707064 (Builtin.is_same_metatype should support noncopyable/nonescapable types)
4+
// XFAIL: rdar145707064
5+
36
// Check type equality related optimizations.
47

58
// CHECK-LABEL: sil @{{.*}}areEqualTypes1{{.*}} : $@convention(thin)

test/SILOptimizer/existential_metatype.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
// RUN: %target-swift-frontend %s -O -Xllvm -sil-print-types -emit-sil -parse-as-library | %FileCheck %s
2+
3+
// is_same_metatype builtin is no longer used due to rdar://145707064 (Builtin.is_same_metatype should support noncopyable/nonescapable types)
4+
// XFAIL: rdar145707064
5+
26
protocol SomeP {}
37

48
public enum SpecialEnum : SomeP {}

test/SILOptimizer/onone_simplifications.swift

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

33
// REQUIRES: swift_in_compiler
44

5+
// is_same_metatype builtin is no longer used due to rdar://145707064 (Builtin.is_same_metatype should support noncopyable/nonescapable types)
6+
// XFAIL: rdar145707064
7+
58
// CHECK-LABEL: sil [transparent] @$s4test9checkTypeySixs17FixedWidthIntegerRzlF
69
@_transparent
710
public func checkType<A: FixedWidthInteger>(_ a: A) -> Int {

0 commit comments

Comments
 (0)