@@ -10,17 +10,17 @@ enum DupCaseEnum {
10
10
case secondCase
11
11
}
12
12
13
- // CHECK-LABEL: sil @performSwitch : $@convention(thin) (Int , @thin DupCaseEnum.Type) -> DupCaseEnum {
14
- // CHECK: bb0(%0 : $Int , %1 : $@thin DupCaseEnum.Type):
13
+ // CHECK-LABEL: sil @performSwitch : $@convention(thin) (Int64 , @thin DupCaseEnum.Type) -> DupCaseEnum {
14
+ // CHECK: bb0(%0 : $Int64 , %1 : $@thin DupCaseEnum.Type):
15
15
// CHECK: select_value
16
16
// CHECK: br bb1
17
17
// CHECK: bb1:
18
18
// CHECK: return
19
- sil @performSwitch : $@convention(thin) (Int , @thin DupCaseEnum.Type) -> DupCaseEnum {
19
+ sil @performSwitch : $@convention(thin) (Int64 , @thin DupCaseEnum.Type) -> DupCaseEnum {
20
20
// %0 // users: %9, %5, %3, %2
21
- bb0(%0 : $Int , %1 : $@thin DupCaseEnum.Type):
21
+ bb0(%0 : $Int64 , %1 : $@thin DupCaseEnum.Type):
22
22
%4 = integer_literal $Builtin.Int64, 0 // user: %6
23
- %5 = struct_extract %0 : $Int , #Int ._value // user: %6
23
+ %5 = struct_extract %0 : $Int64 , #Int64 ._value // user: %6
24
24
%6 = builtin "cmp_eq_Int64"(%4 : $Builtin.Int64, %5 : $Builtin.Int64) : $Builtin.Int1 // users: %10, %7
25
25
cond_br %6, bb6, bb1 // id: %7
26
26
@@ -50,16 +50,16 @@ bb7(%18 : $DupCaseEnum): // Preds: bb6 bb5 bb4
50
50
return %18 : $DupCaseEnum // id: %19
51
51
}
52
52
53
- // CHECK-LABEL: sil @performSwitch_bail_out : $@convention(thin) (Int , @thin DupCaseEnum.Type) -> DupCaseEnum {
54
- // CHECK: bb0(%0 : $Int , %1 : $@thin DupCaseEnum.Type):
53
+ // CHECK-LABEL: sil @performSwitch_bail_out : $@convention(thin) (Int64 , @thin DupCaseEnum.Type) -> DupCaseEnum {
54
+ // CHECK: bb0(%0 : $Int64 , %1 : $@thin DupCaseEnum.Type):
55
55
// CHECK-NOT: select_value
56
56
// CHECK-NOT: br bb1
57
57
// CHECK: cond_br
58
- sil @performSwitch_bail_out : $@convention(thin) (Int , @thin DupCaseEnum.Type) -> DupCaseEnum {
58
+ sil @performSwitch_bail_out : $@convention(thin) (Int64 , @thin DupCaseEnum.Type) -> DupCaseEnum {
59
59
// %0 // users: %9, %5, %3, %2
60
- bb0(%0 : $Int , %1 : $@thin DupCaseEnum.Type):
60
+ bb0(%0 : $Int64 , %1 : $@thin DupCaseEnum.Type):
61
61
%4 = integer_literal $Builtin.Int64, 0 // user: %6
62
- %5 = struct_extract %0 : $Int , #Int ._value // user: %6
62
+ %5 = struct_extract %0 : $Int64 , #Int64 ._value // user: %6
63
63
%6 = builtin "cmp_eq_Int64"(%4 : $Builtin.Int64, %5 : $Builtin.Int64) : $Builtin.Int1 // users: %10, %7
64
64
cond_br %6, bb6, bb1 // id: %7
65
65
0 commit comments