File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1811,7 +1811,7 @@ struct SILDebugVariable {
1811
1811
bool operator ==(const SILDebugVariable &V) {
1812
1812
return ArgNo == V.ArgNo && Constant == V.Constant && Name == V.Name &&
1813
1813
Implicit == V.Implicit && Type == V.Type && Loc == V.Loc &&
1814
- Scope == V.Scope && DIExpr == DIExpr;
1814
+ Scope == V.Scope && DIExpr == V. DIExpr ;
1815
1815
}
1816
1816
1817
1817
bool isLet () const { return Name.size () && Constant; }
Original file line number Diff line number Diff line change @@ -97,9 +97,13 @@ ArchetypeToConcreteConvertUInt8(t: c)
97
97
ArchetypeToConcreteConvertUInt8 ( t: f)
98
98
99
99
// x -> x where x is not a class.
100
+ //
101
+ // TODO: Why is the optimizer cloning twice here.
102
+ //
100
103
// CHECK-LABEL: sil shared [noinline] @$s37specialize_unconditional_checked_cast31ArchetypeToConcreteConvertUInt8{{[_0-9a-zA-Z]*}}3Not{{.*}}Tg5 : $@convention(thin) (NotUInt8) -> NotUInt8 {
101
104
// CHECK: bb0
102
105
// CHECK-NEXT: debug_value %0
106
+ // CHECK-NEXT: debug_value %0
103
107
// CHECK-NEXT: return %0
104
108
105
109
// x -> y where y is a class but x is not.
@@ -120,6 +124,7 @@ ArchetypeToConcreteConvertUInt8(t: f)
120
124
// CHECK-LABEL: sil shared [noinline] @$s37specialize_unconditional_checked_cast27ArchetypeToConcreteConvertC{{[_0-9a-zA-Z]*}}Tg5 : $@convention(thin) (@guaranteed C) -> @owned C {
121
125
// CHECK: bb0([[ARG:%.*]] : $C)
122
126
// CHECK-NEXT: debug_value [[ARG]]
127
+ // CHECK-NEXT: debug_value [[ARG]]
123
128
// CHECK-NEXT: strong_retain [[ARG]]
124
129
// CHECK-NEXT: return [[ARG]]
125
130
You can’t perform that action at this time.
0 commit comments