@@ -794,8 +794,8 @@ enum IntFormat {
794
794
}
795
795
796
796
// getIntegerFormatSpecifier(IntFormat:isPrivate:bitWidth:isSigned:)
797
- sil @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String {
798
- bb0(%0 : $IntFormat, %1 : $Bool, %2 : $Int , %3 : $Bool):
797
+ sil @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String {
798
+ bb0(%0 : $IntFormat, %1 : $Bool, %2 : $Int64 , %3 : $Bool):
799
799
%10 = alloc_stack $String, var, name "formatSpecifier"
800
800
%11 = struct_extract %1 : $Bool, #Bool._value
801
801
cond_br %11, bb1, bb2
821
821
bb3(%27 : $String):
822
822
store %27 to %10 : $*String
823
823
%29 = integer_literal $Builtin.Int64, 64
824
- %30 = struct_extract %2 : $Int , #Int ._value
824
+ %30 = struct_extract %2 : $Int64 , #Int64 ._value
825
825
%31 = builtin "cmp_eq_Int64"(%30 : $Builtin.Int64, %29 : $Builtin.Int64) : $Builtin.Int1
826
826
%32 = struct $Bool (%31 : $Builtin.Int1)
827
827
%33 = struct_extract %32 : $Bool, #Bool._value
@@ -927,11 +927,11 @@ bb0:
927
927
%4 = integer_literal $Builtin.Int1, -1
928
928
%5 = struct $Bool (%4 : $Builtin.Int1)
929
929
%6 = integer_literal $Builtin.Int64, 64
930
- %7 = struct $Int (%6 : $Builtin.Int64)
930
+ %7 = struct $Int64 (%6 : $Builtin.Int64)
931
931
%8 = integer_literal $Builtin.Int1, -1
932
932
%9 = struct $Bool (%8 : $Builtin.Int1)
933
- %10 = function_ref @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String
934
- %11 = apply %10(%3, %5, %7, %9) : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String
933
+ %10 = function_ref @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String
934
+ %11 = apply %10(%3, %5, %7, %9) : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String
935
935
return %11 : $String
936
936
} // CHECK: Returns string: "%{private}lld"
937
937
@@ -943,11 +943,11 @@ bb0:
943
943
%4 = integer_literal $Builtin.Int1, -1
944
944
%5 = struct $Bool (%4 : $Builtin.Int1)
945
945
%6 = integer_literal $Builtin.Int64, 64
946
- %7 = struct $Int (%6 : $Builtin.Int64)
946
+ %7 = struct $Int64 (%6 : $Builtin.Int64)
947
947
%8 = integer_literal $Builtin.Int1, -1
948
948
%9 = struct $Bool (%8 : $Builtin.Int1)
949
- %10 = function_ref @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String
950
- %11 = apply %10(%3, %5, %7, %9) : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String
949
+ %10 = function_ref @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String
950
+ %11 = apply %10(%3, %5, %7, %9) : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String
951
951
return %11 : $String
952
952
} // CHECK: Returns string: "%{private}llx"
953
953
@@ -959,11 +959,11 @@ bb0:
959
959
%4 = integer_literal $Builtin.Int1, 0
960
960
%5 = struct $Bool (%4 : $Builtin.Int1)
961
961
%6 = integer_literal $Builtin.Int64, 32
962
- %7 = struct $Int (%6 : $Builtin.Int64)
962
+ %7 = struct $Int64 (%6 : $Builtin.Int64)
963
963
%8 = integer_literal $Builtin.Int1, -1
964
964
%9 = struct $Bool (%8 : $Builtin.Int1)
965
- %10 = function_ref @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String
966
- %11 = apply %10(%3, %5, %7, %9) : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String
965
+ %10 = function_ref @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String
966
+ %11 = apply %10(%3, %5, %7, %9) : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String
967
967
return %11 : $String
968
968
} // CHECK: Returns string: "%{public}o"
969
969
@@ -975,10 +975,10 @@ bb0:
975
975
%4 = integer_literal $Builtin.Int1, 0
976
976
%5 = struct $Bool (%4 : $Builtin.Int1)
977
977
%6 = integer_literal $Builtin.Int64, 64
978
- %7 = struct $Int (%6 : $Builtin.Int64)
978
+ %7 = struct $Int64 (%6 : $Builtin.Int64)
979
979
%8 = integer_literal $Builtin.Int1, 0
980
980
%9 = struct $Bool (%8 : $Builtin.Int1)
981
- %10 = function_ref @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String
982
- %11 = apply %10(%3, %5, %7, %9) : $@convention(thin) (IntFormat, Bool, Int , Bool) -> @owned String
981
+ %10 = function_ref @getIntegerFormatSpecifier : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String
982
+ %11 = apply %10(%3, %5, %7, %9) : $@convention(thin) (IntFormat, Bool, Int64 , Bool) -> @owned String
983
983
return %11 : $String
984
984
} // CHECK: Returns string: "%{public}llu"
0 commit comments