File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
validation-test/compiler_crashers_2_fixed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 33// CHECK-LABEL: sil shared [transparent] [thunk] @$sSf4main7NumProtA2aBP5valueSdyFTW : $@convention(witness_method: NumProt) (@in_guaranteed Float) -> Double
44// CHECK-NOT: %1 = load %0 : $*Float
55// CHECK-NOT: function_ref @$sSf4mainE5valueSdyF : $@convention(method) (Float) -> Double
6- // CHECK: %1 = struct_element_addr %0 : $*Float, #Float._value // user: %2
7- // CHECK: %2 = load %1 : $*Builtin.FPIEEE32 // user: %3
8- // CHECK: %3 = builtin "fpext_FPIEEE32_FPIEEE64"(%2 : $Builtin.FPIEEE32) : $Builtin.FPIEEE64 // user: %4
9- // CHECK: %4 = struct $Double (%3 : $Builtin.FPIEEE64) // user: %5
10- // CHECK: return %4 : $Double
6+ // CHECK: struct_element_addr %0 : $*Float, #Float._value
7+ // CHECK: load %{{.*}} : $*Builtin.FPIEEE32
8+ // CHECK: builtin "fpext_FPIEEE32_FPIEEE64"(%{{.*}} : $Builtin.FPIEEE32) : $Builtin.FPIEEE64
9+ // CHECK: struct $Double (%{{.*}} : $Builtin.FPIEEE64)
10+ // CHECK: return
1111
1212public protocol NumProt : Prot {
1313 func value( ) -> Double
You can’t perform that action at this time.
0 commit comments