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
22
33import Builtin
44
@@ -10,7 +10,7 @@ import Builtin
1010// CHECK-SAME: {{%[^,]+}} : $@thick T.Type):
1111// CHECK: [[SELF_RAW_VALUE:%[^,]+]] = struct_extract [[SELF]] : {{.*}} #UnsafeMutableRawPointer._rawValue
1212// 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]] )
1414// CHECK: [[DESTINATION_POINTER:%[^,]+]] = index_raw_pointer [[SELF_RAW_VALUE]] : $Builtin.RawPointer, [[OFFSET_WORD]]
1515// CHECK: [[DESTINATION:%[^,]+]] = pointer_to_address [[DESTINATION_POINTER]] : $Builtin.RawPointer to [align=1]
1616// CHECK: copy_addr [[VALUE]] to [[DESTINATION]]
You can’t perform that action at this time.
0 commit comments