File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil-parse-stdlib -O -emit-ir %s | %FileCheck %s
1
+ // RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -O -emit-ir %s | %FileCheck %s
2
2
sil_stage canonical
3
3
4
4
import Swift
@@ -11,16 +11,16 @@ import Builtin
11
11
// CHECK: ret i64 [[RES]]
12
12
// CHECK: }
13
13
14
- sil @test_assume : $@convention(thin) (Int ) -> Int {
15
- bb0(%0 : $Int ):
14
+ sil @test_assume : $@convention(thin) (Int64 ) -> Int64 {
15
+ bb0(%0 : $Int64 ):
16
16
%2 = integer_literal $Builtin.Int64, 0
17
- %3 = struct_extract %0 : $Int , #Int ._value
17
+ %3 = struct_extract %0 : $Int64 , #Int64 ._value
18
18
%4 = builtin "cmp_slt_Int64"(%3 : $Builtin.Int64, %2 : $Builtin.Int64) : $Builtin.Int1
19
19
%5 = integer_literal $Builtin.Int1, -1
20
20
%6 = builtin "xor_Int1"(%4 : $Builtin.Int1, %5 : $Builtin.Int1) : $Builtin.Int1
21
21
%7 = builtin "assume_Int1"(%6 : $Builtin.Int1) : $Builtin.Int1
22
22
%8 = integer_literal $Builtin.Int64, 64
23
23
%9 = builtin "sdiv_Int64"(%3 : $Builtin.Int64, %8 : $Builtin.Int64) : $Builtin.Int64
24
- %10 = struct $Int (%9 : $Builtin.Int64)
25
- return %10 : $Int
24
+ %10 = struct $Int64 (%9 : $Builtin.Int64)
25
+ return %10 : $Int64
26
26
}
You can’t perform that action at this time.
0 commit comments