@@ -348,7 +348,7 @@ fn G() {
348348// CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric]
349349// CHECK:STDOUT: %Generic.facet: %Generic.type.769 = facet_value constants.%ImplsGeneric, (constants.%impl_witness) [concrete = constants.%Generic.facet]
350350// CHECK:STDOUT: %.loc20: %Generic.type.769 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet]
351- // CHECK:STDOUT: %CallGenericMethod.specific_fn: <specific function> = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, %.loc20 ) [concrete = constants.%CallGenericMethod.specific_fn.934]
351+ // CHECK:STDOUT: %CallGenericMethod.specific_fn: <specific function> = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet ) [concrete = constants.%CallGenericMethod.specific_fn.934]
352352// CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn()
353353// CHECK:STDOUT: return
354354// CHECK:STDOUT: }
@@ -381,7 +381,7 @@ fn G() {
381381// CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric]
382382// CHECK:STDOUT: %Generic.facet: %Generic.type.769 = facet_value constants.%ImplsGeneric, (constants.%impl_witness) [concrete = constants.%Generic.facet]
383383// CHECK:STDOUT: %.loc28: %Generic.type.769 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet]
384- // CHECK:STDOUT: %PassThroughToGenericMethod.specific_fn: <specific function> = specific_function %PassThroughToGenericMethod.ref, @PassThroughToGenericMethod(constants.%GenericParam, %.loc28 ) [concrete = constants.%PassThroughToGenericMethod.specific_fn]
384+ // CHECK:STDOUT: %PassThroughToGenericMethod.specific_fn: <specific function> = specific_function %PassThroughToGenericMethod.ref, @PassThroughToGenericMethod(constants.%GenericParam, constants.%Generic.facet ) [concrete = constants.%PassThroughToGenericMethod.specific_fn]
385385// CHECK:STDOUT: %PassThroughToGenericMethod.call: init %empty_tuple.type = call %PassThroughToGenericMethod.specific_fn()
386386// CHECK:STDOUT: return
387387// CHECK:STDOUT: }
@@ -427,7 +427,7 @@ fn G() {
427427// CHECK:STDOUT:
428428// CHECK:STDOUT: specific @Generic(@CallGenericMethod.%T.loc17_22.2) {}
429429// CHECK:STDOUT:
430- // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, @G.%.loc20 ) {
430+ // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet ) {
431431// CHECK:STDOUT: %T.loc17_22.2 => constants.%GenericParam
432432// CHECK:STDOUT: %T.patt.loc17_22.2 => constants.%GenericParam
433433// CHECK:STDOUT: %Generic.type.loc17_45.2 => constants.%Generic.type.769
@@ -437,14 +437,6 @@ fn G() {
437437// CHECK:STDOUT: !definition:
438438// CHECK:STDOUT: }
439439// CHECK:STDOUT:
440- // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) {
441- // CHECK:STDOUT: %T.loc17_22.2 => constants.%GenericParam
442- // CHECK:STDOUT: %T.patt.loc17_22.2 => constants.%GenericParam
443- // CHECK:STDOUT: %Generic.type.loc17_45.2 => constants.%Generic.type.769
444- // CHECK:STDOUT: %U.loc17_32.2 => constants.%Generic.facet
445- // CHECK:STDOUT: %U.patt.loc17_32.2 => constants.%Generic.facet
446- // CHECK:STDOUT: }
447- // CHECK:STDOUT:
448440// CHECK:STDOUT: specific @PassThroughToGenericMethod(constants.%T, constants.%U) {
449441// CHECK:STDOUT: %T.loc23_31.2 => constants.%T
450442// CHECK:STDOUT: %T.patt.loc23_31.2 => constants.%T
@@ -457,7 +449,7 @@ fn G() {
457449// CHECK:STDOUT:
458450// CHECK:STDOUT: specific @CallGenericMethod(@PassThroughToGenericMethod.%T.loc23_31.2, @PassThroughToGenericMethod.%U.loc23_41.2) {}
459451// CHECK:STDOUT:
460- // CHECK:STDOUT: specific @PassThroughToGenericMethod(constants.%GenericParam, @H.%.loc28 ) {
452+ // CHECK:STDOUT: specific @PassThroughToGenericMethod(constants.%GenericParam, constants.%Generic.facet ) {
461453// CHECK:STDOUT: %T.loc23_31.2 => constants.%GenericParam
462454// CHECK:STDOUT: %T.patt.loc23_31.2 => constants.%GenericParam
463455// CHECK:STDOUT: %Generic.type.loc23_54.2 => constants.%Generic.type.769
@@ -468,14 +460,6 @@ fn G() {
468460// CHECK:STDOUT: %CallGenericMethod.specific_fn.loc24_3.2 => constants.%CallGenericMethod.specific_fn.934
469461// CHECK:STDOUT: }
470462// CHECK:STDOUT:
471- // CHECK:STDOUT: specific @PassThroughToGenericMethod(constants.%GenericParam, constants.%Generic.facet) {
472- // CHECK:STDOUT: %T.loc23_31.2 => constants.%GenericParam
473- // CHECK:STDOUT: %T.patt.loc23_31.2 => constants.%GenericParam
474- // CHECK:STDOUT: %Generic.type.loc23_54.2 => constants.%Generic.type.769
475- // CHECK:STDOUT: %U.loc23_41.2 => constants.%Generic.facet
476- // CHECK:STDOUT: %U.patt.loc23_41.2 => constants.%Generic.facet
477- // CHECK:STDOUT: }
478- // CHECK:STDOUT:
479463// CHECK:STDOUT: --- generic_facet_type_from_implicit_param.carbon
480464// CHECK:STDOUT:
481465// CHECK:STDOUT: constants {
@@ -652,7 +636,7 @@ fn G() {
652636// CHECK:STDOUT: %.loc20_38.1: ref %GenericParam = converted %.loc20_36.1, %.loc20_36.4
653637// CHECK:STDOUT: %Generic.facet: %Generic.type.769 = facet_value constants.%ImplsGeneric, (constants.%impl_witness) [concrete = constants.%Generic.facet]
654638// CHECK:STDOUT: %.loc20_53: %Generic.type.769 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet]
655- // CHECK:STDOUT: %CallGenericMethod.specific_fn: <specific function> = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, %.loc20_53 ) [concrete = constants.%CallGenericMethod.specific_fn]
639+ // CHECK:STDOUT: %CallGenericMethod.specific_fn: <specific function> = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet ) [concrete = constants.%CallGenericMethod.specific_fn]
656640// CHECK:STDOUT: %.loc20_38.2: %GenericParam = bind_value %.loc20_38.1
657641// CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn(%.loc20_38.2)
658642// CHECK:STDOUT: return
@@ -697,7 +681,7 @@ fn G() {
697681// CHECK:STDOUT:
698682// CHECK:STDOUT: specific @Generic(@CallGenericMethod.%T.loc17_22.2) {}
699683// CHECK:STDOUT:
700- // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, @G.%.loc20_53 ) {
684+ // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet ) {
701685// CHECK:STDOUT: %T.loc17_22.2 => constants.%GenericParam
702686// CHECK:STDOUT: %T.patt.loc17_22.2 => constants.%GenericParam
703687// CHECK:STDOUT: %Generic.type.loc17_45.2 => constants.%Generic.type.769
@@ -708,11 +692,3 @@ fn G() {
708692// CHECK:STDOUT: %require_complete => constants.%complete_type
709693// CHECK:STDOUT: }
710694// CHECK:STDOUT:
711- // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) {
712- // CHECK:STDOUT: %T.loc17_22.2 => constants.%GenericParam
713- // CHECK:STDOUT: %T.patt.loc17_22.2 => constants.%GenericParam
714- // CHECK:STDOUT: %Generic.type.loc17_45.2 => constants.%Generic.type.769
715- // CHECK:STDOUT: %U.loc17_32.2 => constants.%Generic.facet
716- // CHECK:STDOUT: %U.patt.loc17_32.2 => constants.%Generic.facet
717- // CHECK:STDOUT: }
718- // CHECK:STDOUT:
0 commit comments