<commit_before>// RUN: %target-swift-frontend %s -O -emit-sil | %FileCheck %s

// CHECK-LABEL: sil shared [transparent] [thunk] @$sSf4main7NumProtA2aBP5valueSdyFTW : $@convention(witness_method: NumProt) (@in_guaranteed Float) -> Double
// CHECK-NOT: %1 = load %0 : $*Float
// CHECK-NOT: function_ref @$sSf4mainE5valueSdyF : $@convention(method) (Float) -> Double
// CHECK: %1 = struct_element_addr %0 : $*Float, #Float._value // user: %2
// CHECK: %2 = load %1 : $*Builtin.FPIEEE32               // user: %3
// CHECK: %3 = builtin "fpext_FPIEEE32_FPIEEE64"(%2 : $Builtin.FPIEEE32) : $Builtin.FPIEEE64 // user: %4
// CHECK: %4 = struct $Double (%3 : $Builtin.FPIEEE64)    // user: %5
// CHECK: return %4 : $Double

public protocol NumProt: Prot {<commit_msg>Fix a test case with copy-pasted SIL IDs.<commit_after>// RUN: %target-swift-frontend %s -O -emit-sil | %FileCheck %s

// CHECK-LABEL: sil shared [transparent] [thunk] @$sSf4main7NumProtA2aBP5valueSdyFTW : $@convention(witness_method: NumProt) (@in_guaranteed Float) -> Double
// CHECK-NOT: %1 = load %0 : $*Float
// CHECK-NOT: function_ref @$sSf4mainE5valueSdyF : $@convention(method) (Float) -> Double
// CHECK: struct_element_addr %0 : $*Float, #Float._value
// CHECK: load %{{.*}} : $*Builtin.FPIEEE32
// CHECK: builtin "fpext_FPIEEE32_FPIEEE64"(%{{.*}} : $Builtin.FPIEEE32) : $Builtin.FPIEEE64
// CHECK: struct $Double (%{{.*}} : $Builtin.FPIEEE64)
// CHECK: return

public protocol NumProt: Prot {
{'fraction_non_alphanumeric': 0.18138261464750172, 'fraction_numerical': 0.03696098562628337, 'mean_word_length': 4.202846975088968, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6541071', 'n_tokens_mistral': 594, 'n_tokens_neox': 552, 'n_words': 129}