@@ -37,7 +37,7 @@ private func useOptionalK(_: K?) -> Int {
37
37
// CHECK: store %T12debug_poison1KC* [[REF]], %T12debug_poison1KC** %b.debug
38
38
// CHECK: [[Y:%.*]] = call {{.*}} [[INT]] @"$s12debug_poison4use{{.*}}"(%T12debug_poison1KC* [[REF]])
39
39
// CHECK: call void {{.*}} @swift_release {{.*}} [[REF]]
40
- // CHECK: store %T12debug_poison1KC* inttoptr ([[INT]] 2176 to %T12debug_poison1KC*), %T12debug_poison1KC** %b.debug
40
+ // CHECK: store %T12debug_poison1KC* inttoptr ([[INT]] 1088 to %T12debug_poison1KC*), %T12debug_poison1KC** %b.debug
41
41
// CHECK: store [[INT]] [[Y]], [[INT]]* %y.debug
42
42
// CHECK: call {{.*}} void @"$s12debug_poison6useIntyySiF"([[INT]] [[Y]])
43
43
public func testPoisonRef( ) {
@@ -56,7 +56,7 @@ public func testPoisonRef() {
56
56
// CHECK: [[Y:%.*]] = call {{.*}} [[INT]] @"$s12debug_poison12useOptionalK{{.*}}"([[INT]] [[REF]])
57
57
// CHECK: call void @swift_release
58
58
// CHECK: [[NIL:%.*]] = icmp eq [[INT]] [[REF]], 0
59
- // CHECK: [[POISON:%.*]] = select i1 [[NIL]], [[INT]] [[REF]], [[INT]] 2176
59
+ // CHECK: [[POISON:%.*]] = select i1 [[NIL]], [[INT]] [[REF]], [[INT]] 1088
60
60
// CHECK: store [[INT]] [[POISON]], [[INT]]* %b.debug
61
61
// CHECK: store [[INT]] [[Y]], [[INT]]* %y.debug
62
62
// CHECK: call {{.*}} void @"$s12debug_poison6useIntyySiF"([[INT]] [[Y]])
@@ -80,7 +80,7 @@ public func testPoisonOptionalRef() {
80
80
// CHECK: call {{.*}} void @"$s12debug_poison6useAnyyyypF"(
81
81
// CHECK: call void @swift_{{unknownObjectRelease|release}}(%[[REFTY]]* [[REF]]) #1
82
82
// CHECK: [[GEP1:%.*]] = getelementptr inbounds %T12debug_poison1PP, %T12debug_poison1PP* %b.debug, i32 0, i32 0
83
- // CHECK: store %[[REFTY]]* inttoptr ([[INT]] 2176 to %[[REFTY]]*), %[[REFTY]]** [[GEP1]]
83
+ // CHECK: store %[[REFTY]]* inttoptr ([[INT]] 1088 to %[[REFTY]]*), %[[REFTY]]** [[GEP1]]
84
84
// CHECK: call {{.*}} void @"$s12debug_poison7useNoneyyF"()
85
85
public func testPoisonExistential( ) {
86
86
let b : P = D ( )
@@ -102,7 +102,7 @@ public func testPoisonExistential() {
102
102
// CHECK: call {{.*}} void @"$s12debug_poison6useAnyyyypF"(
103
103
// CHECK: call void @swift_{{unknownObjectRelease|release}}(%[[REFTY]]* [[REF]]) #1
104
104
// CHECK: [[GEP1:%.*]] = getelementptr inbounds %T12debug_poison1Q_Xl, %T12debug_poison1Q_Xl* %b.debug, i32 0, i32 0
105
- // CHECK: store %[[REFTY]]* inttoptr ([[INT]] 2176 to %[[REFTY]]*), %[[REFTY]]** [[GEP1]]
105
+ // CHECK: store %[[REFTY]]* inttoptr ([[INT]] 1088 to %[[REFTY]]*), %[[REFTY]]** [[GEP1]]
106
106
// CHECK: call {{.*}} void @"$s12debug_poison7useNoneyyF"()
107
107
public func testPoisonComposite( ) {
108
108
let b : Q & AnyObject = E ( )
0 commit comments