File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-frontend -enable-builtin-module -O -emit-sil %s | %FileCheck %s
1
+ // RUN: %target-swift-frontend -enable-builtin-module -O -emit-sil %s | %IRGenFileCheck %s
2
2
3
3
import Builtin
4
4
@@ -10,7 +10,7 @@ import Builtin
10
10
// CHECK-SAME: {{%[^,]+}} : $@thick T.Type):
11
11
// CHECK: [[SELF_RAW_VALUE:%[^,]+]] = struct_extract [[SELF]] : {{.*}} #UnsafeMutableRawPointer._rawValue
12
12
// CHECK: [[OFFSET_VALUE:%[^,]+]] = struct_extract [[OFFSET]] : {{.*}} #Int._value
13
- // CHECK: [[OFFSET_WORD:%[^,]+]] = builtin "truncOrBitCast_Int64_Word "([[OFFSET_VALUE]] : $Builtin.Int64 )
13
+ // CHECK: [[OFFSET_WORD:%[^,]+]] = builtin "{{trunc|sext}}OrBitCast_Int[[PTR_SIZE]]_Word "([[OFFSET_VALUE]] : $Builtin.Int[[PTR_SIZE]] )
14
14
// CHECK: [[DESTINATION_POINTER:%[^,]+]] = index_raw_pointer [[SELF_RAW_VALUE]] : $Builtin.RawPointer, [[OFFSET_WORD]]
15
15
// CHECK: [[DESTINATION:%[^,]+]] = pointer_to_address [[DESTINATION_POINTER]] : $Builtin.RawPointer to [align=1]
16
16
// CHECK: copy_addr [[VALUE]] to [[DESTINATION]]
You can’t perform that action at this time.
0 commit comments