Skip to content

Commit 175b4cb

Browse files
committed
---
yaml --- r: 347632 b: refs/heads/master c: 5a271b7 h: refs/heads/master
1 parent 224aec5 commit 175b4cb

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c9ecad182aad65462ac513f0004cf4e8587e4fb3
2+
refs/heads/master: 5a271b74bbfde6f5c920a997369b1f5831f121e5
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/test/SILOptimizer/constant_evaluator_test.sil

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -794,8 +794,8 @@ enum IntFormat {
794794
}
795795

796796
// 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):
799799
%10 = alloc_stack $String, var, name "formatSpecifier"
800800
%11 = struct_extract %1 : $Bool, #Bool._value
801801
cond_br %11, bb1, bb2
@@ -821,7 +821,7 @@ bb2:
821821
bb3(%27 : $String):
822822
store %27 to %10 : $*String
823823
%29 = integer_literal $Builtin.Int64, 64
824-
%30 = struct_extract %2 : $Int, #Int._value
824+
%30 = struct_extract %2 : $Int64, #Int64._value
825825
%31 = builtin "cmp_eq_Int64"(%30 : $Builtin.Int64, %29 : $Builtin.Int64) : $Builtin.Int1
826826
%32 = struct $Bool (%31 : $Builtin.Int1)
827827
%33 = struct_extract %32 : $Bool, #Bool._value
@@ -927,11 +927,11 @@ bb0:
927927
%4 = integer_literal $Builtin.Int1, -1
928928
%5 = struct $Bool (%4 : $Builtin.Int1)
929929
%6 = integer_literal $Builtin.Int64, 64
930-
%7 = struct $Int (%6 : $Builtin.Int64)
930+
%7 = struct $Int64 (%6 : $Builtin.Int64)
931931
%8 = integer_literal $Builtin.Int1, -1
932932
%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
935935
return %11 : $String
936936
} // CHECK: Returns string: "%{private}lld"
937937

@@ -943,11 +943,11 @@ bb0:
943943
%4 = integer_literal $Builtin.Int1, -1
944944
%5 = struct $Bool (%4 : $Builtin.Int1)
945945
%6 = integer_literal $Builtin.Int64, 64
946-
%7 = struct $Int (%6 : $Builtin.Int64)
946+
%7 = struct $Int64 (%6 : $Builtin.Int64)
947947
%8 = integer_literal $Builtin.Int1, -1
948948
%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
951951
return %11 : $String
952952
} // CHECK: Returns string: "%{private}llx"
953953

@@ -959,11 +959,11 @@ bb0:
959959
%4 = integer_literal $Builtin.Int1, 0
960960
%5 = struct $Bool (%4 : $Builtin.Int1)
961961
%6 = integer_literal $Builtin.Int64, 32
962-
%7 = struct $Int (%6 : $Builtin.Int64)
962+
%7 = struct $Int64 (%6 : $Builtin.Int64)
963963
%8 = integer_literal $Builtin.Int1, -1
964964
%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
967967
return %11 : $String
968968
} // CHECK: Returns string: "%{public}o"
969969

@@ -975,10 +975,10 @@ bb0:
975975
%4 = integer_literal $Builtin.Int1, 0
976976
%5 = struct $Bool (%4 : $Builtin.Int1)
977977
%6 = integer_literal $Builtin.Int64, 64
978-
%7 = struct $Int (%6 : $Builtin.Int64)
978+
%7 = struct $Int64 (%6 : $Builtin.Int64)
979979
%8 = integer_literal $Builtin.Int1, 0
980980
%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
983983
return %11 : $String
984984
} // CHECK: Returns string: "%{public}llu"

0 commit comments

Comments
 (0)