From a8afc45ed5a1bd02f4c89c44034413d886c71430 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 13 Jul 2026 13:38:19 -0700 Subject: [PATCH] Omit empty `observe:` blocks from formatted SemIR. (#7487) Also add SemIR ranges to observe test, removing 5K lines of uninteresting SemIR output. --- toolchain/check/testdata/alias/basics.carbon | 6 - .../check/testdata/alias/builtins.carbon | 2 - .../check/testdata/alias/export_name.carbon | 6 - toolchain/check/testdata/alias/import.carbon | 12 - .../check/testdata/alias/import_access.carbon | 6 - .../check/testdata/alias/import_order.carbon | 2 - .../check/testdata/alias/in_namespace.carbon | 2 - toolchain/check/testdata/alias/var.carbon | 6 - toolchain/check/testdata/array/basics.carbon | 24 - .../check/testdata/array/bound_values.carbon | 4 - toolchain/check/testdata/array/import.carbon | 8 - .../testdata/array/index_not_literal.carbon | 10 - .../array/init_dependent_bound.carbon | 4 - .../testdata/as/adapter_conversion.carbon | 10 - toolchain/check/testdata/as/basics.carbon | 22 - toolchain/check/testdata/as/const.carbon | 18 - .../check/testdata/as/maybe_unformed.carbon | 18 - toolchain/check/testdata/as/partial.carbon | 14 - toolchain/check/testdata/as/var_init.carbon | 4 - .../testdata/basics/dump_sem_ir_ranges.carbon | 6 - .../basics/duplicate_name_same_line.carbon | 2 - .../testdata/basics/include_in_dumps.carbon | 10 - .../check/testdata/basics/multi_error.carbon | 2 - .../check/testdata/basics/name_lookup.carbon | 4 - toolchain/check/testdata/basics/parens.carbon | 2 - .../testdata/basics/raw_identifier.carbon | 6 - .../multifile_with_textual_ir.carbon | 4 - .../one_file_with_textual_ir.carbon | 2 - .../check/testdata/builtins/bool/eq.carbon | 4 - .../testdata/builtins/bool/make_type.carbon | 2 - .../check/testdata/builtins/bool/neq.carbon | 4 - .../testdata/builtins/char_literal/add.carbon | 2 - .../builtins/char_literal/convert_char.carbon | 2 - .../builtins/char_literal/convert_int.carbon | 2 - .../testdata/builtins/char_literal/eq.carbon | 2 - .../builtins/char_literal/greater.carbon | 2 - .../builtins/char_literal/greater_eq.carbon | 2 - .../builtins/char_literal/less.carbon | 2 - .../builtins/char_literal/less_eq.carbon | 2 - .../builtins/char_literal/make_type.carbon | 2 - .../testdata/builtins/char_literal/neq.carbon | 2 - .../builtins/char_literal/sub_char.carbon | 2 - .../builtins/char_literal/sub_int.carbon | 2 - .../check/testdata/builtins/float/add.carbon | 4 - .../testdata/builtins/float/convert.carbon | 14 - .../builtins/float/convert_checked.carbon | 18 - .../builtins/float/convert_int.carbon | 4 - .../check/testdata/builtins/float/div.carbon | 4 - .../check/testdata/builtins/float/eq.carbon | 2 - .../testdata/builtins/float/greater.carbon | 2 - .../testdata/builtins/float/greater_eq.carbon | 2 - .../check/testdata/builtins/float/less.carbon | 2 - .../testdata/builtins/float/less_eq.carbon | 2 - .../testdata/builtins/float/make_type.carbon | 4 - .../check/testdata/builtins/float/mul.carbon | 4 - .../testdata/builtins/float/negate.carbon | 4 - .../check/testdata/builtins/float/neq.carbon | 2 - .../check/testdata/builtins/float/sub.carbon | 4 - .../builtins/float_literal/make_type.carbon | 2 - .../testdata/builtins/form/make_type.carbon | 2 - .../builtins/int/add_char_literal.carbon | 2 - .../check/testdata/builtins/int/and.carbon | 4 - .../testdata/builtins/int/and_assign.carbon | 2 - .../testdata/builtins/int/complement.carbon | 4 - .../testdata/builtins/int/convert.carbon | 6 - .../builtins/int/convert_char_literal.carbon | 2 - .../builtins/int/convert_checked.carbon | 2 - .../builtins/int/convert_float.carbon | 4 - .../builtins/int/convert_float_checked.carbon | 2 - .../check/testdata/builtins/int/eq.carbon | 2 - .../testdata/builtins/int/greater.carbon | 2 - .../testdata/builtins/int/greater_eq.carbon | 2 - .../testdata/builtins/int/left_shift.carbon | 4 - .../builtins/int/left_shift_assign.carbon | 4 - .../check/testdata/builtins/int/less.carbon | 2 - .../testdata/builtins/int/less_eq.carbon | 2 - .../builtins/int/make_type_signed.carbon | 4 - .../builtins/int/make_type_unsigned.carbon | 4 - .../check/testdata/builtins/int/neq.carbon | 2 - .../check/testdata/builtins/int/or.carbon | 4 - .../testdata/builtins/int/or_assign.carbon | 2 - .../testdata/builtins/int/right_shift.carbon | 4 - .../builtins/int/right_shift_assign.carbon | 4 - .../check/testdata/builtins/int/sadd.carbon | 2 - .../check/testdata/builtins/int/sdiv.carbon | 4 - .../testdata/builtins/int/sdiv_assign.carbon | 2 - .../check/testdata/builtins/int/smod.carbon | 4 - .../testdata/builtins/int/smod_assign.carbon | 2 - .../check/testdata/builtins/int/smul.carbon | 2 - .../testdata/builtins/int/smul_assign.carbon | 2 - .../testdata/builtins/int/snegate.carbon | 4 - .../check/testdata/builtins/int/ssub.carbon | 4 - .../testdata/builtins/int/ssub_assign.carbon | 2 - .../check/testdata/builtins/int/uadd.carbon | 4 - .../testdata/builtins/int/uadd_assign.carbon | 2 - .../check/testdata/builtins/int/udiv.carbon | 4 - .../testdata/builtins/int/udiv_assign.carbon | 2 - .../check/testdata/builtins/int/umod.carbon | 4 - .../testdata/builtins/int/umod_assign.carbon | 2 - .../check/testdata/builtins/int/umul.carbon | 4 - .../testdata/builtins/int/umul_assign.carbon | 2 - .../testdata/builtins/int/unegate.carbon | 4 - .../check/testdata/builtins/int/usub.carbon | 4 - .../testdata/builtins/int/usub_assign.carbon | 2 - .../check/testdata/builtins/int/xor.carbon | 4 - .../testdata/builtins/int/xor_assign.carbon | 2 - .../builtins/maybe_unformed/make_type.carbon | 4 - .../check/testdata/builtins/no_op.carbon | 8 - .../testdata/builtins/pointer/is_null.carbon | 8 - .../builtins/pointer/make_null.carbon | 4 - .../check/testdata/builtins/print/char.carbon | 2 - .../check/testdata/builtins/print/int.carbon | 2 - .../check/testdata/builtins/read/char.carbon | 2 - toolchain/check/testdata/choice/basic.carbon | 4 - .../testdata/class/abstract/abstract.carbon | 24 - .../abstract/fail_abstract_in_struct.carbon | 12 - .../abstract/fail_abstract_in_tuple.carbon | 12 - .../class/access/access_modifers.carbon | 28 - .../class/access/import_access.carbon | 18 - .../class/access/inheritance_access.carbon | 46 - .../class/access/method_access.carbon | 2 - .../check/testdata/class/adapter/adapt.carbon | 6 - .../testdata/class/adapter/adapt_copy.carbon | 56 - .../class/adapter/extend_adapt.carbon | 14 - .../testdata/class/adapter/init_adapt.carbon | 4 - toolchain/check/testdata/class/basic.carbon | 6 - .../class/complete_in_member_fn.carbon | 2 - .../class/cross_package_import.carbon | 10 - .../check/testdata/class/destroy_calls.carbon | 32 - .../check/testdata/class/export_name.carbon | 2 - .../class/field/compound_field.carbon | 8 - .../testdata/class/field/field_access.carbon | 8 - .../class/field/field_access_in_value.carbon | 8 - .../class/field/field_initializer.carbon | 2 - .../check/testdata/class/field/static.carbon | 4 - .../testdata/class/forward_declared.carbon | 2 - .../check/testdata/class/generic/adapt.carbon | 14 - .../class/generic/base_is_generic.carbon | 14 - .../check/testdata/class/generic/basic.carbon | 4 - .../check/testdata/class/generic/call.carbon | 16 - .../generic/complete_in_conversion.carbon | 2 - .../check/testdata/class/generic/field.carbon | 6 - .../class/generic/generic_vs_params.carbon | 4 - .../testdata/class/generic/import.carbon | 22 - .../check/testdata/class/generic/init.carbon | 14 - .../class/generic/member_access.carbon | 12 - .../class/generic/member_inline.carbon | 6 - .../class/generic/member_lookup.carbon | 4 - .../class/generic/member_out_of_line.carbon | 6 - .../testdata/class/generic/member_type.carbon | 18 - .../class/generic/method_deduce.carbon | 14 - .../check/testdata/class/generic/self.carbon | 6 - .../testdata/class/generic/stringify.carbon | 8 - toolchain/check/testdata/class/import.carbon | 12 - .../testdata/class/import_indirect.carbon | 12 - .../testdata/class/import_member_cycle.carbon | 2 - .../testdata/class/import_struct_cycle.carbon | 4 - .../class/indirect_import_member.carbon | 12 - .../testdata/class/inheritance/base.carbon | 4 - .../class/inheritance/base_field.carbon | 2 - .../base_function_unqualified.carbon | 4 - .../class/inheritance/base_method.carbon | 4 - .../inheritance/base_method_qualified.carbon | 8 - .../inheritance/base_method_shadow.carbon | 2 - .../class/inheritance/derived_to_base.carbon | 30 - .../class/inheritance/import_base.carbon | 12 - .../class/inheritance/self_conversion.carbon | 6 - toolchain/check/testdata/class/init.carbon | 4 - toolchain/check/testdata/class/init_as.carbon | 10 - .../check/testdata/class/init_nested.carbon | 2 - toolchain/check/testdata/class/local.carbon | 10 - .../method/call_without_method_syntax.carbon | 10 - .../class/method/generic_method.carbon | 2 - .../check/testdata/class/method/method.carbon | 24 - .../class/method/static_method.carbon | 4 - .../testdata/class/method/virtual.carbon | 46 - toolchain/check/testdata/class/nested.carbon | 16 - .../check/testdata/class/nested_name.carbon | 10 - .../check/testdata/class/partial/init.carbon | 2 - .../check/testdata/class/redeclaration.carbon | 2 - .../check/testdata/class/reenter_scope.carbon | 2 - toolchain/check/testdata/class/reorder.carbon | 4 - .../testdata/class/reorder_qualified.carbon | 20 - toolchain/check/testdata/class/scope.carbon | 10 - .../testdata/class/self/fail_ref_self.carbon | 4 - .../check/testdata/class/self/raw_self.carbon | 4 - .../testdata/class/self/raw_self_type.carbon | 4 - .../check/testdata/class/self/self.carbon | 10 - .../testdata/class/self/self_type.carbon | 4 - .../testdata/class/syntactic_merge.carbon | 2 - toolchain/check/testdata/const/basics.carbon | 6 - toolchain/check/testdata/const/import.carbon | 2 - toolchain/check/testdata/deduce/array.carbon | 52 - .../check/testdata/deduce/conversion.carbon | 10 - .../check/testdata/deduce/generic_type.carbon | 18 - .../check/testdata/deduce/int_float.carbon | 8 - toolchain/check/testdata/deduce/tuple.carbon | 10 - .../testdata/deduce/type_operator.carbon | 16 - .../value_with_type_through_access.carbon | 32 - .../check/testdata/eval/aggregates.carbon | 8 - toolchain/check/testdata/eval/binding.carbon | 2 - toolchain/check/testdata/eval/branch.carbon | 4 - toolchain/check/testdata/eval/call.carbon | 26 - toolchain/check/testdata/eval/symbolic.carbon | 2 - toolchain/check/testdata/facet/access.carbon | 10 - .../facet/call_combined_impl_witness.carbon | 16 - .../convert_class_type_to_facet_type.carbon | 6 - ...t_class_type_to_generic_facet_value.carbon | 22 - ...rt_class_value_to_facet_value_value.carbon | 8 - ..._value_to_generic_facet_value_value.carbon | 32 - ...t_value_as_type_knows_original_type.carbon | 8 - .../convert_facet_value_to_itself.carbon | 8 - ..._facet_value_to_narrowed_facet_type.carbon | 50 - ...t_facet_value_value_to_blanket_impl.carbon | 8 - ..._value_to_generic_facet_value_value.carbon | 16 - ...convert_facet_value_value_to_itself.carbon | 10 - .../testdata/facet/convert_interface.carbon | 8 - .../testdata/facet/facet_assoc_const.carbon | 2 - ...t_class_type_to_generic_facet_value.carbon | 8 - ...convert_facet_value_to_missing_impl.carbon | 8 - ...l_convert_type_erased_type_to_facet.carbon | 4 - ...uction_uses_runtime_type_conversion.carbon | 8 - .../check/testdata/facet/period_self.carbon | 6 - .../testdata/facet/require_import.carbon | 6 - .../check/testdata/facet/runtime_value.carbon | 4 - .../facet/self_in_interface_param.carbon | 2 - .../facet/validate_rewrite_constraints.carbon | 2 - toolchain/check/testdata/for/actual.carbon | 16 - toolchain/check/testdata/for/basic.carbon | 8 - toolchain/check/testdata/for/pattern.carbon | 42 - .../function/builtin/adapted_type.carbon | 2 - .../testdata/function/builtin/call.carbon | 4 - .../builtin/call_from_operator.carbon | 14 - .../function/builtin/fail_redefined.carbon | 4 - .../testdata/function/builtin/import.carbon | 2 - .../testdata/function/builtin/method.carbon | 4 - .../check/testdata/function/call/alias.carbon | 4 - .../function/call/empty_struct.carbon | 4 - .../testdata/function/call/empty_tuple.carbon | 4 - .../function/call/fail_param_count.carbon | 8 - .../function/call/fail_param_type.carbon | 4 - .../call/fail_return_type_mismatch.carbon | 6 - .../call/fail_runtime_implicit_param.carbon | 2 - .../check/testdata/function/call/form.carbon | 22 - .../check/testdata/function/call/i32.carbon | 6 - .../function/call/more_param_ir.carbon | 8 - .../testdata/function/call/params_one.carbon | 4 - .../function/call/params_one_comma.carbon | 4 - .../testdata/function/call/params_two.carbon | 4 - .../function/call/params_two_comma.carbon | 4 - .../testdata/function/call/params_zero.carbon | 4 - .../call/prefer_unqualified_lookup.carbon | 4 - .../check/testdata/function/call/ref.carbon | 8 - .../function/call/return_implicit.carbon | 4 - .../function/declaration/export_name.carbon | 2 - .../function/declaration/extern.carbon | 2 - .../declaration/extern_library.carbon | 2 - .../fail_import_incomplete_return.carbon | 6 - .../declaration/fail_modifiers.carbon | 8 - .../function/declaration/fail_redecl.carbon | 6 - .../declaration/fail_todo_no_params.carbon | 2 - .../declaration/implicit_import.carbon | 2 - .../function/declaration/import.carbon | 10 - .../no_definition_in_impl_file.carbon | 2 - .../declaration/pattern_in_signature.carbon | 4 - .../testdata/function/declaration/ref.carbon | 2 - .../function/declaration/simple.carbon | 2 - .../function/definition/basics.carbon | 2 - .../function/definition/extern.carbon | 16 - .../function/definition/extern_library.carbon | 12 - .../fail_decl_param_mismatch.carbon | 12 - .../function/definition/fail_redef.carbon | 4 - .../function/definition/forward_decl.carbon | 2 - .../definition/implicit_import.carbon | 14 - .../function/definition/import.carbon | 14 - .../function/definition/import_access.carbon | 26 - .../testdata/function/definition/order.carbon | 6 - .../function/definition/params_one.carbon | 2 - .../definition/params_one_comma.carbon | 2 - .../function/definition/params_two.carbon | 2 - .../definition/params_two_comma.carbon | 2 - .../function/definition/params_zero.carbon | 2 - .../definition/syntactic_merge.carbon | 28 - .../testdata/function/generic/call.carbon | 16 - .../call_method_on_generic_facet.carbon | 10 - .../testdata/function/generic/deduce.carbon | 54 - .../generic/deduce_nested_facet_value.carbon | 8 - .../fail_deduce_imported_function.carbon | 10 - .../function/generic/import_specific.carbon | 6 - .../generic/indirect_generic_type.carbon | 2 - .../function/generic/redeclare.carbon | 8 - .../function/generic/resolve_used.carbon | 6 - .../function/generic/return_slot.carbon | 12 - .../function/generic/template_param.carbon | 4 - .../function/generic/type_param.carbon | 2 - .../function/generic/type_param_scope.carbon | 2 - .../testdata/generic/call_basic_depth.carbon | 8 - .../testdata/generic/complete_type.carbon | 10 - .../testdata/generic/dependent_param.carbon | 4 - .../generic/dot_self_symbolic_type.carbon | 6 - toolchain/check/testdata/generic/local.carbon | 10 - .../testdata/generic/local_function.carbon | 4 - .../testdata/generic/template/convert.carbon | 12 - .../generic/template/member_access.carbon | 14 - .../generic/template/unimplemented.carbon | 8 - .../generic/template_dependence.carbon | 4 - .../check/testdata/generic/var_param.carbon | 6 - toolchain/check/testdata/global/basics.carbon | 10 - toolchain/check/testdata/if/basics.carbon | 6 - toolchain/check/testdata/if_expr/basic.carbon | 6 - .../if_expr/constant_condition.carbon | 14 - .../testdata/if_expr/control_flow.carbon | 6 - .../if_expr/fail_partial_constant.carbon | 4 - .../check/testdata/if_expr/nested.carbon | 2 - .../check/testdata/if_expr/struct.carbon | 6 - .../testdata/impl/assoc_const_self.carbon | 14 - toolchain/check/testdata/impl/basic.carbon | 2 - toolchain/check/testdata/impl/compound.carbon | 38 - .../check/testdata/impl/declaration.carbon | 2 - toolchain/check/testdata/impl/empty.carbon | 2 - .../check/testdata/impl/error_recovery.carbon | 6 - .../check/testdata/impl/extend_impl.carbon | 2 - .../testdata/impl/extend_impl_generic.carbon | 16 - .../check/testdata/impl/fail_alias.carbon | 2 - .../testdata/impl/fail_call_invalid.carbon | 6 - .../impl/fail_extend_impl_forall.carbon | 4 - .../impl/fail_extend_impl_scope.carbon | 16 - .../impl/fail_extend_impl_type_as.carbon | 2 - ..._extend_partially_defined_interface.carbon | 2 - .../fail_extend_undefined_interface.carbon | 2 - .../testdata/impl/fail_impl_as_scope.carbon | 34 - .../impl/fail_impl_bad_assoc_const.carbon | 2 - .../impl/fail_impl_bad_assoc_fn.carbon | 26 - .../impl/fail_impl_bad_interface.carbon | 2 - .../testdata/impl/fail_impl_bad_type.carbon | 2 - .../testdata/impl/fail_redefinition.carbon | 2 - .../impl/fail_self_type_mismatch.carbon | 4 - .../check/testdata/impl/forward_decls.carbon | 46 - .../impl/generic_redeclaration.carbon | 26 - toolchain/check/testdata/impl/impl_as.carbon | 6 - .../impl/impl_assoc_const_with_prelude.carbon | 4 - .../check/testdata/impl/impl_forall.carbon | 4 - .../check/testdata/impl/impl_thunk.carbon | 32 - .../impl/impl_thunk_min_prelude.carbon | 2 - .../testdata/impl/import_builtin_call.carbon | 4 - .../testdata/impl/import_compound.carbon | 30 - .../testdata/impl/import_extend_impl.carbon | 8 - .../check/testdata/impl/import_generic.carbon | 24 - .../impl/import_interface_assoc_const.carbon | 36 - .../check/testdata/impl/import_self.carbon | 8 - .../testdata/impl/import_self_specific.carbon | 14 - .../check/testdata/impl/import_thunk.carbon | 14 - .../testdata/impl/import_use_generic.carbon | 12 - .../check/testdata/impl/incomplete.carbon | 12 - .../check/testdata/impl/interface_args.carbon | 30 - .../check/testdata/impl/lookup/alias.carbon | 6 - .../impl/lookup/canonical_query_self.carbon | 14 - .../lookup/fail_alias_impl_not_found.carbon | 4 - .../lookup/fail_todo_undefined_impl.carbon | 8 - .../check/testdata/impl/lookup/generic.carbon | 36 - .../testdata/impl/lookup/impl_forall.carbon | 6 - .../check/testdata/impl/lookup/import.carbon | 114 - .../impl/lookup/instance_method.carbon | 4 - ...g_generic_inside_rewrite_constraint.carbon | 16 - ...pecialization_with_symbolic_rewrite.carbon | 22 - .../testdata/impl/lookup/specific_args.carbon | 18 - .../testdata/impl/lookup/transitive.carbon | 12 - .../testdata/impl/multiple_extend.carbon | 48 - .../name_lookup_in_impl_definition.carbon | 2 - .../impl/no_definition_in_impl_file.carbon | 14 - .../check/testdata/impl/self_in_class.carbon | 4 - .../testdata/impl/self_in_signature.carbon | 8 - .../impl/todo_impl_with_unrelated_fn.carbon | 6 - .../testdata/impl/use_assoc_entity.carbon | 22 - .../index/array_element_access.carbon | 2 - .../check/testdata/index/expr_category.carbon | 8 - .../index/fail_array_large_index.carbon | 2 - .../index/fail_array_non_int_indexing.carbon | 2 - .../fail_array_out_of_bound_access.carbon | 2 - .../testdata/index/fail_expr_category.carbon | 6 - .../testdata/index/fail_invalid_base.carbon | 2 - .../testdata/index/fail_name_not_found.carbon | 4 - .../index/fail_negative_indexing.carbon | 2 - .../index/fail_non_tuple_access.carbon | 2 - .../check/testdata/interface/as_type.carbon | 4 - .../testdata/interface/as_type_of_type.carbon | 4 - .../testdata/interface/assoc_const.carbon | 2 - .../interface/assoc_const_in_generic.carbon | 6 - .../check/testdata/interface/basic.carbon | 4 - .../interface/compound_member_access.carbon | 42 - .../testdata/interface/default_fn.carbon | 8 - .../testdata/interface/export_name.carbon | 8 - .../fail_add_member_outside_definition.carbon | 8 - .../interface/fail_assoc_const_alias.carbon | 6 - .../fail_assoc_const_bad_default.carbon | 2 - .../fail_assoc_fn_invalid_use.carbon | 4 - .../interface/fail_definition_imported.carbon | 2 - .../testdata/interface/fail_duplicate.carbon | 10 - .../fail_generic_redeclaration.carbon | 6 - .../interface/fail_lookup_in_type_type.carbon | 4 - .../interface/fail_lookup_undefined.carbon | 4 - .../interface/fail_member_lookup.carbon | 6 - .../testdata/interface/fail_modifiers.carbon | 8 - .../interface/fail_redeclare_member.carbon | 2 - .../fail_todo_assoc_const_default.carbon | 2 - .../fail_todo_define_default_fn_inline.carbon | 4 - ..._todo_define_default_fn_out_of_line.carbon | 8 - .../interface/fail_todo_modifiers.carbon | 6 - .../check/testdata/interface/final.carbon | 12 - .../check/testdata/interface/generic.carbon | 18 - .../generic_binding_after_assoc_const.carbon | 2 - .../testdata/interface/generic_import.carbon | 6 - .../testdata/interface/generic_method.carbon | 40 - .../interface/generic_vs_params.carbon | 18 - .../check/testdata/interface/import.carbon | 22 - .../testdata/interface/import_access.carbon | 30 - .../interface/import_interface_decl.carbon | 2 - .../testdata/interface/incomplete.carbon | 14 - .../check/testdata/interface/local.carbon | 6 - .../testdata/interface/member_lookup.carbon | 12 - .../check/testdata/interface/observe.carbon | 6063 +---------------- .../check/testdata/interface/require.carbon | 18 - .../check/testdata/interface/self.carbon | 2 - .../testdata/interface/syntactic_merge.carbon | 24 - .../interface/todo_define_not_default.carbon | 4 - .../cpp/basics/import/cpp_namespace.carbon | 2 - .../interop/cpp/basics/import/import.carbon | 4 - .../interop/cpp/basics/import/indirect.carbon | 10 - .../interop/cpp/basics/inline/import.carbon | 4 - .../cpp/basics/unsupported_decl_type.carbon | 2 - .../interop/cpp/class/import/abstract.carbon | 2 - .../interop/cpp/class/import/access.carbon | 44 - .../interop/cpp/class/import/base.carbon | 16 - .../interop/cpp/class/import/class.carbon | 10 - .../cpp/class/import/constructor.carbon | 16 - .../interop/cpp/class/import/field.carbon | 16 - .../interop/cpp/class/import/method.carbon | 12 - .../interop/cpp/class/import/template.carbon | 6 - .../interop/cpp/class/import/union.carbon | 6 - .../interop/cpp/enum/anonymous.carbon | 2 - .../testdata/interop/cpp/enum/convert.carbon | 2 - .../testdata/interop/cpp/enum/copy.carbon | 2 - .../testdata/interop/cpp/enum/fixed.carbon | 2 - .../testdata/interop/cpp/enum/member.carbon | 2 - .../testdata/interop/cpp/enum/scoped.carbon | 2 - .../testdata/interop/cpp/enum/unscoped.carbon | 2 - .../testdata/interop/cpp/enum/using.carbon | 2 - .../cpp/function/export/generic.carbon | 20 - .../import/arithmetic_types_bridged.carbon | 82 - .../import/arithmetic_types_direct.carbon | 24 - .../interop/cpp/function/import/class.carbon | 30 - .../cpp/function/import/decayed_param.carbon | 18 - .../cpp/function/import/default_arg.carbon | 8 - .../cpp/function/import/extern_c.carbon | 8 - .../cpp/function/import/full_semir.carbon | 10 - .../cpp/function/import/function.carbon | 14 - .../cpp/function/import/in_template.carbon | 2 - .../interop/cpp/function/import/inline.carbon | 8 - .../import/multiple_too_few_args_calls.carbon | 2 - .../cpp/function/import/overloads.carbon | 66 - .../function/import/param_unsupported.carbon | 4 - .../cpp/function/import/pointer.carbon | 86 - .../function/import/qualified_param.carbon | 2 - .../cpp/function/import/reference.carbon | 30 - .../interop/cpp/function/import/return.carbon | 18 - .../interop/cpp/function/import/struct.carbon | 28 - .../interop/cpp/function/import/union.carbon | 26 - .../cpp/function/import/variadic.carbon | 6 - .../cpp/function/import/void_pointer.carbon | 32 - .../testdata/interop/cpp/impls/as.carbon | 20 - .../testdata/interop/cpp/impls/copy.carbon | 8 - .../testdata/interop/cpp/impls/destroy.carbon | 18 - .../interop/cpp/impls/implicit_as.carbon | 36 - .../testdata/interop/cpp/macros/macros.carbon | 50 - .../interop/cpp/namespace/import.carbon | 10 - .../cpp/operators/arithmetic_operators.carbon | 26 - .../interop/cpp/operators/deref.carbon | 4 - .../interop/cpp/operators/eq_with.carbon | 4 - .../interop/cpp/operators/operators.carbon | 26 - .../interop/cpp/operators/ordered_with.carbon | 4 - .../interop/cpp/operators/spaceship.carbon | 4 - .../cpp/primitive_types/arithmetic.carbon | 6 - .../long_and_long_long.llp64.carbon | 74 - .../long_and_long_long.lp64.carbon | 72 - .../cpp/primitive_types/void_pointer.carbon | 16 - .../testdata/interop/cpp/range_for.carbon | 98 - .../cpp/stdlib/initializer_list.carbon | 6 - .../interop/cpp/stdlib/string_view.carbon | 6 - .../cpp/template/alias_template.carbon | 2 - .../cpp/template/argument_count.carbon | 4 - .../cpp/template/class_template.carbon | 2 - .../interop/cpp/template/concept.carbon | 2 - .../cpp/template/non_type_param.carbon | 4 - .../template/template_template_param.carbon | 4 - .../interop/cpp/template/type_param.carbon | 4 - .../interop/cpp/template/var_template.carbon | 2 - .../interop/cpp/type_alias/import.carbon | 6 - .../interop/cpp/var/import/global.carbon | 4 - .../interop/cpp/var/import/namespace.carbon | 2 - .../testdata/let/compile_time_bindings.carbon | 12 - toolchain/check/testdata/let/convert.carbon | 2 - .../testdata/let/fail_duplicate_decl.carbon | 2 - .../testdata/let/fail_generic_import.carbon | 4 - .../testdata/let/fail_missing_value.carbon | 2 - .../check/testdata/let/fail_modifiers.carbon | 2 - .../testdata/let/fail_use_in_init.carbon | 2 - .../check/testdata/let/generic_import.carbon | 4 - toolchain/check/testdata/let/global.carbon | 4 - toolchain/check/testdata/let/import.carbon | 8 - .../check/testdata/let/import_access.carbon | 8 - toolchain/check/testdata/let/local.carbon | 2 - toolchain/check/testdata/let/ref.carbon | 2 - .../check/testdata/let/shadowed_decl.carbon | 2 - .../check/testdata/main_run/no_return.carbon | 4 - .../check/testdata/main_run/return_i32.carbon | 4 - .../testdata/named_constraint/convert.carbon | 4 - .../testdata/named_constraint/empty.carbon | 4 - .../named_constraint/empty_generic.carbon | 4 - .../extend_name_lookup.carbon | 4 - .../testdata/named_constraint/generic.carbon | 2 - .../import_constraint_decl.carbon | 4 - .../named_constraint/import_type_and.carbon | 10 - .../testdata/named_constraint/require.carbon | 4 - .../testdata/namespace/add_to_import.carbon | 4 - .../check/testdata/namespace/alias.carbon | 6 - ...conflict_in_imports_namespace_first.carbon | 6 - ...onflict_in_imports_namespace_second.carbon | 6 - .../namespace/fail_decl_in_alias.carbon | 2 - .../testdata/namespace/fail_duplicate.carbon | 4 - .../namespace/fail_not_top_level.carbon | 10 - .../testdata/namespace/fail_params.carbon | 6 - .../namespace/fail_unresolved_scope.carbon | 2 - .../check/testdata/namespace/function.carbon | 6 - .../check/testdata/namespace/imported.carbon | 2 - .../namespace/imported_indirect.carbon | 8 - .../check/testdata/namespace/merging.carbon | 10 - .../merging_with_indirections.carbon | 6 - .../check/testdata/namespace/nested.carbon | 4 - .../check/testdata/namespace/shadow.carbon | 4 - .../namespace/unqualified_lookup.carbon | 6 - .../testdata/operators/builtin/and.carbon | 10 - .../operators/builtin/assignment.carbon | 8 - .../fail_and_or_not_in_function.carbon | 4 - .../fail_and_or_partial_constant.carbon | 4 - .../builtin/fail_assignment_to_error.carbon | 2 - .../fail_assignment_to_non_assignable.carbon | 4 - .../fail_redundant_compound_access.carbon | 6 - .../builtin/fail_type_mismatch.carbon | 2 - .../fail_type_mismatch_assignment.carbon | 4 - .../builtin/fail_type_mismatch_once.carbon | 2 - .../builtin/fail_unimplemented_op.carbon | 2 - .../testdata/operators/builtin/or.carbon | 10 - .../operators/builtin/unary_op.carbon | 6 - .../testdata/operators/overloaded/add.carbon | 4 - .../operators/overloaded/bit_and.carbon | 4 - .../overloaded/bit_complement.carbon | 2 - .../operators/overloaded/bit_or.carbon | 4 - .../operators/overloaded/bit_xor.carbon | 4 - .../testdata/operators/overloaded/dec.carbon | 2 - .../testdata/operators/overloaded/div.carbon | 4 - .../testdata/operators/overloaded/eq.carbon | 12 - .../overloaded/fail_assign_non_ref.carbon | 4 - .../overloaded/fail_error_recovery.carbon | 4 - .../operators/overloaded/fail_no_impl.carbon | 8 - .../operators/overloaded/implicit_as.carbon | 14 - .../testdata/operators/overloaded/inc.carbon | 2 - .../operators/overloaded/index.carbon | 14 - .../overloaded/index_with_prelude.carbon | 14 - .../operators/overloaded/left_shift.carbon | 4 - .../testdata/operators/overloaded/mod.carbon | 4 - .../testdata/operators/overloaded/mul.carbon | 4 - .../operators/overloaded/negate.carbon | 2 - .../operators/overloaded/ordered.carbon | 16 - .../operators/overloaded/right_shift.carbon | 4 - .../overloaded/string_indexing.carbon | 4 - .../testdata/operators/overloaded/sub.carbon | 4 - .../check/testdata/package_expr/syntax.carbon | 12 - .../packages/cross_package_export.carbon | 16 - .../packages/cross_package_import.carbon | 24 - .../testdata/packages/export_import.carbon | 20 - .../testdata/packages/export_mixed.carbon | 12 - .../testdata/packages/export_name.carbon | 12 - .../fail_conflict_no_namespaces.carbon | 2 - .../packages/fail_import_type_error.carbon | 4 - .../fail_name_with_import_failure.carbon | 2 - .../packages/implicit_imports_entities.carbon | 10 - .../packages/implicit_imports_prelude.carbon | 4 - .../testdata/packages/loaded_global.carbon | 4 - .../testdata/packages/missing_prelude.carbon | 14 - .../check/testdata/packages/raw_core.carbon | 10 - .../check/testdata/patterns/expression.carbon | 2 - .../check/testdata/patterns/tuple.carbon | 10 - .../check/testdata/patterns/underscore.carbon | 16 - .../testdata/pointer/address_of_deref.carbon | 4 - .../testdata/pointer/address_of_lvalue.carbon | 8 - toolchain/check/testdata/pointer/arrow.carbon | 2 - toolchain/check/testdata/pointer/basic.carbon | 4 - .../pointer/convert_qualifiers.carbon | 10 - .../pointer/fail_address_of_error.carbon | 2 - .../testdata/pointer/fail_deref_error.carbon | 2 - .../pointer/fail_deref_function.carbon | 2 - .../pointer/fail_deref_namespace.carbon | 2 - .../pointer/fail_deref_not_pointer.carbon | 2 - .../testdata/pointer/fail_deref_type.carbon | 2 - .../pointer/fail_type_mismatch.carbon | 2 - .../check/testdata/pointer/import.carbon | 4 - .../testdata/pointer/nested_const.carbon | 2 - toolchain/check/testdata/pointer/types.carbon | 4 - .../primitives/import_symbolic.carbon | 16 - .../primitives/numeric_literals.carbon | 2 - .../primitives/string_literals.carbon | 4 - .../testdata/primitives/type_literals.carbon | 12 - .../testdata/return/code_after_return.carbon | 2 - .../return/code_after_return_value.carbon | 2 - .../testdata/return/fail_call_in_type.carbon | 4 - .../testdata/return/fail_let_in_type.carbon | 8 - .../return/fail_missing_return.carbon | 2 - .../fail_missing_return_empty_tuple.carbon | 2 - .../fail_return_var_no_returned_var.carbon | 2 - .../fail_return_with_returned_var.carbon | 6 - .../fail_returned_var_no_return_type.carbon | 4 - .../return/fail_returned_var_shadow.carbon | 6 - .../return/fail_returned_var_type.carbon | 4 - .../testdata/return/fail_type_mismatch.carbon | 2 - .../return/fail_value_disallowed.carbon | 2 - .../testdata/return/fail_value_missing.carbon | 2 - .../testdata/return/fail_var_in_type.carbon | 4 - .../return/import_convert_function.carbon | 36 - .../missing_return_no_return_type.carbon | 2 - .../check/testdata/return/no_value.carbon | 2 - .../check/testdata/return/returned_var.carbon | 6 - .../testdata/return/returned_var_scope.carbon | 6 - toolchain/check/testdata/return/struct.carbon | 2 - toolchain/check/testdata/return/tuple.carbon | 2 - toolchain/check/testdata/return/value.carbon | 2 - toolchain/check/testdata/struct/empty.carbon | 2 - .../struct/fail_access_into_invalid.carbon | 2 - .../testdata/struct/fail_assign_empty.carbon | 2 - .../testdata/struct/fail_assign_nested.carbon | 2 - .../struct/fail_assign_to_empty.carbon | 2 - .../struct/fail_duplicate_name.carbon | 2 - .../struct/fail_field_name_mismatch.carbon | 2 - .../struct/fail_field_type_mismatch.carbon | 2 - .../struct/fail_member_access_type.carbon | 2 - .../struct/fail_member_of_function.carbon | 2 - .../struct/fail_nested_incomplete.carbon | 2 - .../struct/fail_non_member_access.carbon | 2 - .../struct/fail_too_few_values.carbon | 2 - .../testdata/struct/fail_type_assign.carbon | 2 - .../testdata/struct/fail_value_as_type.carbon | 2 - toolchain/check/testdata/struct/import.carbon | 4 - .../struct/literal_member_access.carbon | 6 - .../testdata/struct/member_access.carbon | 2 - .../struct/nested_struct_in_place.carbon | 8 - .../check/testdata/struct/one_entry.carbon | 2 - .../testdata/struct/partially_const.carbon | 2 - .../testdata/struct/reorder_fields.carbon | 2 - .../testdata/struct/tuple_as_element.carbon | 2 - .../check/testdata/struct/two_entries.carbon | 2 - toolchain/check/testdata/tuple/basics.carbon | 8 - .../testdata/tuple/element_access.carbon | 6 - toolchain/check/testdata/tuple/import.carbon | 4 - .../testdata/tuple/in_place_tuple_init.carbon | 20 - .../check/testdata/tuple/tuple_pattern.carbon | 16 - .../check/testdata/var/export_name.carbon | 4 - .../testdata/var/fail_duplicate_decl.carbon | 2 - .../var/fail_init_type_mismatch.carbon | 2 - .../testdata/var/fail_init_with_self.carbon | 2 - .../var/fail_storage_is_literal.carbon | 2 - .../check/testdata/var/global_decl.carbon | 2 - .../testdata/var/global_decl_import.carbon | 2 - .../testdata/var/global_decl_with_init.carbon | 6 - .../check/testdata/var/global_lookup.carbon | 2 - .../var/global_lookup_in_scope.carbon | 6 - toolchain/check/testdata/var/import.carbon | 4 - .../check/testdata/var/import_access.carbon | 8 - .../check/testdata/var/initialization.carbon | 4 - toolchain/check/testdata/var/lookup.carbon | 2 - toolchain/check/testdata/var/shadowing.carbon | 2 - .../check/testdata/var/var_pattern.carbon | 28 - .../testdata/where_expr/constraints.carbon | 2 - .../testdata/where_expr/dot_self_index.carbon | 2 - .../testdata/where_expr/equal_rewrite.carbon | 8 - .../testdata/where_expr/non_generic.carbon | 2 - toolchain/check/testdata/while/while.carbon | 6 - toolchain/sem_ir/formatter.cpp | 7 +- 686 files changed, 326 insertions(+), 11638 deletions(-) diff --git a/toolchain/check/testdata/alias/basics.carbon b/toolchain/check/testdata/alias/basics.carbon index a0df43a616f8..b677cbaed0e8 100644 --- a/toolchain/check/testdata/alias/basics.carbon +++ b/toolchain/check/testdata/alias/basics.carbon @@ -169,8 +169,6 @@ extern alias C = Class; // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- alias_of_alias.carbon @@ -208,8 +206,6 @@ extern alias C = Class; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- alias_to_generic.carbon @@ -233,7 +229,5 @@ extern alias C = Class; // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/alias/builtins.carbon b/toolchain/check/testdata/alias/builtins.carbon index 748b55b76062..f54631ea01d8 100644 --- a/toolchain/check/testdata/alias/builtins.carbon +++ b/toolchain/check/testdata/alias/builtins.carbon @@ -77,7 +77,5 @@ let a_test: bool = a; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: bool = name_ref a, file.%a [concrete = constants.%false] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/alias/export_name.carbon b/toolchain/check/testdata/alias/export_name.carbon index 4fc122fe72d7..a848ca7594c7 100644 --- a/toolchain/check/testdata/alias/export_name.carbon +++ b/toolchain/check/testdata/alias/export_name.carbon @@ -235,8 +235,6 @@ var d: D* = &c; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_13.1, %.loc6_13.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%d.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_orig_name_not_in_export.carbon @@ -277,8 +275,6 @@ var d: D* = &c; // CHECK:STDOUT: %.loc10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%c.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- indirect_compat.carbon @@ -378,7 +374,5 @@ var d: D* = &c; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6b6 = call %bound_method.loc8_13.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%d.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/alias/import.carbon b/toolchain/check/testdata/alias/import.carbon index 2b1456086a30..a94c65740051 100644 --- a/toolchain/check/testdata/alias/import.carbon +++ b/toolchain/check/testdata/alias/import.carbon @@ -138,8 +138,6 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%a.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- class2.carbon @@ -221,8 +219,6 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%b.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- class3.carbon @@ -299,8 +295,6 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%c.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var1.carbon @@ -348,8 +342,6 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %.loc4_1: init %empty_tuple.type = converted %.loc4_14.1, %.loc4_14.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%a.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var2.carbon @@ -405,8 +397,6 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %.loc8_1: init %empty_tuple.type = converted %a_alias.ref, %.loc8_13 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%b.var, %.loc8_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var3.carbon @@ -459,7 +449,5 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %.loc6_1: init %empty_tuple.type = converted %a_alias_alias.ref, %.loc6_13 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/alias/import_access.carbon b/toolchain/check/testdata/alias/import_access.carbon index a887ced9dbeb..29cb192b6018 100644 --- a/toolchain/check/testdata/alias/import_access.carbon +++ b/toolchain/check/testdata/alias/import_access.carbon @@ -133,8 +133,6 @@ var inst: Test.A = {}; // CHECK:STDOUT: %.loc4_1: init %C = converted %.loc4_16.1, %.loc4_16.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%inst.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_def.carbon @@ -169,8 +167,6 @@ var inst: Test.A = {}; // CHECK:STDOUT: %.loc10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%inst.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_def.carbon @@ -210,7 +206,5 @@ var inst: Test.A = {}; // CHECK:STDOUT: %.loc10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%inst.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/alias/import_order.carbon b/toolchain/check/testdata/alias/import_order.carbon index f5d6b98f0f10..b870f639301a 100644 --- a/toolchain/check/testdata/alias/import_order.carbon +++ b/toolchain/check/testdata/alias/import_order.carbon @@ -209,7 +209,5 @@ var a_val: a = {.v = b_val.v}; // CHECK:STDOUT: %.loc10_1: init %C = converted %.loc10_29.1, %.loc10_29.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%a_val.var, %.loc10_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/alias/in_namespace.carbon b/toolchain/check/testdata/alias/in_namespace.carbon index 9b4e8eaed4ff..c9c3b84b9976 100644 --- a/toolchain/check/testdata/alias/in_namespace.carbon +++ b/toolchain/check/testdata/alias/in_namespace.carbon @@ -64,7 +64,5 @@ fn F() -> {} { // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/alias/var.carbon b/toolchain/check/testdata/alias/var.carbon index 458e39647e05..57c02add37eb 100644 --- a/toolchain/check/testdata/alias/var.carbon +++ b/toolchain/check/testdata/alias/var.carbon @@ -54,15 +54,11 @@ fn F() -> () { // CHECK:STDOUT: %a.ref: ref %empty_tuple.type = name_ref a, file.%a [concrete = file.%a.var] // CHECK:STDOUT: %b: ref %empty_tuple.type = alias_binding b, %a.ref [concrete = file.%a.var] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local.carbon @@ -77,7 +73,5 @@ fn F() -> () { // CHECK:STDOUT: %a.ref: ref %empty_tuple.type = name_ref a, %a // CHECK:STDOUT: %b: ref %empty_tuple.type = alias_binding b, %a.ref // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/array/basics.carbon b/toolchain/check/testdata/array/basics.carbon index 383c2da11c12..bfaca68854e8 100644 --- a/toolchain/check/testdata/array/basics.carbon +++ b/toolchain/check/testdata/array/basics.carbon @@ -166,8 +166,6 @@ var a: array(1, 1); // CHECK:STDOUT: %.loc6_1: init %array_type = converted %a.ref, %.loc6_23.13 [concrete = constants.%array] // CHECK:STDOUT: assign file.%b.var, %.loc6_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- array_in_place.carbon @@ -229,8 +227,6 @@ var a: array(1, 1); // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -238,22 +234,16 @@ var a: array(1, 1); // CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %tuple.type.a8c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.4(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- array_vs_tuple.carbon @@ -341,8 +331,6 @@ var a: array(1, 1); // CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %empty_tuple.type) = "no_op"; @@ -350,15 +338,11 @@ var a: array(1, 1); // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- assign_return_value.carbon @@ -414,8 +398,6 @@ var a: array(1, 1); // CHECK:STDOUT: %Destroy.Op.bound.loc8_3: = bound_method %t.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8_3: init %empty_tuple.type = call %Destroy.Op.bound.loc8_3(%t.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_34.1(%self.param: ref %empty_tuple.type) = "no_op"; @@ -423,15 +405,11 @@ var a: array(1, 1); // CHECK:STDOUT: fn @Destroy.Op.loc8_34.2(%self.param: ref %tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nine_elements.carbon @@ -543,7 +521,5 @@ var a: array(1, 1); // CHECK:STDOUT: %.loc9_1: init %array_type = converted %a.ref, %.loc9_23.37 [concrete = constants.%array] // CHECK:STDOUT: assign file.%b.var, %.loc9_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/array/bound_values.carbon b/toolchain/check/testdata/array/bound_values.carbon index 9531a180d6e9..ef941030d394 100644 --- a/toolchain/check/testdata/array/bound_values.carbon +++ b/toolchain/check/testdata/array/bound_values.carbon @@ -107,8 +107,6 @@ var b: array(1, 39999999999999999993); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsigned.carbon @@ -181,7 +179,5 @@ var b: array(1, 39999999999999999993); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/array/import.carbon b/toolchain/check/testdata/array/import.carbon index 1e4269a112c0..74f895b89016 100644 --- a/toolchain/check/testdata/array/import.carbon +++ b/toolchain/check/testdata/array/import.carbon @@ -99,8 +99,6 @@ fn F() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc6_12.2, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc6_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc6_12.1(%self.param: ref %i32.builtin) = "no_op"; @@ -108,15 +106,11 @@ fn F() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc6_12.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc6_12.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_symbolic_decl.carbon @@ -168,7 +162,5 @@ fn F() -> i32 { // CHECK:STDOUT: %a.patt: %pattern_type.97e = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/array/index_not_literal.carbon b/toolchain/check/testdata/array/index_not_literal.carbon index 4c82ba7cf3ba..8551e9ca560c 100644 --- a/toolchain/check/testdata/array/index_not_literal.carbon +++ b/toolchain/check/testdata/array/index_not_literal.carbon @@ -120,8 +120,6 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: %bound_method.loc4_15.2: = bound_method %.loc4_15.3, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc4_15.2(%.loc4_15.3) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { @@ -174,8 +172,6 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: %F.call: init %i32 = call %F.ref(%.loc10_20.15, %.loc10_23.2) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.981) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_20.1(%self.param: ref %i32.builtin) = "no_op"; @@ -183,15 +179,11 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: fn @Destroy.Op.loc10_20.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_20.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- index_non_literal.carbon @@ -249,7 +241,5 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: %.loc6_30.4: init %empty_struct_type = struct_init () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc6_31: init %empty_struct_type = converted %.loc6_30.3, %.loc6_30.4 [concrete = constants.%empty_struct] // CHECK:STDOUT: return %.loc6_31 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/array/init_dependent_bound.carbon b/toolchain/check/testdata/array/init_dependent_bound.carbon index 09679b0418ae..04be2fbbeba4 100644 --- a/toolchain/check/testdata/array/init_dependent_bound.carbon +++ b/toolchain/check/testdata/array/init_dependent_bound.carbon @@ -138,8 +138,6 @@ fn H() { G(3); } // CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %arr.var, %specific_impl_fn.loc7_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc7_3.2(%arr.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -235,8 +233,6 @@ fn H() { G(3); } // CHECK:STDOUT: %arr.var_patt: = var_pattern %arr.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/adapter_conversion.carbon b/toolchain/check/testdata/as/adapter_conversion.carbon index 0aae5b8c3e7a..e2acfafd1a91 100644 --- a/toolchain/check/testdata/as/adapter_conversion.carbon +++ b/toolchain/check/testdata/as/adapter_conversion.carbon @@ -232,8 +232,6 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %.loc25_29.2: init %B = converted %A.Make.call, %.loc25_29.1 // CHECK:STDOUT: assign file.%b_factory.var, %.loc25_29.2 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- adapt_i32.carbon @@ -301,8 +299,6 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %.loc10_16.1: %i32 = as_compatible %a.ref // CHECK:STDOUT: %.loc10_16.2: %i32 = converted %a.ref, %.loc10_16.1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- multi_level_adapt.carbon @@ -332,8 +328,6 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %.loc10_15.1: %D = as_compatible %empty_struct [concrete = constants.%D.val] // CHECK:STDOUT: %.loc10_15.2: %D = converted %.loc10_13, %.loc10_15.1 [concrete = constants.%D.val] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- init_class_value.carbon @@ -415,8 +409,6 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %.loc14_42.1: init %B = as_compatible %.loc14_36 [concrete = constants.%B.val] // CHECK:STDOUT: %.loc14_42.2: init %B = converted %.loc14_36, %.loc14_42.1 [concrete = constants.%B.val] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- init_tuple_value.carbon @@ -452,7 +444,5 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %a_value.patt: %pattern_type = value_binding_pattern a_value [concrete = constants.%a_value.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/basics.carbon b/toolchain/check/testdata/as/basics.carbon index 8ec7d44291b9..cf0517179db7 100644 --- a/toolchain/check/testdata/as/basics.carbon +++ b/toolchain/check/testdata/as/basics.carbon @@ -168,8 +168,6 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %.loc6_29.12: init %struct_type.x.y to %return.param = struct_init (%.loc6_29.6, %.loc6_29.11) [concrete = constants.%struct.005] // CHECK:STDOUT: %.loc6_48: init %struct_type.x.y = converted %.loc6_29.1, %.loc6_29.12 [concrete = constants.%struct.005] // CHECK:STDOUT: return %.loc6_48 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- as_type.carbon @@ -201,8 +199,6 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %.loc5_24.2: type = converted constants.%empty_struct, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc5_24.3: type = converted %.loc5_22, constants.%tuple.type.b6b [concrete = constants.%tuple.type.b6b] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- as_tuple.carbon @@ -260,8 +256,6 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %Destroy.Op.bound.loc13_32: = bound_method %.loc13_32.2, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc13_32: init %empty_tuple.type = call %Destroy.Op.bound.loc13_32(%.loc13_32.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_40.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -269,8 +263,6 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: fn @Destroy.Op.loc13_40.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Var() { @@ -304,15 +296,11 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20(%self.param: ref %tuple.type.359) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- identity.carbon @@ -344,8 +332,6 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %m.patt: %pattern_type.6cb = value_binding_pattern m [concrete = constants.%m.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Reference(%p.param: %ptr.db8) { @@ -363,8 +349,6 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %q.patt: %pattern_type.990 = value_binding_pattern q [concrete = constants.%q.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Initializing() { @@ -384,8 +368,6 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -393,8 +375,6 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- overloaded.carbon @@ -451,7 +431,5 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %X.as.As.impl.Convert.call: init %Y to %.loc19_29.1 = call %bound_method(%.loc19_23.3) // CHECK:STDOUT: %.loc19_29.2: init %Y = converted %.loc19_23.1, %X.as.As.impl.Convert.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/const.carbon b/toolchain/check/testdata/as/const.carbon index 5042f8318508..e2bce0572b91 100644 --- a/toolchain/check/testdata/as/const.carbon +++ b/toolchain/check/testdata/as/const.carbon @@ -182,8 +182,6 @@ fn Use() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -191,22 +189,16 @@ fn Use() { // CHECK:STDOUT: fn @Destroy.Op.loc14_3.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_3.3(%self.param: ref %const) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- remove_const.carbon @@ -254,8 +246,6 @@ fn Use() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc12_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -263,15 +253,11 @@ fn Use() { // CHECK:STDOUT: fn @Destroy.Op.loc12_3.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsafe_remove_const.carbon @@ -317,14 +303,10 @@ fn Use() { // CHECK:STDOUT: %b.patt: %pattern_type.990 = value_binding_pattern b [concrete = constants.%b.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/maybe_unformed.carbon b/toolchain/check/testdata/as/maybe_unformed.carbon index a48912db2841..9361217f8bac 100644 --- a/toolchain/check/testdata/as/maybe_unformed.carbon +++ b/toolchain/check/testdata/as/maybe_unformed.carbon @@ -202,15 +202,11 @@ fn Use() { // CHECK:STDOUT: %b.patt: %pattern_type.abe = value_binding_pattern b [concrete = constants.%b.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_add_unformed_nonref.carbon @@ -291,8 +287,6 @@ fn Use() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc19_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -300,29 +294,21 @@ fn Use() { // CHECK:STDOUT: fn @Destroy.Op.loc19_3.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc19_3.3(%self.param: ref %.f01) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc19_3.4(%self.param: ref %MaybeUnformed.198) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsafe_remove_unformed.carbon @@ -379,14 +365,10 @@ fn Use() { // CHECK:STDOUT: %b.patt: %pattern_type.990 = value_binding_pattern b [concrete = constants.%b.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/partial.carbon b/toolchain/check/testdata/as/partial.carbon index 4fb4123cfb5b..6fdb7762a6bb 100644 --- a/toolchain/check/testdata/as/partial.carbon +++ b/toolchain/check/testdata/as/partial.carbon @@ -196,8 +196,6 @@ fn Use() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -205,15 +203,11 @@ fn Use() { // CHECK:STDOUT: fn @Destroy.Op.loc14_3.2(%self.param: ref %.d74) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- remove_partial_in_init.carbon @@ -286,8 +280,6 @@ fn Use() { // CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %i.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%i.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc12_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -295,8 +287,6 @@ fn Use() { // CHECK:STDOUT: fn @Destroy.Op.loc12_3.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsafe_remove_partial.carbon @@ -353,14 +343,10 @@ fn Use() { // CHECK:STDOUT: %b.patt: %pattern_type.990 = value_binding_pattern b [concrete = constants.%b.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/var_init.carbon b/toolchain/check/testdata/as/var_init.carbon index 2270b58e2a76..a8537ad5dcf1 100644 --- a/toolchain/check/testdata/as/var_init.carbon +++ b/toolchain/check/testdata/as/var_init.carbon @@ -70,8 +70,6 @@ fn Convert(unused t: ()) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc12_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -79,7 +77,5 @@ fn Convert(unused t: ()) { // CHECK:STDOUT: fn @Destroy.Op.loc12_3.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/basics/dump_sem_ir_ranges.carbon b/toolchain/check/testdata/basics/dump_sem_ir_ranges.carbon index 06036d667b8e..7b2de78c9459 100644 --- a/toolchain/check/testdata/basics/dump_sem_ir_ranges.carbon +++ b/toolchain/check/testdata/basics/dump_sem_ir_ranges.carbon @@ -139,8 +139,6 @@ library "[[@TEST_NAME]]"; // CHECK:STDOUT: %A.call: init %empty_tuple.type = call %A.ref() // CHECK:STDOUT: assign %b.ref.loc11, %A.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C() -> out %return.param: %empty_tuple.type { @@ -169,8 +167,6 @@ library "[[@TEST_NAME]]"; // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %.loc20_11 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- class.carbon @@ -252,8 +248,6 @@ library "[[@TEST_NAME]]"; // CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %.loc13_7.2, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc13: init %empty_tuple.type = call %Destroy.Op.bound.loc13(%.loc13_7.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/basics/duplicate_name_same_line.carbon b/toolchain/check/testdata/basics/duplicate_name_same_line.carbon index 44c9f2212a5b..582ca85649d9 100644 --- a/toolchain/check/testdata/basics/duplicate_name_same_line.carbon +++ b/toolchain/check/testdata/basics/duplicate_name_same_line.carbon @@ -78,8 +78,6 @@ fn A() { // CHECK:STDOUT: %Destroy.Op.bound.loc18_5: = bound_method %n.var.loc18_5, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc18_5: init %empty_tuple.type = call %Destroy.Op.bound.loc18_5(%n.var.loc18_5) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/basics/include_in_dumps.carbon b/toolchain/check/testdata/basics/include_in_dumps.carbon index 92ba3363dbe8..f4e4eefecdd4 100644 --- a/toolchain/check/testdata/basics/include_in_dumps.carbon +++ b/toolchain/check/testdata/basics/include_in_dumps.carbon @@ -112,8 +112,6 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) {} @@ -170,8 +168,6 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.Op.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.Op(@I.%Self: %I.type) { @@ -292,8 +288,6 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.335 as imports.%Main.import_ref.c3f [from "exclude/included_with_range.carbon"] { @@ -317,8 +311,6 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.I.impl.Op.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.Op(imports.%Main.import_ref.e59c42.2: %I.type) [from "exclude/included_with_range.carbon"] { @@ -420,7 +412,5 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.I.impl.Op.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/basics/multi_error.carbon b/toolchain/check/testdata/basics/multi_error.carbon index f29b4568d7ec..2653300c7765 100644 --- a/toolchain/check/testdata/basics/multi_error.carbon +++ b/toolchain/check/testdata/basics/multi_error.carbon @@ -51,7 +51,5 @@ fn Boo[runtime a: ()]() {} // CHECK:STDOUT: fn @Boo() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/basics/name_lookup.carbon b/toolchain/check/testdata/basics/name_lookup.carbon index 9342dbc0a1f7..ebdd01a38d53 100644 --- a/toolchain/check/testdata/basics/name_lookup.carbon +++ b/toolchain/check/testdata/basics/name_lookup.carbon @@ -44,8 +44,6 @@ fn F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: = name_ref x, [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_qualififier_unsupported.carbon @@ -58,7 +56,5 @@ fn F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/basics/parens.carbon b/toolchain/check/testdata/basics/parens.carbon index 7a6e187b1cce..c73e73191773 100644 --- a/toolchain/check/testdata/basics/parens.carbon +++ b/toolchain/check/testdata/basics/parens.carbon @@ -104,7 +104,5 @@ var b: i32 = ((2)); // CHECK:STDOUT: %.loc15: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_2.295] // CHECK:STDOUT: assign file.%b.var, %.loc15 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/basics/raw_identifier.carbon b/toolchain/check/testdata/basics/raw_identifier.carbon index 3d22fcb55ae8..5d576ecb0e29 100644 --- a/toolchain/check/testdata/basics/raw_identifier.carbon +++ b/toolchain/check/testdata/basics/raw_identifier.carbon @@ -112,8 +112,6 @@ fn C(r#if: ()) -> () { // CHECK:STDOUT: %.loc15_10: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc15_13: init %empty_tuple.type = converted %n.ref, %.loc15_10 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc15_13 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B(%n.param: %empty_tuple.type) -> out %return.param: %empty_tuple.type { @@ -122,8 +120,6 @@ fn C(r#if: ()) -> () { // CHECK:STDOUT: %.loc19_10: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc19_11: init %empty_tuple.type = converted %n.ref, %.loc19_10 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc19_11 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C(%if.param: %empty_tuple.type) -> out %return.param: %empty_tuple.type { @@ -132,7 +128,5 @@ fn C(r#if: ()) -> () { // CHECK:STDOUT: %.loc23_10: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc23_14: init %empty_tuple.type = converted %if.ref, %.loc23_10 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc23_14 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/basics/raw_sem_ir/multifile_with_textual_ir.carbon b/toolchain/check/testdata/basics/raw_sem_ir/multifile_with_textual_ir.carbon index 4488cffea983..ccdbcf15d5f8 100644 --- a/toolchain/check/testdata/basics/raw_sem_ir/multifile_with_textual_ir.carbon +++ b/toolchain/check/testdata/basics/raw_sem_ir/multifile_with_textual_ir.carbon @@ -144,8 +144,6 @@ fn B() { // CHECK:STDOUT: fn @A() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- @@ -312,8 +310,6 @@ fn B() { // CHECK:STDOUT: %A.ref.loc6_4: %A.type = name_ref A, imports.%A.A [concrete = constants.%A] // CHECK:STDOUT: %A.call: init %empty_tuple.type = call %A.ref.loc6_4() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @A [from "a.carbon"]; diff --git a/toolchain/check/testdata/basics/raw_sem_ir/one_file_with_textual_ir.carbon b/toolchain/check/testdata/basics/raw_sem_ir/one_file_with_textual_ir.carbon index db7f4d2f0218..3f588cb92fe6 100644 --- a/toolchain/check/testdata/basics/raw_sem_ir/one_file_with_textual_ir.carbon +++ b/toolchain/check/testdata/basics/raw_sem_ir/one_file_with_textual_ir.carbon @@ -328,7 +328,5 @@ fn Foo(n: ()) -> ((), ()) { // CHECK:STDOUT: %.loc17_16.6: init %tuple.type to %return.param = tuple_init (%.loc17_16.3, %.loc17_16.5) [concrete = constants.%tuple] // CHECK:STDOUT: %.loc17_17: init %tuple.type = converted %.loc17_16.1, %.loc17_16.6 [concrete = constants.%tuple] // CHECK:STDOUT: return %.loc17_17 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/bool/eq.carbon b/toolchain/check/testdata/builtins/bool/eq.carbon index 6e78f2bfdbfe..71709f16706a 100644 --- a/toolchain/check/testdata/builtins/bool/eq.carbon +++ b/toolchain/check/testdata/builtins/bool/eq.carbon @@ -86,8 +86,6 @@ var d: C(false == false) = True(); // CHECK:STDOUT: %True.call.loc12: init %C.ac4 to %.loc12 = call %True.ref.loc12() // CHECK:STDOUT: assign file.%a.var, %True.call.loc12 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- prelude.carbon @@ -145,7 +143,5 @@ var d: C(false == false) = True(); // CHECK:STDOUT: %True.call.loc10: init %C.ac4 to %.loc10 = call %True.ref.loc10() // CHECK:STDOUT: assign file.%a.var, %True.call.loc10 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/bool/make_type.carbon b/toolchain/check/testdata/builtins/bool/make_type.carbon index 9c416a621bc1..82cdc6e70981 100644 --- a/toolchain/check/testdata/builtins/bool/make_type.carbon +++ b/toolchain/check/testdata/builtins/bool/make_type.carbon @@ -57,7 +57,5 @@ let b: Bool() = false; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %false: bool = bool_literal false [concrete = constants.%false] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/bool/neq.carbon b/toolchain/check/testdata/builtins/bool/neq.carbon index 7516aeadeae7..d84eac11ff72 100644 --- a/toolchain/check/testdata/builtins/bool/neq.carbon +++ b/toolchain/check/testdata/builtins/bool/neq.carbon @@ -87,8 +87,6 @@ var d: C(false != false) = False(); // CHECK:STDOUT: %False.call.loc12: init %C.4b2 to %.loc12 = call %False.ref.loc12() // CHECK:STDOUT: assign file.%a.var, %False.call.loc12 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- prelude.carbon @@ -147,7 +145,5 @@ var d: C(false != false) = False(); // CHECK:STDOUT: %False.call.loc10: init %C.4b2 to %.loc10 = call %False.ref.loc10() // CHECK:STDOUT: assign file.%a.var, %False.call.loc10 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/add.carbon b/toolchain/check/testdata/builtins/char_literal/add.carbon index b3212e510321..119f10bc343f 100644 --- a/toolchain/check/testdata/builtins/char_literal/add.carbon +++ b/toolchain/check/testdata/builtins/char_literal/add.carbon @@ -129,7 +129,5 @@ let c: CharLiteral = AddCharInt('a', Negate(98)); // CHECK:STDOUT: %int_1.loc16: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: %AddCharInt.call.loc16: init Core.CharLiteral = call %AddCharInt.ref.loc16(%.loc16, %int_1.loc16) [concrete = constants.%.a8b] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/convert_char.carbon b/toolchain/check/testdata/builtins/char_literal/convert_char.carbon index 14911a33f06f..cc63ac6fd191 100644 --- a/toolchain/check/testdata/builtins/char_literal/convert_char.carbon +++ b/toolchain/check/testdata/builtins/char_literal/convert_char.carbon @@ -173,7 +173,5 @@ let c: UInt(8) = ToChar('\u{1E15}'); // CHECK:STDOUT: %.loc8: Core.CharLiteral = char_value U+007F [concrete = constants.%.e28] // CHECK:STDOUT: %ToChar.call.loc8: init %u8.builtin = call %ToChar.ref.loc8(%.loc8) [concrete = constants.%int_127] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/convert_int.carbon b/toolchain/check/testdata/builtins/char_literal/convert_int.carbon index edbbb917a9cc..db2e24ae9c91 100644 --- a/toolchain/check/testdata/builtins/char_literal/convert_int.carbon +++ b/toolchain/check/testdata/builtins/char_literal/convert_int.carbon @@ -170,7 +170,5 @@ let g: u8 = ConvertToU8('\u{100}'); // CHECK:STDOUT: %.loc20: Core.CharLiteral = char_value U+00FF [concrete = constants.%.ad8] // CHECK:STDOUT: %ConvertToU8.call.loc20: init %u8 = call %ConvertToU8.ref.loc20(%.loc20) [concrete = constants.%int_255] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/eq.carbon b/toolchain/check/testdata/builtins/char_literal/eq.carbon index fa54508d403d..56ee66837fe4 100644 --- a/toolchain/check/testdata/builtins/char_literal/eq.carbon +++ b/toolchain/check/testdata/builtins/char_literal/eq.carbon @@ -64,7 +64,5 @@ let b: bool = Eq('a', 'b'); // CHECK:STDOUT: %.loc22_23: Core.CharLiteral = char_value U+0062 [concrete = constants.%.711] // CHECK:STDOUT: %Eq.call.loc22: init bool = call %Eq.ref.loc22(%.loc22_18, %.loc22_23) [concrete = constants.%false] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/greater.carbon b/toolchain/check/testdata/builtins/char_literal/greater.carbon index 77d919d27096..7363a6757ad7 100644 --- a/toolchain/check/testdata/builtins/char_literal/greater.carbon +++ b/toolchain/check/testdata/builtins/char_literal/greater.carbon @@ -64,7 +64,5 @@ let b: bool = Greater('a', 'b'); // CHECK:STDOUT: %.loc22_28: Core.CharLiteral = char_value U+0062 [concrete = constants.%.711] // CHECK:STDOUT: %Greater.call.loc22: init bool = call %Greater.ref.loc22(%.loc22_23, %.loc22_28) [concrete = constants.%false] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/greater_eq.carbon b/toolchain/check/testdata/builtins/char_literal/greater_eq.carbon index a572c2c727c6..1ce15bb42f1c 100644 --- a/toolchain/check/testdata/builtins/char_literal/greater_eq.carbon +++ b/toolchain/check/testdata/builtins/char_literal/greater_eq.carbon @@ -77,7 +77,5 @@ let c: bool = GreaterEq('a', 'b'); // CHECK:STDOUT: %.loc23_30: Core.CharLiteral = char_value U+0062 [concrete = constants.%.711] // CHECK:STDOUT: %GreaterEq.call.loc23: init bool = call %GreaterEq.ref.loc23(%.loc23_25, %.loc23_30) [concrete = constants.%false] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/less.carbon b/toolchain/check/testdata/builtins/char_literal/less.carbon index f0cfafda1b58..53ba2685e024 100644 --- a/toolchain/check/testdata/builtins/char_literal/less.carbon +++ b/toolchain/check/testdata/builtins/char_literal/less.carbon @@ -64,7 +64,5 @@ let b: bool = Less('b', 'a'); // CHECK:STDOUT: %.loc22_25: Core.CharLiteral = char_value U+0061 [concrete = constants.%.54f] // CHECK:STDOUT: %Less.call.loc22: init bool = call %Less.ref.loc22(%.loc22_20, %.loc22_25) [concrete = constants.%false] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/less_eq.carbon b/toolchain/check/testdata/builtins/char_literal/less_eq.carbon index e3e9e0bbb93b..73a81d9bb3b0 100644 --- a/toolchain/check/testdata/builtins/char_literal/less_eq.carbon +++ b/toolchain/check/testdata/builtins/char_literal/less_eq.carbon @@ -77,7 +77,5 @@ let c: bool = LessEq('b', 'a'); // CHECK:STDOUT: %.loc23_27: Core.CharLiteral = char_value U+0061 [concrete = constants.%.54f] // CHECK:STDOUT: %LessEq.call.loc23: init bool = call %LessEq.ref.loc23(%.loc23_22, %.loc23_27) [concrete = constants.%false] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/make_type.carbon b/toolchain/check/testdata/builtins/char_literal/make_type.carbon index 5365d572792e..ecc1254a3b9d 100644 --- a/toolchain/check/testdata/builtins/char_literal/make_type.carbon +++ b/toolchain/check/testdata/builtins/char_literal/make_type.carbon @@ -69,7 +69,5 @@ let not_8_bit: CharLiteral = '\u{1E15}'; // CHECK:STDOUT: %.loc8: Core.CharLiteral = char_value U+0080 [concrete = constants.%.ae7] // CHECK:STDOUT: %.loc9: Core.CharLiteral = char_value U+1E15 [concrete = constants.%.a81] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/neq.carbon b/toolchain/check/testdata/builtins/char_literal/neq.carbon index c1967cf10520..1dc3fe6ffc2a 100644 --- a/toolchain/check/testdata/builtins/char_literal/neq.carbon +++ b/toolchain/check/testdata/builtins/char_literal/neq.carbon @@ -64,7 +64,5 @@ let b: bool = Neq('a', 'a'); // CHECK:STDOUT: %.loc22_24: Core.CharLiteral = char_value U+0061 [concrete = constants.%.54f] // CHECK:STDOUT: %Neq.call.loc22: init bool = call %Neq.ref.loc22(%.loc22_19, %.loc22_24) [concrete = constants.%false] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/sub_char.carbon b/toolchain/check/testdata/builtins/char_literal/sub_char.carbon index 9a5ab53d403d..a1ee3ebc666c 100644 --- a/toolchain/check/testdata/builtins/char_literal/sub_char.carbon +++ b/toolchain/check/testdata/builtins/char_literal/sub_char.carbon @@ -130,7 +130,5 @@ let min: i32 = SubCharCharToI32('\u{0}', '\u{10FFFF}'); // CHECK:STDOUT: %.loc29_42: Core.CharLiteral = char_value U+10FFFF [concrete = constants.%.914] // CHECK:STDOUT: %SubCharCharToI32.call.loc29: init %i32 = call %SubCharCharToI32.ref.loc29(%.loc29_33, %.loc29_42) [concrete = constants.%int_-1114111] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/char_literal/sub_int.carbon b/toolchain/check/testdata/builtins/char_literal/sub_int.carbon index 06d8bdae1abb..a91b4d0a28f5 100644 --- a/toolchain/check/testdata/builtins/char_literal/sub_int.carbon +++ b/toolchain/check/testdata/builtins/char_literal/sub_int.carbon @@ -122,7 +122,5 @@ let b: CharLiteral = SubCharInt('\u{10FFFF}', Negate(1)); // CHECK:STDOUT: %.loc17_51.2: Core.IntLiteral = converted %Negate.call.loc17, %.loc17_51.1 [concrete = constants.%int_-1] // CHECK:STDOUT: %SubCharInt.call.loc17: init Core.CharLiteral = call %SubCharInt.ref.loc17(%.loc17_33, %.loc17_51.2) [concrete = constants.%.a8b] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/add.carbon b/toolchain/check/testdata/builtins/float/add.carbon index 8109dda8b715..52aac1f19d22 100644 --- a/toolchain/check/testdata/builtins/float/add.carbon +++ b/toolchain/check/testdata/builtins/float/add.carbon @@ -84,14 +84,10 @@ fn AddLiteral(a: Literal(), b: Literal()) -> Literal() = "float.add"; // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %Add.call: init %f64.dc1 = call %Add.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Add.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/convert.carbon b/toolchain/check/testdata/builtins/float/convert.carbon index 63053ab872cb..d9c2e5d1b0e5 100644 --- a/toolchain/check/testdata/builtins/float/convert.carbon +++ b/toolchain/check/testdata/builtins/float/convert.carbon @@ -150,8 +150,6 @@ let b: f64 = Float32ToFloat64(1.0e30); // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float] // CHECK:STDOUT: %FloatLiteralToFloatLiteral.call: init Core.FloatLiteral = call %FloatLiteralToFloatLiteral.ref(%float) [concrete = constants.%float] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- literal_f64.carbon @@ -226,8 +224,6 @@ let b: f64 = Float32ToFloat64(1.0e30); // CHECK:STDOUT: %float.loc10: Core.FloatLiteral = float_literal_value 10e308 [concrete = constants.%float.82f] // CHECK:STDOUT: %FloatLiteralToFloat64.call.loc10: init %f64.dc1 = call %FloatLiteralToFloat64.ref.loc10(%float.loc10) [concrete = constants.%float.7ae] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- literal_f32.carbon @@ -302,8 +298,6 @@ let b: f64 = Float32ToFloat64(1.0e30); // CHECK:STDOUT: %float.loc10: Core.FloatLiteral = float_literal_value 10e38 [concrete = constants.%float.cfc] // CHECK:STDOUT: %FloatLiteralToFloat32.call.loc10: init %f32.c73 = call %FloatLiteralToFloat32.ref.loc10(%float.loc10) [concrete = constants.%float.021] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- identity_f64.carbon @@ -405,8 +399,6 @@ let b: f64 = Float32ToFloat64(1.0e30); // CHECK:STDOUT: %.loc8_31.2: %f64.dc1 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.672] // CHECK:STDOUT: %Float64ToFloat64.call.loc8: init %f64.dc1 = call %Float64ToFloat64.ref.loc8(%.loc8_31.2) [concrete = constants.%float.672] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- identity_f32.carbon @@ -508,8 +500,6 @@ let b: f64 = Float32ToFloat64(1.0e30); // CHECK:STDOUT: %.loc8_31.2: %f32.c73 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.c47] // CHECK:STDOUT: %Float32ToFloat32.call.loc8: init %f32.c73 = call %Float32ToFloat32.ref.loc8(%.loc8_31.2) [concrete = constants.%float.c47] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- truncate.carbon @@ -593,8 +583,6 @@ let b: f64 = Float32ToFloat64(1.0e30); // CHECK:STDOUT: %.loc9_31.2: %f64.dc1 = converted %float.loc9, %.loc9_31.1 [concrete = constants.%float.7b6] // CHECK:STDOUT: %Float64ToFloat32.call.loc9: init %f32.c73 = call %Float64ToFloat32.ref.loc9(%.loc9_31.2) [concrete = constants.%float.021] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extend.carbon @@ -678,7 +666,5 @@ let b: f64 = Float32ToFloat64(1.0e30); // CHECK:STDOUT: %.loc8_31.2: %f32.c73 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.518] // CHECK:STDOUT: %Float32ToFloat64.call.loc8: init %f64.dc1 = call %Float32ToFloat64.ref.loc8(%.loc8_31.2) [concrete = constants.%float.84e] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/convert_checked.carbon b/toolchain/check/testdata/builtins/float/convert_checked.carbon index 38913992cf53..bcef3b7a8e88 100644 --- a/toolchain/check/testdata/builtins/float/convert_checked.carbon +++ b/toolchain/check/testdata/builtins/float/convert_checked.carbon @@ -186,8 +186,6 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float] // CHECK:STDOUT: %FloatLiteralToFloatLiteral.call: init Core.FloatLiteral = call %FloatLiteralToFloatLiteral.ref(%float) [concrete = constants.%float] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- literal_f64.carbon @@ -249,8 +247,6 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %float.loc8: Core.FloatLiteral = float_literal_value 10e307 [concrete = constants.%float.12a] // CHECK:STDOUT: %FloatLiteralToFloat64.call.loc8: init %f64.dc1 = call %FloatLiteralToFloat64.ref.loc8(%float.loc8) [concrete = constants.%float.672] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- literal_f32.carbon @@ -312,8 +308,6 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %float.loc8: Core.FloatLiteral = float_literal_value 10e37 [concrete = constants.%float.8d2] // CHECK:STDOUT: %FloatLiteralToFloat32.call.loc8: init %f32.c73 = call %FloatLiteralToFloat32.ref.loc8(%float.loc8) [concrete = constants.%float.c47] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- identity_f64.carbon @@ -415,8 +409,6 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %.loc8_31.2: %f64.dc1 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.672] // CHECK:STDOUT: %Float64ToFloat64.call.loc8: init %f64.dc1 = call %Float64ToFloat64.ref.loc8(%.loc8_31.2) [concrete = constants.%float.672] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- identity_f32.carbon @@ -518,8 +510,6 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %.loc8_31.2: %f32.c73 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.c47] // CHECK:STDOUT: %Float32ToFloat32.call.loc8: init %f32.c73 = call %Float32ToFloat32.ref.loc8(%.loc8_31.2) [concrete = constants.%float.c47] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- truncate.carbon @@ -580,8 +570,6 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %.loc6_31.2: %f64.dc1 = converted %float, %.loc6_31.1 [concrete = constants.%float.3b9] // CHECK:STDOUT: %Float64ToFloat32.call: init %f32.c73 = call %Float64ToFloat32.ref(%.loc6_31.2) [concrete = constants.%float.943] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_truncate_overflow.carbon @@ -672,8 +660,6 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %float.loc21: Core.FloatLiteral = float_literal_value 10e308 [concrete = constants.%float.82f] // CHECK:STDOUT: %FloatLiteralToFloat64.call: init %f64.dc1 = call %FloatLiteralToFloat64.ref(%float.loc21) [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extend.carbon @@ -757,8 +743,6 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %.loc7_31.2: %f32.c73 = converted %float.loc7, %.loc7_31.1 [concrete = constants.%float.518] // CHECK:STDOUT: %Float32ToFloat64.call.loc7: init %f64.dc1 = call %Float32ToFloat64.ref.loc7(%.loc7_31.2) [concrete = constants.%float.84e] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_not_constant.carbon @@ -823,7 +807,5 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %not_constant_64.ref: %f64.dc1 = name_ref not_constant_64, file.%not_constant_64 // CHECK:STDOUT: %Float64ToFloat64.call: init %f64.dc1 = call %Float64ToFloat64.ref(%not_constant_64.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/convert_int.carbon b/toolchain/check/testdata/builtins/float/convert_int.carbon index e75e4d361a39..7d321ff7bd13 100644 --- a/toolchain/check/testdata/builtins/float/convert_int.carbon +++ b/toolchain/check/testdata/builtins/float/convert_int.carbon @@ -513,8 +513,6 @@ let inf_val: i32 = ConvertF64ToI32(Div(1.0, 0.0)); // CHECK:STDOUT: %float.loc104: Core.FloatLiteral = float_literal_value 16p28 [concrete = constants.%float.97b] // CHECK:STDOUT: %ConvertFloatLiteralToU32.call.loc104: init %u32 = call %ConvertFloatLiteralToU32.ref.loc104(%float.loc104) [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_nan_inf.carbon @@ -631,7 +629,5 @@ let inf_val: i32 = ConvertF64ToI32(Div(1.0, 0.0)); // CHECK:STDOUT: %.loc15_48.2: %f64.dc1 = converted %Div.call.loc15, %.loc15_48.1 [concrete = constants.%float.7ae] // CHECK:STDOUT: %ConvertF64ToI32.call.loc15: init %i32 = call %ConvertF64ToI32.ref.loc15(%.loc15_48.2) [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/div.carbon b/toolchain/check/testdata/builtins/float/div.carbon index f57855d503c4..159f53d2519e 100644 --- a/toolchain/check/testdata/builtins/float/div.carbon +++ b/toolchain/check/testdata/builtins/float/div.carbon @@ -95,14 +95,10 @@ fn DivLiteral(a: Literal(), b: Literal()) -> Literal() = "float.div"; // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %Div.call: init %f64.dc1 = call %Div.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Div.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/eq.carbon b/toolchain/check/testdata/builtins/float/eq.carbon index a3829ba95d6c..f2f6208471e0 100644 --- a/toolchain/check/testdata/builtins/float/eq.carbon +++ b/toolchain/check/testdata/builtins/float/eq.carbon @@ -64,7 +64,5 @@ fn Eq(a: Core.FloatLiteral, b: Core.FloatLiteral) -> bool = "float.eq"; // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %Eq.call: init bool = call %Eq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Eq.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/greater.carbon b/toolchain/check/testdata/builtins/float/greater.carbon index 5b0a982714ac..d0b48f0d6465 100644 --- a/toolchain/check/testdata/builtins/float/greater.carbon +++ b/toolchain/check/testdata/builtins/float/greater.carbon @@ -48,7 +48,5 @@ fn RuntimeCallIsValid(a: f64, b: f64) -> bool { // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %Greater.call: init bool = call %Greater.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Greater.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/greater_eq.carbon b/toolchain/check/testdata/builtins/float/greater_eq.carbon index 54d99567e33f..630d9ffe3381 100644 --- a/toolchain/check/testdata/builtins/float/greater_eq.carbon +++ b/toolchain/check/testdata/builtins/float/greater_eq.carbon @@ -48,7 +48,5 @@ fn RuntimeCallIsValid(a: f64, b: f64) -> bool { // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %GreaterEq.call: init bool = call %GreaterEq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %GreaterEq.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/less.carbon b/toolchain/check/testdata/builtins/float/less.carbon index 2a8f01c3481b..382ff2db3e40 100644 --- a/toolchain/check/testdata/builtins/float/less.carbon +++ b/toolchain/check/testdata/builtins/float/less.carbon @@ -48,7 +48,5 @@ fn RuntimeCallIsValid(a: f64, b: f64) -> bool { // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %Less.call: init bool = call %Less.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Less.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/less_eq.carbon b/toolchain/check/testdata/builtins/float/less_eq.carbon index 7c7983429de4..f14a99629001 100644 --- a/toolchain/check/testdata/builtins/float/less_eq.carbon +++ b/toolchain/check/testdata/builtins/float/less_eq.carbon @@ -58,7 +58,5 @@ fn LessEq(a: Core.FloatLiteral, b: Core.FloatLiteral) -> bool = "float.less_eq"; // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %LessEq.call: init bool = call %LessEq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %LessEq.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/make_type.carbon b/toolchain/check/testdata/builtins/float/make_type.carbon index 96d1c5b2c2eb..3e9beece3a33 100644 --- a/toolchain/check/testdata/builtins/float/make_type.carbon +++ b/toolchain/check/testdata/builtins/float/make_type.carbon @@ -77,14 +77,10 @@ var dyn: Float(dyn_size); // CHECK:STDOUT: %dyn_size.ref: %i32 = name_ref dyn_size, %dyn_size // CHECK:STDOUT: %Float.call: init type = call %Float.ref(%dyn_size.ref) // CHECK:STDOUT: return %Float.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/mul.carbon b/toolchain/check/testdata/builtins/float/mul.carbon index eb454bab92ec..eaffd52a57bb 100644 --- a/toolchain/check/testdata/builtins/float/mul.carbon +++ b/toolchain/check/testdata/builtins/float/mul.carbon @@ -93,14 +93,10 @@ fn MulLiteral(a: Literal(), b: Literal()) -> Literal() = "float.mul"; // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %Mul.call: init %f64.dc1 = call %Mul.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Mul.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/negate.carbon b/toolchain/check/testdata/builtins/float/negate.carbon index 78aa4a1ba7c2..60ef206acedc 100644 --- a/toolchain/check/testdata/builtins/float/negate.carbon +++ b/toolchain/check/testdata/builtins/float/negate.carbon @@ -81,14 +81,10 @@ fn RuntimeCallIsValidBadReturnType(a: f64) -> bool { // CHECK:STDOUT: %a.ref: %f64.dc1 = name_ref a, %a // CHECK:STDOUT: %Negate.call: init %f64.dc1 = call %Negate.ref(%a.ref) // CHECK:STDOUT: return %Negate.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/neq.carbon b/toolchain/check/testdata/builtins/float/neq.carbon index 84d0a7ebce62..cc2cfea1615d 100644 --- a/toolchain/check/testdata/builtins/float/neq.carbon +++ b/toolchain/check/testdata/builtins/float/neq.carbon @@ -56,7 +56,5 @@ fn WrongResult(a: f64, b: f64) -> f64 = "float.neq"; // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %Neq.call: init bool = call %Neq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Neq.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/sub.carbon b/toolchain/check/testdata/builtins/float/sub.carbon index 7426ee7d33e9..67f65d316e6e 100644 --- a/toolchain/check/testdata/builtins/float/sub.carbon +++ b/toolchain/check/testdata/builtins/float/sub.carbon @@ -93,14 +93,10 @@ fn SubLiteral(a: Literal(), b: Literal()) -> Literal() = "float.sub"; // CHECK:STDOUT: %b.ref: %f64.dc1 = name_ref b, %b // CHECK:STDOUT: %Sub.call: init %f64.dc1 = call %Sub.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Sub.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float_literal/make_type.carbon b/toolchain/check/testdata/builtins/float_literal/make_type.carbon index 7a14c50d8427..9075205076a1 100644 --- a/toolchain/check/testdata/builtins/float_literal/make_type.carbon +++ b/toolchain/check/testdata/builtins/float_literal/make_type.carbon @@ -51,7 +51,5 @@ let f: FloatLiteral = 1.0; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/form/make_type.carbon b/toolchain/check/testdata/builtins/form/make_type.carbon index 0b8bf413e415..8db3a8196d01 100644 --- a/toolchain/check/testdata/builtins/form/make_type.carbon +++ b/toolchain/check/testdata/builtins/form/make_type.carbon @@ -55,7 +55,5 @@ let f: Form = form(var ()); // CHECK:STDOUT: %.loc7_25.2: type = converted %.loc7_25.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc7_20: Core.Form = init_form %.loc7_25.2 [concrete = constants.%.262] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/add_char_literal.carbon b/toolchain/check/testdata/builtins/int/add_char_literal.carbon index 6267fa7b0458..45db50f701cd 100644 --- a/toolchain/check/testdata/builtins/int/add_char_literal.carbon +++ b/toolchain/check/testdata/builtins/int/add_char_literal.carbon @@ -101,7 +101,5 @@ let c: CharLiteral = AddIntChar(Negate(98), 'a'); // CHECK:STDOUT: %.loc12: Core.CharLiteral = char_value U+0061 [concrete = constants.%.54f] // CHECK:STDOUT: %AddIntChar.call: init Core.CharLiteral = call %AddIntChar.ref(%int_1, %.loc12) [concrete = constants.%.711] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/and.carbon b/toolchain/check/testdata/builtins/int/and.carbon index 84643a2d0fb5..419bdc0065f3 100644 --- a/toolchain/check/testdata/builtins/int/and.carbon +++ b/toolchain/check/testdata/builtins/int/and.carbon @@ -139,14 +139,10 @@ fn Test(n: Core.IntLiteral) { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %And.call: init %i32 = call %And.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %And.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/and_assign.carbon b/toolchain/check/testdata/builtins/int/and_assign.carbon index 46c4c1337360..ae47eeeae510 100644 --- a/toolchain/check/testdata/builtins/int/and_assign.carbon +++ b/toolchain/check/testdata/builtins/int/and_assign.carbon @@ -72,7 +72,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.and_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/complement.carbon b/toolchain/check/testdata/builtins/int/complement.carbon index 130e08a41ed4..e63818675975 100644 --- a/toolchain/check/testdata/builtins/int/complement.carbon +++ b/toolchain/check/testdata/builtins/int/complement.carbon @@ -77,14 +77,10 @@ fn F(a: Core.IntLiteral) -> Core.IntLiteral { // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a // CHECK:STDOUT: %Complement.call: init %i32 = call %Complement.ref(%a.ref) // CHECK:STDOUT: return %Complement.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/convert.carbon b/toolchain/check/testdata/builtins/int/convert.carbon index c6f41ca30cce..5d18903238c3 100644 --- a/toolchain/check/testdata/builtins/int/convert.carbon +++ b/toolchain/check/testdata/builtins/int/convert.carbon @@ -317,8 +317,6 @@ fn F() { // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a // CHECK:STDOUT: %Int32ToUint32.call: init %u32 = call %Int32ToUint32.ref(%a.ref) // CHECK:STDOUT: return %Int32ToUint32.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Narrowing(%a.param: %i32) -> out %return.param: %i16 { @@ -327,8 +325,6 @@ fn F() { // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a // CHECK:STDOUT: %Int32ToInt16.call: init %i16 = call %Int32ToInt16.ref(%a.ref) // CHECK:STDOUT: return %Int32ToInt16.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Widening(%a.param: %i32) -> out %return.param: %i64 { @@ -337,7 +333,5 @@ fn F() { // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a // CHECK:STDOUT: %Int32ToInt64.call: init %i64 = call %Int32ToInt64.ref(%a.ref) // CHECK:STDOUT: return %Int32ToInt64.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/convert_char_literal.carbon b/toolchain/check/testdata/builtins/int/convert_char_literal.carbon index 06abbc29d2c9..7738283f0c8d 100644 --- a/toolchain/check/testdata/builtins/int/convert_char_literal.carbon +++ b/toolchain/check/testdata/builtins/int/convert_char_literal.carbon @@ -166,7 +166,5 @@ let c: CharLiteral = ConvertFromIntLiteral(0x110000); // CHECK:STDOUT: %.loc16_37.2: %u32 = converted %int_99, %.loc16_37.1 [concrete = constants.%int_99.d4e] // CHECK:STDOUT: %ConvertFromU32.call: init Core.CharLiteral = call %ConvertFromU32.ref(%.loc16_37.2) [concrete = constants.%.b9b] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/convert_checked.carbon b/toolchain/check/testdata/builtins/int/convert_checked.carbon index 200f7319ce4d..8838a2bba7b7 100644 --- a/toolchain/check/testdata/builtins/int/convert_checked.carbon +++ b/toolchain/check/testdata/builtins/int/convert_checked.carbon @@ -370,7 +370,5 @@ let convert_not_constant_widen: i64 = Int32ToInt64(not_constant); // CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_1.loc8, %.loc8_34.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %Int32ToInt64.call: init %i64 = call %Int32ToInt64.ref(%.loc8_34.2) [concrete = constants.%int_1.d98] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/convert_float.carbon b/toolchain/check/testdata/builtins/int/convert_float.carbon index b443e579fe20..e0ad5b5c45c4 100644 --- a/toolchain/check/testdata/builtins/int/convert_float.carbon +++ b/toolchain/check/testdata/builtins/int/convert_float.carbon @@ -99,8 +99,6 @@ let invalid: f64 = ConvertIntLiteralToFloatLiteral(-1) as f64; // CHECK:STDOUT: %int_1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000: Core.IntLiteral = int_value 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 [concrete = constants.%int_1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000] // CHECK:STDOUT: %ConvertIntLiteralToF64.call: init %f64.dc1 = call %ConvertIntLiteralToF64.ref(%int_1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_negative_literal.carbon @@ -173,7 +171,5 @@ let invalid: f64 = ConvertIntLiteralToFloatLiteral(-1) as f64; // CHECK:STDOUT: %.loc9_56.1: %f64.dc1 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = ] // CHECK:STDOUT: %.loc9_56.2: %f64.dc1 = converted %ConvertIntLiteralToFloatLiteral.call, %.loc9_56.1 [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/convert_float_checked.carbon b/toolchain/check/testdata/builtins/int/convert_float_checked.carbon index b71a5eb55d43..9d322e4988cc 100644 --- a/toolchain/check/testdata/builtins/int/convert_float_checked.carbon +++ b/toolchain/check/testdata/builtins/int/convert_float_checked.carbon @@ -75,7 +75,5 @@ let lossy: f32 = ConvertIntLiteralToF32(123456789); // CHECK:STDOUT: %int_123456789: Core.IntLiteral = int_value 123456789 [concrete = constants.%int_123456789] // CHECK:STDOUT: %ConvertIntLiteralToF32.call: init %f32.c73 = call %ConvertIntLiteralToF32.ref(%int_123456789) [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/eq.carbon b/toolchain/check/testdata/builtins/int/eq.carbon index cff3ae8cab94..b401fb07292e 100644 --- a/toolchain/check/testdata/builtins/int/eq.carbon +++ b/toolchain/check/testdata/builtins/int/eq.carbon @@ -123,7 +123,5 @@ fn Test(n: Core.IntLiteral) { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Eq.call: init bool = call %Eq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Eq.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/greater.carbon b/toolchain/check/testdata/builtins/int/greater.carbon index b1d6cc93eba6..923ae09134fc 100644 --- a/toolchain/check/testdata/builtins/int/greater.carbon +++ b/toolchain/check/testdata/builtins/int/greater.carbon @@ -48,7 +48,5 @@ fn RuntimeCallIsValid(a: i32, b: i32) -> bool { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Greater.call: init bool = call %Greater.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Greater.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/greater_eq.carbon b/toolchain/check/testdata/builtins/int/greater_eq.carbon index 150644d575e0..7eb1ee90283f 100644 --- a/toolchain/check/testdata/builtins/int/greater_eq.carbon +++ b/toolchain/check/testdata/builtins/int/greater_eq.carbon @@ -86,7 +86,5 @@ fn F() { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %GreaterEq.call: init bool = call %GreaterEq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %GreaterEq.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/left_shift.carbon b/toolchain/check/testdata/builtins/int/left_shift.carbon index cf0370ad8456..84e6152e526f 100644 --- a/toolchain/check/testdata/builtins/int/left_shift.carbon +++ b/toolchain/check/testdata/builtins/int/left_shift.carbon @@ -244,8 +244,6 @@ let bad4: Core.IntLiteral = LeftShiftOfLit(12, an_i32); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %LeftShift.call: init %i32 = call %LeftShift.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %LeftShift.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- u32.carbon @@ -265,7 +263,5 @@ let bad4: Core.IntLiteral = LeftShiftOfLit(12, an_i32); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %LeftShift.call: init %u32 = call %LeftShift.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %LeftShift.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/left_shift_assign.carbon b/toolchain/check/testdata/builtins/int/left_shift_assign.carbon index 4ee76eb7a75a..eac2ca838fe3 100644 --- a/toolchain/check/testdata/builtins/int/left_shift_assign.carbon +++ b/toolchain/check/testdata/builtins/int/left_shift_assign.carbon @@ -72,8 +72,6 @@ fn NotRef(a: i32, b: i32) = "int.left_shift_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallMixed(%a.param: ref %i32, %b.param: %i64) { @@ -84,7 +82,5 @@ fn NotRef(a: i32, b: i32) = "int.left_shift_assign"; // CHECK:STDOUT: %b.ref: %i64 = name_ref b, %b // CHECK:STDOUT: %MixedTypes.call: init %empty_tuple.type = call %MixedTypes.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/less.carbon b/toolchain/check/testdata/builtins/int/less.carbon index 3e2258829e90..3a031d2ab47f 100644 --- a/toolchain/check/testdata/builtins/int/less.carbon +++ b/toolchain/check/testdata/builtins/int/less.carbon @@ -48,7 +48,5 @@ fn RuntimeCallIsValid(a: i32, b: i32) -> bool { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Less.call: init bool = call %Less.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Less.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/less_eq.carbon b/toolchain/check/testdata/builtins/int/less_eq.carbon index 68b1729c48a8..47c94a9276f2 100644 --- a/toolchain/check/testdata/builtins/int/less_eq.carbon +++ b/toolchain/check/testdata/builtins/int/less_eq.carbon @@ -121,7 +121,5 @@ fn Test(n: Core.IntLiteral) { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %LessEq.call: init bool = call %LessEq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %LessEq.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/make_type_signed.carbon b/toolchain/check/testdata/builtins/int/make_type_signed.carbon index 904d0f459c36..019ba588702e 100644 --- a/toolchain/check/testdata/builtins/int/make_type_signed.carbon +++ b/toolchain/check/testdata/builtins/int/make_type_signed.carbon @@ -115,14 +115,10 @@ var m: Int(1000000000); // CHECK:STDOUT: fn @F(%n.param: %i64.builtin) -> out %return.param: %i64.builtin { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%n.param: %i13.builtin) -> out %return.param: %i13.builtin { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/make_type_unsigned.carbon b/toolchain/check/testdata/builtins/int/make_type_unsigned.carbon index 7b3d62d9c3a4..f88c279e4495 100644 --- a/toolchain/check/testdata/builtins/int/make_type_unsigned.carbon +++ b/toolchain/check/testdata/builtins/int/make_type_unsigned.carbon @@ -97,14 +97,10 @@ var m: UInt(1000000000); // CHECK:STDOUT: fn @F(%n.param: %u64.builtin) -> out %return.param: %u64.builtin { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%n.param: %u13.builtin) -> out %return.param: %u13.builtin { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/neq.carbon b/toolchain/check/testdata/builtins/int/neq.carbon index ae109044570f..102753bbe5e9 100644 --- a/toolchain/check/testdata/builtins/int/neq.carbon +++ b/toolchain/check/testdata/builtins/int/neq.carbon @@ -44,7 +44,5 @@ fn RuntimeCallIsValid(a: i32, b: i32) -> bool { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Neq.call: init bool = call %Neq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Neq.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/or.carbon b/toolchain/check/testdata/builtins/int/or.carbon index f49ddeb6d9b4..ddc6aa1a04f3 100644 --- a/toolchain/check/testdata/builtins/int/or.carbon +++ b/toolchain/check/testdata/builtins/int/or.carbon @@ -39,14 +39,10 @@ fn RuntimeCallIsValid(a: i32, b: i32) -> i32 { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Or.call: init %i32 = call %Or.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Or.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/or_assign.carbon b/toolchain/check/testdata/builtins/int/or_assign.carbon index 623f33557688..c21d742dcb9d 100644 --- a/toolchain/check/testdata/builtins/int/or_assign.carbon +++ b/toolchain/check/testdata/builtins/int/or_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.or_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/right_shift.carbon b/toolchain/check/testdata/builtins/int/right_shift.carbon index 95701903a563..e8af58376f60 100644 --- a/toolchain/check/testdata/builtins/int/right_shift.carbon +++ b/toolchain/check/testdata/builtins/int/right_shift.carbon @@ -148,8 +148,6 @@ let negative_lit_zero: Core.IntLiteral = RightShiftLit(0, -1); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %RightShift.call: init %i32 = call %RightShift.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %RightShift.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- u32.carbon @@ -169,7 +167,5 @@ let negative_lit_zero: Core.IntLiteral = RightShiftLit(0, -1); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %RightShift.call: init %u32 = call %RightShift.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %RightShift.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/right_shift_assign.carbon b/toolchain/check/testdata/builtins/int/right_shift_assign.carbon index 921f735611ac..694b0ab226d1 100644 --- a/toolchain/check/testdata/builtins/int/right_shift_assign.carbon +++ b/toolchain/check/testdata/builtins/int/right_shift_assign.carbon @@ -72,8 +72,6 @@ fn NotRef(a: i32, b: i32) = "int.right_shift_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallMixed(%a.param: ref %i32, %b.param: %i64) { @@ -84,7 +82,5 @@ fn NotRef(a: i32, b: i32) = "int.right_shift_assign"; // CHECK:STDOUT: %b.ref: %i64 = name_ref b, %b // CHECK:STDOUT: %MixedTypes.call: init %empty_tuple.type = call %MixedTypes.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/sadd.carbon b/toolchain/check/testdata/builtins/int/sadd.carbon index 74ac1052a1f2..55f732a89858 100644 --- a/toolchain/check/testdata/builtins/int/sadd.carbon +++ b/toolchain/check/testdata/builtins/int/sadd.carbon @@ -177,7 +177,5 @@ let b: i32 = Add(0x7FFFFFFF, 1); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Add.call: init %i32 = call %Add.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Add.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/sdiv.carbon b/toolchain/check/testdata/builtins/int/sdiv.carbon index 5be6d90134bf..21501f2dc25d 100644 --- a/toolchain/check/testdata/builtins/int/sdiv.carbon +++ b/toolchain/check/testdata/builtins/int/sdiv.carbon @@ -108,14 +108,10 @@ let d: Core.IntLiteral = DivLit(0, 0); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Div.call: init %i32 = call %Div.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Div.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/sdiv_assign.carbon b/toolchain/check/testdata/builtins/int/sdiv_assign.carbon index 0a0c897b0c47..35572841e3b6 100644 --- a/toolchain/check/testdata/builtins/int/sdiv_assign.carbon +++ b/toolchain/check/testdata/builtins/int/sdiv_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.sdiv_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/smod.carbon b/toolchain/check/testdata/builtins/int/smod.carbon index d6b104ce97f8..014c5fd89f31 100644 --- a/toolchain/check/testdata/builtins/int/smod.carbon +++ b/toolchain/check/testdata/builtins/int/smod.carbon @@ -83,14 +83,10 @@ let b: i32 = Mod(0, 0); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Mod.call: init %i32 = call %Mod.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Mod.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/smod_assign.carbon b/toolchain/check/testdata/builtins/int/smod_assign.carbon index 9fd8b4794fe4..c5236fc9fa62 100644 --- a/toolchain/check/testdata/builtins/int/smod_assign.carbon +++ b/toolchain/check/testdata/builtins/int/smod_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.smod_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/smul.carbon b/toolchain/check/testdata/builtins/int/smul.carbon index 86a82f91f3da..031c096533d5 100644 --- a/toolchain/check/testdata/builtins/int/smul.carbon +++ b/toolchain/check/testdata/builtins/int/smul.carbon @@ -90,7 +90,5 @@ let b: i32 = Mul(0x8000, 0x10000); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Mul.call: init %i32 = call %Mul.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Mul.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/smul_assign.carbon b/toolchain/check/testdata/builtins/int/smul_assign.carbon index db12fbde2d61..fdca90483e38 100644 --- a/toolchain/check/testdata/builtins/int/smul_assign.carbon +++ b/toolchain/check/testdata/builtins/int/smul_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.smul_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/snegate.carbon b/toolchain/check/testdata/builtins/int/snegate.carbon index ee9332176ae9..e0f854acc9e3 100644 --- a/toolchain/check/testdata/builtins/int/snegate.carbon +++ b/toolchain/check/testdata/builtins/int/snegate.carbon @@ -150,14 +150,10 @@ let b: i32 = Negate(-0x8000_0000); // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a // CHECK:STDOUT: %Negate.call: init %i32 = call %Negate.ref(%a.ref) // CHECK:STDOUT: return %Negate.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/ssub.carbon b/toolchain/check/testdata/builtins/int/ssub.carbon index 063317aab479..c9610226c514 100644 --- a/toolchain/check/testdata/builtins/int/ssub.carbon +++ b/toolchain/check/testdata/builtins/int/ssub.carbon @@ -55,14 +55,10 @@ let c: i32 = Sub(Sub(0, 0x7FFFFFFF), 2); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Sub.call: init %i32 = call %Sub.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Sub.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/ssub_assign.carbon b/toolchain/check/testdata/builtins/int/ssub_assign.carbon index 21544589b9a6..b601810f8b74 100644 --- a/toolchain/check/testdata/builtins/int/ssub_assign.carbon +++ b/toolchain/check/testdata/builtins/int/ssub_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.ssub_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/uadd.carbon b/toolchain/check/testdata/builtins/int/uadd.carbon index 2ad0a3b204df..6df7010ea51d 100644 --- a/toolchain/check/testdata/builtins/int/uadd.carbon +++ b/toolchain/check/testdata/builtins/int/uadd.carbon @@ -126,14 +126,10 @@ let b: i32 = Add(0x7FFFFFFF, 1); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Add.call: init %i32 = call %Add.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Add.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/uadd_assign.carbon b/toolchain/check/testdata/builtins/int/uadd_assign.carbon index 9e5fa4008709..97c3448676c8 100644 --- a/toolchain/check/testdata/builtins/int/uadd_assign.carbon +++ b/toolchain/check/testdata/builtins/int/uadd_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.uadd_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/udiv.carbon b/toolchain/check/testdata/builtins/int/udiv.carbon index adc798342b04..51b2ade00427 100644 --- a/toolchain/check/testdata/builtins/int/udiv.carbon +++ b/toolchain/check/testdata/builtins/int/udiv.carbon @@ -76,14 +76,10 @@ let b: i32 = Div(0, 0); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Div.call: init %i32 = call %Div.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Div.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/udiv_assign.carbon b/toolchain/check/testdata/builtins/int/udiv_assign.carbon index 7cffa51dd107..1d6beefd5161 100644 --- a/toolchain/check/testdata/builtins/int/udiv_assign.carbon +++ b/toolchain/check/testdata/builtins/int/udiv_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.udiv_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/umod.carbon b/toolchain/check/testdata/builtins/int/umod.carbon index e39f0c14c18e..4a5d5955fb8d 100644 --- a/toolchain/check/testdata/builtins/int/umod.carbon +++ b/toolchain/check/testdata/builtins/int/umod.carbon @@ -78,14 +78,10 @@ let b: i32 = Mod(0, 0); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Mod.call: init %i32 = call %Mod.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Mod.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/umod_assign.carbon b/toolchain/check/testdata/builtins/int/umod_assign.carbon index c6c4bab223b4..7bad94dafb7c 100644 --- a/toolchain/check/testdata/builtins/int/umod_assign.carbon +++ b/toolchain/check/testdata/builtins/int/umod_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.umod_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/umul.carbon b/toolchain/check/testdata/builtins/int/umul.carbon index 2c3d0aeae03c..df7191bf450c 100644 --- a/toolchain/check/testdata/builtins/int/umul.carbon +++ b/toolchain/check/testdata/builtins/int/umul.carbon @@ -50,14 +50,10 @@ let b: i32 = Mul(0x8000, 0x10000); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Mul.call: init %i32 = call %Mul.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Mul.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/umul_assign.carbon b/toolchain/check/testdata/builtins/int/umul_assign.carbon index fe0c0b0c3455..be4e538bf315 100644 --- a/toolchain/check/testdata/builtins/int/umul_assign.carbon +++ b/toolchain/check/testdata/builtins/int/umul_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.umul_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/unegate.carbon b/toolchain/check/testdata/builtins/int/unegate.carbon index e00b7db3f9a8..e2bb70cf59ed 100644 --- a/toolchain/check/testdata/builtins/int/unegate.carbon +++ b/toolchain/check/testdata/builtins/int/unegate.carbon @@ -135,14 +135,10 @@ fn F() { // CHECK:STDOUT: %a.ref: %u32 = name_ref a, %a // CHECK:STDOUT: %Negate.call: init %u32 = call %Negate.ref(%a.ref) // CHECK:STDOUT: return %Negate.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/usub.carbon b/toolchain/check/testdata/builtins/int/usub.carbon index ecc4b82f1611..2132ccca455a 100644 --- a/toolchain/check/testdata/builtins/int/usub.carbon +++ b/toolchain/check/testdata/builtins/int/usub.carbon @@ -51,14 +51,10 @@ let c: i32 = Sub(Sub(0, 0x7FFFFFFF), 2); // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Sub.call: init %i32 = call %Sub.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Sub.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/usub_assign.carbon b/toolchain/check/testdata/builtins/int/usub_assign.carbon index c64dfc542b49..03db09fb1d1a 100644 --- a/toolchain/check/testdata/builtins/int/usub_assign.carbon +++ b/toolchain/check/testdata/builtins/int/usub_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.usub_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/xor.carbon b/toolchain/check/testdata/builtins/int/xor.carbon index 5b122bfdb4dc..51b50056ba62 100644 --- a/toolchain/check/testdata/builtins/int/xor.carbon +++ b/toolchain/check/testdata/builtins/int/xor.carbon @@ -39,14 +39,10 @@ fn RuntimeCallIsValid(a: i32, b: i32) -> i32 { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Xor.call: init %i32 = call %Xor.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Xor.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/xor_assign.carbon b/toolchain/check/testdata/builtins/int/xor_assign.carbon index a1a0c1e6328e..16d09eec4df6 100644 --- a/toolchain/check/testdata/builtins/int/xor_assign.carbon +++ b/toolchain/check/testdata/builtins/int/xor_assign.carbon @@ -66,7 +66,5 @@ fn MixedTypes(ref a: i32, b: i64) = "int.xor_assign"; // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Builtin.call: init %empty_tuple.type = call %Builtin.ref(%a.ref, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/maybe_unformed/make_type.carbon b/toolchain/check/testdata/builtins/maybe_unformed/make_type.carbon index 1bb39ae97fbe..672ed45a3e7e 100644 --- a/toolchain/check/testdata/builtins/maybe_unformed/make_type.carbon +++ b/toolchain/check/testdata/builtins/maybe_unformed/make_type.carbon @@ -98,8 +98,6 @@ fn ColonBangParam(generic T: type) -> type = "maybe_unformed.make_type"; // CHECK:STDOUT: fn @F(%b.param: %.2ba) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- runtime_call.carbon @@ -141,7 +139,5 @@ fn ColonBangParam(generic T: type) -> type = "maybe_unformed.make_type"; // CHECK:STDOUT: %t.ref: type = name_ref t, file.%t // CHECK:STDOUT: %Make.call: init type = call %Make.ref(%t.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/no_op.carbon b/toolchain/check/testdata/builtins/no_op.carbon index 688a181d717a..9a65de49c7e5 100644 --- a/toolchain/check/testdata/builtins/no_op.carbon +++ b/toolchain/check/testdata/builtins/no_op.carbon @@ -80,8 +80,6 @@ fn NoOp() -> {} = "no_op"; // CHECK:STDOUT: %NoOp.ref: %NoOp.type = name_ref NoOp, file.%NoOp.decl [concrete = constants.%NoOp] // CHECK:STDOUT: %NoOp.call: init %empty_tuple.type = call %NoOp.ref() [concrete = constants.%empty_tuple] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- explicit_return.carbon @@ -98,8 +96,6 @@ fn NoOp() -> {} = "no_op"; // CHECK:STDOUT: %NoOp.ref: %NoOp.type = name_ref NoOp, file.%NoOp.decl [concrete = constants.%NoOp] // CHECK:STDOUT: %NoOp.call: init %empty_tuple.type = call %NoOp.ref() [concrete = constants.%empty_tuple] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- ignore_args.carbon @@ -119,8 +115,6 @@ fn NoOp() -> {} = "no_op"; // CHECK:STDOUT: %.loc8_9.2: %empty_tuple.type = converted %.loc8_9.1, %empty_tuple [concrete = constants.%empty_tuple] // CHECK:STDOUT: %NoOp.call: init %empty_tuple.type = call %NoOp.ref(%.loc8_9.2) [concrete = constants.%empty_tuple] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- assign.carbon @@ -154,7 +148,5 @@ fn NoOp() -> {} = "no_op"; // CHECK:STDOUT: %NoOp.call: init %empty_tuple.type = call %NoOp.ref() [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%x.var, %NoOp.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/pointer/is_null.carbon b/toolchain/check/testdata/builtins/pointer/is_null.carbon index 7c16a2fe4403..6c2cc0dc8629 100644 --- a/toolchain/check/testdata/builtins/pointer/is_null.carbon +++ b/toolchain/check/testdata/builtins/pointer/is_null.carbon @@ -169,8 +169,6 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: %s.ref: %.b2d = name_ref s, %s // CHECK:STDOUT: %IsNullEmptyStruct.call: init bool = call %IsNullEmptyStruct.ref(%s.ref) // CHECK:STDOUT: return %IsNullEmptyStruct.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestC(%c.param: %.9e8) -> out %return.param: bool { @@ -179,8 +177,6 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: %c.ref: %.9e8 = name_ref c, %c // CHECK:STDOUT: %IsNullC.call: init bool = call %IsNullC.ref(%c.ref) // CHECK:STDOUT: return %IsNullC.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_generic.carbon @@ -268,8 +264,6 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: %IsNull.specific_fn: = specific_function %IsNull.ref, @IsNull(constants.%empty_struct_type) [concrete = constants.%IsNull.specific_fn.add] // CHECK:STDOUT: %IsNull.call: init bool = call %IsNull.specific_fn(%s.ref) // CHECK:STDOUT: return %IsNull.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestC(%c.param: %.9e8) -> out %return.param: bool { @@ -279,7 +273,5 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: %IsNull.specific_fn: = specific_function %IsNull.ref, @IsNull(constants.%C) [concrete = constants.%IsNull.specific_fn.5e3] // CHECK:STDOUT: %IsNull.call: init bool = call %IsNull.specific_fn(%c.ref) // CHECK:STDOUT: return %IsNull.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/pointer/make_null.carbon b/toolchain/check/testdata/builtins/pointer/make_null.carbon index c3f28fd55435..b8ea318f6ed6 100644 --- a/toolchain/check/testdata/builtins/pointer/make_null.carbon +++ b/toolchain/check/testdata/builtins/pointer/make_null.carbon @@ -124,8 +124,6 @@ fn NotPointer() -> MakeUnformed({}) = "pointer.make_null"; // CHECK:STDOUT: %MakeNullC.ref: %MakeNullC.type = name_ref MakeNullC, file.%MakeNullC.decl [concrete = constants.%MakeNullC] // CHECK:STDOUT: %MakeNullC.call: init %.9e8 = call %MakeNullC.ref() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_generic.carbon @@ -194,7 +192,5 @@ fn NotPointer() -> MakeUnformed({}) = "pointer.make_null"; // CHECK:STDOUT: %MakeNull.specific_fn.loc11: = specific_function %MakeNull.ref.loc11, @MakeNull(constants.%C) [concrete = constants.%MakeNull.specific_fn.75f] // CHECK:STDOUT: %MakeNull.call.loc11: init %.9e8 = call %MakeNull.specific_fn.loc11() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/print/char.carbon b/toolchain/check/testdata/builtins/print/char.carbon index 44fc84918629..3840357d68e1 100644 --- a/toolchain/check/testdata/builtins/print/char.carbon +++ b/toolchain/check/testdata/builtins/print/char.carbon @@ -88,7 +88,5 @@ fn Main() { // CHECK:STDOUT: %.loc20_18.3: %char = converted %.loc20_18.1, %.loc20_18.2 [concrete = constants.%int_50] // CHECK:STDOUT: %PrintChar.call.loc20: init %i32 = call %PrintChar.ref.loc20(%.loc20_18.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/print/int.carbon b/toolchain/check/testdata/builtins/print/int.carbon index 6a82e78a917f..676b7aaead4f 100644 --- a/toolchain/check/testdata/builtins/print/int.carbon +++ b/toolchain/check/testdata/builtins/print/int.carbon @@ -96,7 +96,5 @@ fn Main() { // CHECK:STDOUT: %.loc20_14.2: %i32 = converted %int_2, %.loc20_14.1 [concrete = constants.%int_2.295] // CHECK:STDOUT: %Print.call.loc20: init %empty_tuple.type = call %Print.ref.loc20(%.loc20_14.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/read/char.carbon b/toolchain/check/testdata/builtins/read/char.carbon index 2ffb2a6fda05..b75d9740025c 100644 --- a/toolchain/check/testdata/builtins/read/char.carbon +++ b/toolchain/check/testdata/builtins/read/char.carbon @@ -73,7 +73,5 @@ fn Main() { // CHECK:STDOUT: %m.patt: %pattern_type.6b6 = value_binding_pattern m [concrete = constants.%m.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/choice/basic.carbon b/toolchain/check/testdata/choice/basic.carbon index aefd4a64427a..5b9e6a5a2049 100644 --- a/toolchain/check/testdata/choice/basic.carbon +++ b/toolchain/check/testdata/choice/basic.carbon @@ -130,8 +130,6 @@ let never: Never = {}; // CHECK:STDOUT: %Always.ref: type = name_ref Always, file.%Always.decl [concrete = constants.%Always] // CHECK:STDOUT: %Sunny.ref: %Always = name_ref Sunny, @Always.%Sunny // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- multiple_alternatives.carbon @@ -348,7 +346,5 @@ let never: Never = {}; // CHECK:STDOUT: %Ordering.ref.loc14: type = name_ref Ordering, file.%Ordering.decl [concrete = constants.%Ordering] // CHECK:STDOUT: %Incomparable.ref: %Ordering = name_ref Incomparable, @Ordering.%Incomparable // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/abstract/abstract.carbon b/toolchain/check/testdata/class/abstract/abstract.carbon index 88e8096888a0..9a724e4aeaed 100644 --- a/toolchain/check/testdata/class/abstract/abstract.carbon +++ b/toolchain/check/testdata/class/abstract/abstract.carbon @@ -335,8 +335,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %v.var_patt: = var_pattern %v.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_var_function_param.carbon @@ -385,8 +383,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: fn @F(%_.param: ref ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- abstract_let.carbon @@ -445,8 +441,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %l.patt: %pattern_type = value_binding_pattern l [concrete = constants.%l.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_adapter.carbon @@ -563,8 +557,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %p.ref: %Abstract = name_ref p, %p // CHECK:STDOUT: %Param.call: init %empty_tuple.type = call %Param.ref(%p.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- return_nonabstract_derived.carbon @@ -660,8 +652,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %.loc13_30.8: init %Derived to %return.param = class_init (%.loc13_30.4, %.loc13_30.7) [concrete = constants.%Derived.val] // CHECK:STDOUT: %.loc13_31: init %Derived = converted %.loc13_30.1, %.loc13_30.8 [concrete = constants.%Derived.val] // CHECK:STDOUT: return %.loc13_31 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_return_abstract.carbon @@ -745,8 +735,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %Abstract = name_ref a, %a // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- access_abstract_subobject.carbon @@ -865,8 +853,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %.loc14_16.3: init %empty_struct_type = struct_init () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc14_18: init %empty_struct_type = converted %.loc14_16.2, %.loc14_16.3 [concrete = constants.%empty_struct] // CHECK:STDOUT: return %.loc14_18 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Access(%d.param: %Derived) -> out %return.param: %empty_struct_type { @@ -880,8 +866,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %.loc18_11.5: init %empty_struct_type = struct_init () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc18_13: init %empty_struct_type = converted %.loc18_11.4, %.loc18_11.5 [concrete = constants.%empty_struct] // CHECK:STDOUT: return %.loc18_13 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_let_temporary_struct_literal.carbon @@ -942,8 +926,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %l.patt: %pattern_type.169 = value_binding_pattern l [concrete = constants.%l.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_abstract_let_temporary.carbon @@ -1039,8 +1021,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %l.patt: %pattern_type.169 = value_binding_pattern l [concrete = constants.%l.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_call_abstract_return.carbon @@ -1102,8 +1082,6 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %ReturnAbstract.ref: %ReturnAbstract.type = name_ref ReturnAbstract, file.%ReturnAbstract.decl [concrete = constants.%ReturnAbstract] // CHECK:STDOUT: %ReturnAbstract.call: init = call %ReturnAbstract.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_assign_to_abstract_ref.carbon @@ -1162,7 +1140,5 @@ fn Assign(ref a: Abstract) { // CHECK:STDOUT: %.loc14: %Abstract = acquire_value %a.ref.loc14_7 // CHECK:STDOUT: assign %a.ref.loc14_3, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/abstract/fail_abstract_in_struct.carbon b/toolchain/check/testdata/class/abstract/fail_abstract_in_struct.carbon index ede6311ce2be..a88e4b775db5 100644 --- a/toolchain/check/testdata/class/abstract/fail_abstract_in_struct.carbon +++ b/toolchain/check/testdata/class/abstract/fail_abstract_in_struct.carbon @@ -191,8 +191,6 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%v.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- abstract_let.carbon @@ -250,8 +248,6 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %l.patt: %pattern_type.2be = value_binding_pattern l [concrete = constants.%l.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_twice.carbon @@ -305,8 +301,6 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%v2.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_first.carbon @@ -352,8 +346,6 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%v3.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_second.carbon @@ -399,8 +391,6 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%v4.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- lib.carbon @@ -470,7 +460,5 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%v5.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/abstract/fail_abstract_in_tuple.carbon b/toolchain/check/testdata/class/abstract/fail_abstract_in_tuple.carbon index a8efeef0c077..6a051a336fc3 100644 --- a/toolchain/check/testdata/class/abstract/fail_abstract_in_tuple.carbon +++ b/toolchain/check/testdata/class/abstract/fail_abstract_in_tuple.carbon @@ -228,8 +228,6 @@ fn Var5() { // CHECK:STDOUT: %v.var_patt: = var_pattern %v.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- abstract_let.carbon @@ -299,8 +297,6 @@ fn Var5() { // CHECK:STDOUT: %l.patt: %pattern_type.ac0 = value_binding_pattern l [concrete = constants.%l.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_twice.carbon @@ -372,8 +368,6 @@ fn Var5() { // CHECK:STDOUT: %v2.var_patt: = var_pattern %v2.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_first.carbon @@ -436,8 +430,6 @@ fn Var5() { // CHECK:STDOUT: %v3.var_patt: = var_pattern %v3.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_abstract_second.carbon @@ -500,8 +492,6 @@ fn Var5() { // CHECK:STDOUT: %v4.var_patt: = var_pattern %v4.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- lib.carbon @@ -595,7 +585,5 @@ fn Var5() { // CHECK:STDOUT: %v5.var_patt: = var_pattern %v5.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/access/access_modifers.carbon b/toolchain/check/testdata/class/access/access_modifers.carbon index 85020cc0fe1f..9c7cb01e40a8 100644 --- a/toolchain/check/testdata/class/access/access_modifers.carbon +++ b/toolchain/check/testdata/class/access/access_modifers.carbon @@ -289,8 +289,6 @@ class A { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_13.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc9: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc9 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Circle.Make() -> out %return.param: %Circle { @@ -308,8 +306,6 @@ class A { // CHECK:STDOUT: %.loc13_24.5: init %Circle to %return.param = class_init (%.loc13_24.4) [concrete = constants.%Circle.val] // CHECK:STDOUT: %.loc13_25: init %Circle = converted %.loc13_24.1, %.loc13_24.5 [concrete = constants.%Circle.val] // CHECK:STDOUT: return %.loc13_25 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { @@ -343,8 +339,6 @@ class A { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc18_36.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc18_36.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_36.1(%self.param: ref %i32.builtin) = "no_op"; @@ -352,22 +346,16 @@ class A { // CHECK:STDOUT: fn @Destroy.Op.loc18_36.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_36.3(%self.param: ref %struct_type.radius.c2c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_36.4(%self.param: ref %Circle) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_protected_field_access.carbon @@ -427,8 +415,6 @@ class A { // CHECK:STDOUT: %x.patt: %pattern_type.6b6 = value_binding_pattern x [concrete = constants.%x.patt.939] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- instance_private_field_access_on_self.carbon @@ -573,8 +559,6 @@ class A { // CHECK:STDOUT: %bound_method.loc8_16.2: = bound_method %.loc8_16.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc8_16.2(%.loc8_16.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Circle.SomeInternalFunction() -> out %return.param: %i32 { @@ -587,8 +571,6 @@ class A { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_13.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc12: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc12 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Circle.Compute(%self.param: %Circle) -> out %return.param: %i32 { @@ -597,8 +579,6 @@ class A { // CHECK:STDOUT: %SomeInternalFunction.ref: %Circle.SomeInternalFunction.type = name_ref SomeInternalFunction, @Circle.%Circle.SomeInternalFunction.decl [concrete = constants.%Circle.SomeInternalFunction] // CHECK:STDOUT: %Circle.SomeInternalFunction.call: init %i32 = call %SomeInternalFunction.ref() // CHECK:STDOUT: return %Circle.SomeInternalFunction.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- public_global_access.carbon @@ -688,8 +668,6 @@ class A { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %x.ref: %i32 = name_ref x, @A.%x // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_global_access.carbon @@ -803,8 +781,6 @@ class A { // CHECK:STDOUT: %A.ref.loc24: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %y.ref: = name_ref y, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- self_access.carbon @@ -851,8 +827,6 @@ class A { // CHECK:STDOUT: fn @A.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @A.G() { @@ -861,7 +835,5 @@ class A { // CHECK:STDOUT: %F.ref: %A.F.type = name_ref F, @A.%A.F.decl [concrete = constants.%A.F] // CHECK:STDOUT: %A.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/access/import_access.carbon b/toolchain/check/testdata/class/access/import_access.carbon index 6cfd6d320529..0223676ca2d2 100644 --- a/toolchain/check/testdata/class/access/import_access.carbon +++ b/toolchain/check/testdata/class/access/import_access.carbon @@ -251,8 +251,6 @@ private class Redecl {} // CHECK:STDOUT: %.loc4_1: init %Def = converted %.loc4_15.1, %.loc4_15.2 [concrete = constants.%Def.val] // CHECK:STDOUT: assign file.%c.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_def.carbon @@ -282,8 +280,6 @@ private class Redecl {} // CHECK:STDOUT: %.loc10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%c.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_def.carbon @@ -323,8 +319,6 @@ private class Redecl {} // CHECK:STDOUT: %.loc10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%c.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forward_with_def.impl.carbon @@ -376,8 +370,6 @@ private class Redecl {} // CHECK:STDOUT: %.loc4_1: init %ForwardWithDef = converted %.loc4_26.1, %.loc4_26.2 [concrete = constants.%ForwardWithDef.val] // CHECK:STDOUT: assign file.%c.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_forward_with_def.carbon @@ -407,8 +399,6 @@ private class Redecl {} // CHECK:STDOUT: %.loc10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%c.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_forward_with_def.carbon @@ -448,8 +438,6 @@ private class Redecl {} // CHECK:STDOUT: %.loc10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%c.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forward.impl.carbon @@ -502,8 +490,6 @@ private class Redecl {} // CHECK:STDOUT: fn @F(%c.param: %ptr) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_forward.carbon @@ -535,8 +521,6 @@ private class Redecl {} // CHECK:STDOUT: fn @F(%c.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_forward.carbon @@ -576,8 +560,6 @@ private class Redecl {} // CHECK:STDOUT: fn @F(%c.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- todo_fail_private_on_redecl.carbon diff --git a/toolchain/check/testdata/class/access/inheritance_access.carbon b/toolchain/check/testdata/class/access/inheritance_access.carbon index 945de3b7ace3..439a44149799 100644 --- a/toolchain/check/testdata/class/access/inheritance_access.carbon +++ b/toolchain/check/testdata/class/access/inheritance_access.carbon @@ -427,8 +427,6 @@ class B { // CHECK:STDOUT: %.loc13_27.4: init %tuple.type.e55 to %return.param = tuple_init (%.loc13_27.2, %.loc13_27.3) // CHECK:STDOUT: %.loc13_28: init %tuple.type.e55 = converted %.loc13_27.1, %.loc13_27.4 // CHECK:STDOUT: return %.loc13_28 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- shadowing_access.carbon @@ -565,8 +563,6 @@ class B { // CHECK:STDOUT: %F.ref: %A.F.type = name_ref F, @A.%A.F.decl [concrete = constants.%A.F] // CHECK:STDOUT: %A.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return %A.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- inherited_member_access.carbon @@ -728,8 +724,6 @@ class B { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_13.2(%int_5) [concrete = constants.%int_5.eef] // CHECK:STDOUT: %.loc7: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.eef] // CHECK:STDOUT: return %.loc7 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.G() -> out %return.param: %i32 { @@ -742,8 +736,6 @@ class B { // CHECK:STDOUT: %bound_method.loc15_13.2: = bound_method %SOME_CONSTANT.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc15_13.2(%SOME_CONSTANT.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.H() -> out %return.param: %i32 { @@ -752,8 +744,6 @@ class B { // CHECK:STDOUT: %SomeProtectedFunction.ref: %A.SomeProtectedFunction.type = name_ref SomeProtectedFunction, @A.%A.SomeProtectedFunction.decl [concrete = constants.%A.SomeProtectedFunction] // CHECK:STDOUT: %A.SomeProtectedFunction.call: init %i32 = call %SomeProtectedFunction.ref() // CHECK:STDOUT: return %A.SomeProtectedFunction.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_inherited_private_field_access.carbon @@ -846,8 +836,6 @@ class B { // CHECK:STDOUT: %self.ref: %Square = name_ref self, %self // CHECK:STDOUT: %y.ref: = name_ref y, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- noninstance_private_on_self.carbon @@ -894,8 +882,6 @@ class B { // CHECK:STDOUT: fn @C.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.G() { @@ -906,8 +892,6 @@ class B { // CHECK:STDOUT: %F.ref.loc8: %C.F.type = name_ref F, @C.%C.F.decl [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.call.loc8: init %empty_tuple.type = call %F.ref.loc8() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- noninstance_protected_on_self.carbon @@ -954,8 +938,6 @@ class B { // CHECK:STDOUT: fn @C.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.G() { @@ -966,8 +948,6 @@ class B { // CHECK:STDOUT: %F.ref.loc8: %C.F.type = name_ref F, @C.%C.F.decl [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.call.loc8: init %empty_tuple.type = call %F.ref.loc8() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_noninstance_private_on_parent_qualified.carbon @@ -1033,8 +1013,6 @@ class B { // CHECK:STDOUT: fn @B.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.G() { @@ -1042,8 +1020,6 @@ class B { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] // CHECK:STDOUT: %F.ref: = name_ref F, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_noninstance_private_on_parent_unqualified.carbon @@ -1199,39 +1175,29 @@ class B { // CHECK:STDOUT: fn @A.Fa() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.Fb() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.G1() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %SOME_PRIVATE_CONSTANT.ref: = name_ref SOME_PRIVATE_CONSTANT, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.G2() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Fa.ref: = name_ref Fa, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.G3() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Fb.ref: = name_ref Fb, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- noninstance_protected_on_parent.carbon @@ -1298,8 +1264,6 @@ class B { // CHECK:STDOUT: fn @B.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.G() { @@ -1308,8 +1272,6 @@ class B { // CHECK:STDOUT: %F.ref: %B.F.type = name_ref F, @B.%B.F.decl [concrete = constants.%B.F] // CHECK:STDOUT: %B.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_non_inherited_access.carbon @@ -1488,8 +1450,6 @@ class B { // CHECK:STDOUT: %A.ref.loc33: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %SOME_PROTECTED_CONSTANT.ref: = name_ref SOME_PROTECTED_CONSTANT, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.SomeFunc(%self.param: %B) -> out %return.param: %i32 { @@ -1500,8 +1460,6 @@ class B { // CHECK:STDOUT: %.loc44_16.2: %Internal = acquire_value %.loc44_16.1 // CHECK:STDOUT: %INTERNAL_CONSTANT.ref: = name_ref INTERNAL_CONSTANT, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_compound_member_access.carbon @@ -1585,8 +1543,6 @@ class B { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %x.ref: = name_ref x, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- inherited_compound_member_access.carbon @@ -1674,7 +1630,5 @@ class B { // CHECK:STDOUT: %.loc12_9.3: ref %A = converted %self.ref, %.loc12_9.2 // CHECK:STDOUT: %.loc12_9.4: ref %i32 = class_element_access %.loc12_9.3, element0 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/access/method_access.carbon b/toolchain/check/testdata/class/access/method_access.carbon index eb1cd7f946e4..4ac0f696e66b 100644 --- a/toolchain/check/testdata/class/access/method_access.carbon +++ b/toolchain/check/testdata/class/access/method_access.carbon @@ -88,7 +88,5 @@ fn G(x: X) { // CHECK:STDOUT: %X.F.bound: = bound_method %x.ref.loc12_6, %F.ref // CHECK:STDOUT: %X.F.call: init %empty_tuple.type = call %X.F.bound(%x.ref.loc12_6) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/adapter/adapt.carbon b/toolchain/check/testdata/class/adapter/adapt.carbon index 66fcf0d9e875..78a304e8ce81 100644 --- a/toolchain/check/testdata/class/adapter/adapt.carbon +++ b/toolchain/check/testdata/class/adapter/adapt.carbon @@ -214,8 +214,6 @@ interface I { // CHECK:STDOUT: %a.ref: %AdaptNotExtend = name_ref a, %a // CHECK:STDOUT: %F.ref: = name_ref F, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_misplaced.carbon @@ -263,16 +261,12 @@ interface I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) {} diff --git a/toolchain/check/testdata/class/adapter/adapt_copy.carbon b/toolchain/check/testdata/class/adapter/adapt_copy.carbon index 2f29388cdc76..3aa5870e4e8e 100644 --- a/toolchain/check/testdata/class/adapter/adapt_copy.carbon +++ b/toolchain/check/testdata/class/adapter/adapt_copy.carbon @@ -299,8 +299,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -308,15 +306,11 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc16_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_3.3(%self.param: ref %AdaptCopyable) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.28f) -> out %return.param: %tuple.type.28f { @@ -342,8 +336,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_3.1(%self.param: ref %u32.builtin) = "no_op"; @@ -351,15 +343,11 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc35_3.2(%self.param: ref %u32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_3.3(%self.param: ref %tuple.type.28f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- adapt_copyable_tuple.carbon @@ -567,8 +555,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return %.loc10_11.9 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -576,22 +562,16 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %tuple.type.e55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.4(%self.param: ref %AdaptTuple) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.e88) -> out %return.param: %tuple.type.e88 { @@ -683,8 +663,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1a2547.7 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return %.loc15_11 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_3.1(%self.param: ref %u32.builtin) = "no_op"; @@ -692,15 +670,11 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc14_3.2(%self.param: ref %u32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_3.3(%self.param: ref %tuple.type.e88) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_adapt_not_copyable.carbon @@ -799,8 +773,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -808,15 +780,11 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc20_3.2(%self.param: ref %Noncopyable) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_3.3(%self.param: ref %AdaptNoncopyable) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_adapt_not_copyable_indirect.carbon @@ -965,8 +933,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -974,8 +940,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc23_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_3.3(%self.param: ref %empty_struct_type) = "no_op"; @@ -983,22 +947,16 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc23_3.4(%self.param: ref %Noncopyable) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_3.5(%self.param: ref %tuple.type.227) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_3.6(%self.param: ref %AdaptNoncopyableIndirect) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- adapt_copyable_struct.carbon @@ -1204,8 +1162,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %h.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%h.var) // CHECK:STDOUT: return %.loc10_11.13 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -1213,22 +1169,16 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %struct_type.e.f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.4(%self.param: ref %AdaptStruct) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.e00) -> out %return.param: %tuple.type.e00 { @@ -1320,8 +1270,6 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1a2547.7 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return %.loc15_11 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_3.1(%self.param: ref %u32.builtin) = "no_op"; @@ -1329,14 +1277,10 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @Destroy.Op.loc14_3.2(%self.param: ref %u32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_3.3(%self.param: ref %tuple.type.e00) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/adapter/extend_adapt.carbon b/toolchain/check/testdata/class/adapter/extend_adapt.carbon index a0e2eeb38b73..1bc214eb85a5 100644 --- a/toolchain/check/testdata/class/adapter/extend_adapt.carbon +++ b/toolchain/check/testdata/class/adapter/extend_adapt.carbon @@ -257,8 +257,6 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %StaticMemberFunction.ref: %SomeClass.StaticMemberFunction.type = name_ref StaticMemberFunction, @SomeClass.%SomeClass.StaticMemberFunction.decl [concrete = constants.%SomeClass.StaticMemberFunction] // CHECK:STDOUT: %SomeClass.StaticMemberFunction.call: init %empty_tuple.type = call %StaticMemberFunction.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAdapterMethod(%a.param: %SomeClassAdapter) { @@ -268,8 +266,6 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %SomeClass.AdapterMethod.bound: = bound_method %a.ref, %AdapterMethod.ref // CHECK:STDOUT: %SomeClass.AdapterMethod.call: init %empty_tuple.type = call %SomeClass.AdapterMethod.bound(%a.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_method_access.carbon @@ -363,8 +359,6 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %.loc23: %SomeClass = converted %a.ref, [concrete = ] // CHECK:STDOUT: %SomeClass.F.call: init %empty_tuple.type = call %SomeClass.F.bound() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_field_access.carbon @@ -461,8 +455,6 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %.loc21_11.1: %SomeClass = converted %a.ref, [concrete = ] // CHECK:STDOUT: %.loc21_11.2: %i32 = class_element_access , element1 [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_adapt_struct.carbon @@ -538,8 +530,6 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %a.ref: %StructAdapter = name_ref a, %a // CHECK:STDOUT: %b.ref: = name_ref b, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_adapt_tuple.carbon @@ -618,8 +608,6 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %a.ref: %TupleAdapter = name_ref a, %a // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_adapt_builtin.carbon @@ -729,7 +717,5 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %a.ref: %IntAdapter = name_ref a, %a // CHECK:STDOUT: %foo.ref: = name_ref foo, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/adapter/init_adapt.carbon b/toolchain/check/testdata/class/adapter/init_adapt.carbon index 9957fe2b2ac5..8825335e390d 100644 --- a/toolchain/check/testdata/class/adapter/init_adapt.carbon +++ b/toolchain/check/testdata/class/adapter/init_adapt.carbon @@ -308,8 +308,6 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: %.loc25_25.2: init %C = converted %MakeAdaptC.call, %.loc25_25.1 // CHECK:STDOUT: assign file.%e.var, %.loc25_25.2 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_not_implicit.carbon @@ -516,7 +514,5 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: %.loc55_1: %C = converted %MakeAdaptC.call, [concrete = ] // CHECK:STDOUT: assign file.%e.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/basic.carbon b/toolchain/check/testdata/class/basic.carbon index e133e7582c40..875d4cc13e54 100644 --- a/toolchain/check/testdata/class/basic.carbon +++ b/toolchain/check/testdata/class/basic.carbon @@ -182,8 +182,6 @@ fn Run() -> i32 { // CHECK:STDOUT: %bound_method.loc17_12.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc17_12.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.G(%n.param.loc25: %i32) -> out %return.param.loc25: %i32 { @@ -195,8 +193,6 @@ fn Run() -> i32 { // CHECK:STDOUT: %bound_method.loc26_10.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc26_10.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() -> out %return.param: %i32 { @@ -213,7 +209,5 @@ fn Run() -> i32 { // CHECK:STDOUT: %.loc30_18.2: %i32 = converted %int_4, %.loc30_18.1 [concrete = constants.%int_4.4eb] // CHECK:STDOUT: %Class.F.call: init %i32 = call %F.ref(%.loc30_18.2) // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/complete_in_member_fn.carbon b/toolchain/check/testdata/class/complete_in_member_fn.carbon index 00aee31a6331..63781aaceb4b 100644 --- a/toolchain/check/testdata/class/complete_in_member_fn.carbon +++ b/toolchain/check/testdata/class/complete_in_member_fn.carbon @@ -111,7 +111,5 @@ class C { // CHECK:STDOUT: %bound_method.loc16_31.2: = bound_method %.loc16_31.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc16_31.2(%.loc16_31.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/cross_package_import.carbon b/toolchain/check/testdata/class/cross_package_import.carbon index aadb3dcd774f..45d5b9edec83 100644 --- a/toolchain/check/testdata/class/cross_package_import.carbon +++ b/toolchain/check/testdata/class/cross_package_import.carbon @@ -186,8 +186,6 @@ var c: Other.C = {}; // CHECK:STDOUT: fn @C() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- define.carbon @@ -251,8 +249,6 @@ var c: Other.C = {}; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_extern.carbon @@ -302,8 +298,6 @@ var c: Other.C = {}; // CHECK:STDOUT: %.loc14: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%c.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_merge_define_extern.carbon @@ -368,8 +362,6 @@ var c: Other.C = {}; // CHECK:STDOUT: %.loc19_1: init %C = converted %.loc19_19.1, %.loc19_19.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc19_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_conflict.carbon @@ -434,7 +426,5 @@ var c: Other.C = {}; // CHECK:STDOUT: %.loc19_1: init %C = converted %.loc19_19.1, %.loc19_19.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc19_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/destroy_calls.carbon b/toolchain/check/testdata/class/destroy_calls.carbon index ff230ffc49d2..b101dd549698 100644 --- a/toolchain/check/testdata/class/destroy_calls.carbon +++ b/toolchain/check/testdata/class/destroy_calls.carbon @@ -166,8 +166,6 @@ fn G() { F({}); } // CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %a.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc12_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -175,22 +173,16 @@ fn G() { F({}); } // CHECK:STDOUT: fn @Destroy.Op.loc12_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11(%self.param: ref %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nested_scope.carbon @@ -278,8 +270,6 @@ fn G() { F({}); } // CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %a.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_5.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -287,22 +277,16 @@ fn G() { F({}); } // CHECK:STDOUT: fn @Destroy.Op.loc13_5.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11(%self.param: ref %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- temp.carbon @@ -357,8 +341,6 @@ fn G() { F({}); } // CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %.loc12_10.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc12: init %empty_tuple.type = call %Destroy.Op.bound.loc12(%.loc12_10.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_10.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -366,22 +348,16 @@ fn G() { F({}); } // CHECK:STDOUT: fn @Destroy.Op.loc14_10.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13(%self.param: ref %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc12(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_class.carbon @@ -428,8 +404,6 @@ fn G() { F({}); } // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -437,8 +411,6 @@ fn G() { F({}); } // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %D.dee) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_use_inside_generic.carbon @@ -540,8 +512,6 @@ fn G() { F({}); } // CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %v.var, %specific_impl_fn.loc7_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc7_3.2(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -550,8 +520,6 @@ fn G() { F({}); } // CHECK:STDOUT: fn @Destroy.Op.loc7_3.2(%self.param: ref %C.d8e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { diff --git a/toolchain/check/testdata/class/export_name.carbon b/toolchain/check/testdata/class/export_name.carbon index 3c5bae1920d9..8ce67c89cab9 100644 --- a/toolchain/check/testdata/class/export_name.carbon +++ b/toolchain/check/testdata/class/export_name.carbon @@ -142,7 +142,5 @@ var c: C = {}; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_13.1, %.loc6_13.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/field/compound_field.carbon b/toolchain/check/testdata/class/field/compound_field.carbon index 1df1dcb90cd3..a6abefc45ea5 100644 --- a/toolchain/check/testdata/class/field/compound_field.carbon +++ b/toolchain/check/testdata/class/field/compound_field.carbon @@ -242,8 +242,6 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %bound_method.loc29_11.2: = bound_method %.loc29_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc29_11.2(%.loc29_11.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @AccessBase(%d.param: %Derived) -> out %return.param: %i32 { @@ -262,8 +260,6 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %bound_method.loc33_11.2: = bound_method %.loc33_11.5, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc33_11.2(%.loc33_11.5) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @AccessDerivedIndirect(%p.param: %ptr.64c) -> out %return.param: %ptr.d08 { @@ -280,8 +276,6 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %bound_method.loc37_10.2: = bound_method %addr, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d08 = call %bound_method.loc37_10.2(%addr) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @AccessBaseIndirect(%p.param: %ptr.64c) -> out %return.param: %ptr.d08 { @@ -301,7 +295,5 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %bound_method.loc41_10.2: = bound_method %addr, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d08 = call %bound_method.loc41_10.2(%addr) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/field/field_access.carbon b/toolchain/check/testdata/class/field/field_access.carbon index 4f9eb73894d5..546347b83b60 100644 --- a/toolchain/check/testdata/class/field/field_access.carbon +++ b/toolchain/check/testdata/class/field/field_access.carbon @@ -222,8 +222,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %c.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc21: init %empty_tuple.type = call %Destroy.Op.bound.loc21(%c.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc25_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -231,21 +229,15 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc25_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc21_3.1(%self.param: ref %struct_type.j.k) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc21_3.2(%self.param: ref %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/field/field_access_in_value.carbon b/toolchain/check/testdata/class/field/field_access_in_value.carbon index 69ca358022ad..507da156021c 100644 --- a/toolchain/check/testdata/class/field/field_access_in_value.carbon +++ b/toolchain/check/testdata/class/field/field_access_in_value.carbon @@ -231,8 +231,6 @@ fn Test() { // CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %cv.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc21: init %empty_tuple.type = call %Destroy.Op.bound.loc21(%cv.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -240,21 +238,15 @@ fn Test() { // CHECK:STDOUT: fn @Destroy.Op.loc26_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc21_3.1(%self.param: ref %struct_type.j.k) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc21_3.2(%self.param: ref %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/field/field_initializer.carbon b/toolchain/check/testdata/class/field/field_initializer.carbon index cd37ad9e6bef..9b5779f96832 100644 --- a/toolchain/check/testdata/class/field/field_initializer.carbon +++ b/toolchain/check/testdata/class/field/field_initializer.carbon @@ -157,7 +157,5 @@ var C: Class = {}; // CHECK:STDOUT: %.loc8_1: init %Class = converted %.loc8_17.1, %.loc8_17.2 [concrete = constants.%Class.val] // CHECK:STDOUT: assign file.%C.var, %.loc8_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/field/static.carbon b/toolchain/check/testdata/class/field/static.carbon index b4ee405486bd..6fa7ab4bb953 100644 --- a/toolchain/check/testdata/class/field/static.carbon +++ b/toolchain/check/testdata/class/field/static.carbon @@ -144,8 +144,6 @@ fn F() { // CHECK:STDOUT: %.loc10: init %i32 = converted %int_456, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_456.8dd] // CHECK:STDOUT: assign %static_field.ref, %.loc10 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -166,7 +164,5 @@ fn F() { // CHECK:STDOUT: %.loc6: init %i32 = converted %int_123, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.2bf] // CHECK:STDOUT: assign @C.%static_field_with_init.var, %.loc6 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/forward_declared.carbon b/toolchain/check/testdata/class/forward_declared.carbon index 0dde4cac793d..c92c0e6bcce0 100644 --- a/toolchain/check/testdata/class/forward_declared.carbon +++ b/toolchain/check/testdata/class/forward_declared.carbon @@ -92,7 +92,5 @@ fn F(p: Class*) -> Class* { return p; } // CHECK:STDOUT: %bound_method.loc17_36.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.7ee = call %bound_method.loc17_36.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/adapt.carbon b/toolchain/check/testdata/class/generic/adapt.carbon index e39fa2d1f2e8..4818d384d435 100644 --- a/toolchain/check/testdata/class/generic/adapt.carbon +++ b/toolchain/check/testdata/class/generic/adapt.carbon @@ -278,8 +278,6 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %bound_method.loc13_23.2: = bound_method %.loc13_23.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc13_23.2(%.loc13_23.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T.67d) { @@ -445,8 +443,6 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %bound_method.loc7_23.2: = bound_method %.loc7_23.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc7_23.2(%.loc7_23.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T.67d) { @@ -602,8 +598,6 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %.loc21_11.1: %C.3b7 = converted %a.ref, [concrete = ] // CHECK:STDOUT: %.loc21_11.2: %i32 = class_element_access , element0 [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -865,8 +859,6 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %.loc15_11.1: %C.3b7 = converted %a.ref, [concrete = ] // CHECK:STDOUT: %.loc15_11.2: %i32 = class_element_access , element0 [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -1012,8 +1004,6 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %bound_method.loc9_12.2: = bound_method %.loc9_12.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc9_12.2(%.loc9_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Adapter(constants.%T.67d) { @@ -1187,8 +1177,6 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %bound_method.loc7_12.2: = bound_method %.loc7_12.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc7_12.2(%.loc7_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ImportedConvertLocal(%a.param: %Adapter.347) -> out %return.param: %i32 { @@ -1206,8 +1194,6 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %bound_method.loc15_18.2: = bound_method %.loc15_18.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc15_18.2(%.loc15_18.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Adapter(constants.%T.67d) { diff --git a/toolchain/check/testdata/class/generic/base_is_generic.carbon b/toolchain/check/testdata/class/generic/base_is_generic.carbon index 17a747738d76..6be094ce5308 100644 --- a/toolchain/check/testdata/class/generic/base_is_generic.carbon +++ b/toolchain/check/testdata/class/generic/base_is_generic.carbon @@ -264,8 +264,6 @@ fn H() { // CHECK:STDOUT: %bound_method.loc17_13.2: = bound_method %.loc17_13.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc17_13.2(%.loc17_13.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Base(constants.%T.67d) { @@ -453,8 +451,6 @@ fn H() { // CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %.loc7_13.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc7_13.2(%.loc7_13.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Base(constants.%T.67d) { @@ -561,8 +557,6 @@ fn H() { // CHECK:STDOUT: fn @X.G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -572,8 +566,6 @@ fn H() { // CHECK:STDOUT: %C: type = class_type @C, @C(constants.%X) [concrete = constants.%C.a43] // CHECK:STDOUT: %G.ref: = name_ref G, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -762,8 +754,6 @@ fn H() { // CHECK:STDOUT: %.loc5_13.1: ref @X.G.%U (%U) = splice_block %return.param {} // CHECK:STDOUT: %X.G.call: init @X.G.%U (%U) to %.loc5_13.1 = call %X.G.specific_fn.loc5_24.1() // CHECK:STDOUT: return %X.G.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -784,8 +774,6 @@ fn H() { // CHECK:STDOUT: %i.patt: %pattern_type.6b6 = value_binding_pattern i [concrete = constants.%i.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X(constants.%U) { @@ -1004,8 +992,6 @@ fn H() { // CHECK:STDOUT: %j.patt: %pattern_type.6b6 = value_binding_pattern j [concrete = constants.%j.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @X.G(imports.%Main.import_ref.b3bc94.1: type) [from "extend_generic_symbolic_base.carbon"] { diff --git a/toolchain/check/testdata/class/generic/basic.carbon b/toolchain/check/testdata/class/generic/basic.carbon index 5b3c7f690d29..01f33ee7ba00 100644 --- a/toolchain/check/testdata/class/generic/basic.carbon +++ b/toolchain/check/testdata/class/generic/basic.carbon @@ -238,8 +238,6 @@ class Declaration(T: type); // CHECK:STDOUT: %bound_method.loc7_12.2: = bound_method %addr, %specific_impl_fn.loc7_12.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.GetAddr.%ptr.loc6_28.1 (%ptr.215) = call %bound_method.loc7_12.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -280,8 +278,6 @@ class Declaration(T: type); // CHECK:STDOUT: %.loc10_24.1: ref @Class.GetValue.%T.as_type.loc10_24.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.GetValue.%T.as_type.loc10_24.1 (%T.as_type) to %.loc10_24.1 = call %bound_method.loc11_16.2(%.loc11_16.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/call.carbon b/toolchain/check/testdata/class/generic/call.carbon index 7a687f4bb774..0fc857a2354c 100644 --- a/toolchain/check/testdata/class/generic/call.carbon +++ b/toolchain/check/testdata/class/generic/call.carbon @@ -275,8 +275,6 @@ class Outer(T: type) { // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc9: init %Class.958 to %.loc9_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign file.%b.var, %T.as.DefaultOrUnformed.impl.Op.call.loc9 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T.67d, constants.%N.ce9) { @@ -392,8 +390,6 @@ class Outer(T: type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%a.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T, constants.%N.ce9) { @@ -495,8 +491,6 @@ class Outer(T: type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%a.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T, constants.%N.ce9) { @@ -601,8 +595,6 @@ class Outer(T: type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%a.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T, constants.%N.ce9) { @@ -826,8 +818,6 @@ class Outer(T: type) { // CHECK:STDOUT: %.loc5_15.2: init @Inner.A.%Outer.loc4_22.1 (%Outer.dee) to %return.param = class_init () [symbolic = %Outer.val (constants.%Outer.val.1e6)] // CHECK:STDOUT: %.loc5_16: init @Inner.A.%Outer.loc4_22.1 (%Outer.dee) = converted %.loc5_15.1, %.loc5_15.2 [symbolic = %Outer.val (constants.%Outer.val.1e6)] // CHECK:STDOUT: return %.loc5_16 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -849,8 +839,6 @@ class Outer(T: type) { // CHECK:STDOUT: %.loc8_15.2: init @Inner.B.%Outer.loc7_22.1 (%Outer.20b) to %return.param = class_init () [symbolic = %Outer.val (constants.%Outer.val.8e5)] // CHECK:STDOUT: %.loc8_16: init @Inner.B.%Outer.loc7_22.1 (%Outer.20b) = converted %.loc8_15.1, %.loc8_15.2 [symbolic = %Outer.val (constants.%Outer.val.8e5)] // CHECK:STDOUT: return %.loc8_16 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -874,8 +862,6 @@ class Outer(T: type) { // CHECK:STDOUT: %.loc11_15.2: init @Inner.C.%Inner.loc10_22.1 (%Inner.61d) to %return.param = class_init () [symbolic = %Inner.val (constants.%Inner.val.284)] // CHECK:STDOUT: %.loc11_16: init @Inner.C.%Inner.loc10_22.1 (%Inner.61d) = converted %.loc11_15.1, %.loc11_15.2 [symbolic = %Inner.val (constants.%Inner.val.284)] // CHECK:STDOUT: return %.loc11_16 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -900,8 +886,6 @@ class Outer(T: type) { // CHECK:STDOUT: %.loc14_15.2: init @Inner.D.%Inner.loc13_22.1 (%Inner.34b) to %return.param = class_init () [symbolic = %Inner.val (constants.%Inner.val.9fd)] // CHECK:STDOUT: %.loc14_16: init @Inner.D.%Inner.loc13_22.1 (%Inner.34b) = converted %.loc14_15.1, %.loc14_15.2 [symbolic = %Inner.val (constants.%Inner.val.9fd)] // CHECK:STDOUT: return %.loc14_16 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/complete_in_conversion.carbon b/toolchain/check/testdata/class/generic/complete_in_conversion.carbon index cacedf057cd0..5a26990369c7 100644 --- a/toolchain/check/testdata/class/generic/complete_in_conversion.carbon +++ b/toolchain/check/testdata/class/generic/complete_in_conversion.carbon @@ -245,8 +245,6 @@ fn F(a: A(0)*) { // CHECK:STDOUT: %b.patt: %pattern_type.3c8 = value_binding_pattern b [concrete = constants.%b.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A(constants.%N.37f) { diff --git a/toolchain/check/testdata/class/generic/field.carbon b/toolchain/check/testdata/class/generic/field.carbon index 335df4ae563a..7c602d2822db 100644 --- a/toolchain/check/testdata/class/generic/field.carbon +++ b/toolchain/check/testdata/class/generic/field.carbon @@ -270,8 +270,6 @@ fn H(generic U: Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: %bound_method.loc10_11.2: = bound_method %.loc10_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc10_11.2(%.loc10_11.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%T.loc13_15.2: %Copy.type) { @@ -312,8 +310,6 @@ fn H(generic U: Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: %.loc13_44.1: ref @G.%T.as_type.loc13_38.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @G.%T.as_type.loc13_38.1 (%T.as_type) to %.loc13_44.1 = call %bound_method.loc14_11.2(%.loc14_11.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -355,8 +351,6 @@ fn H(generic U: Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: %.loc17_44.1: ref @H.%U.as_type.loc17_38.1 (%U.as_type.c1c) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @H.%U.as_type.loc17_38.1 (%U.as_type.c1c) to %.loc17_44.1 = call %bound_method.loc18_11.2(%.loc18_11.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/generic_vs_params.carbon b/toolchain/check/testdata/class/generic/generic_vs_params.carbon index 4560ff3fea05..1ae950de77ff 100644 --- a/toolchain/check/testdata/class/generic/generic_vs_params.carbon +++ b/toolchain/check/testdata/class/generic/generic_vs_params.carbon @@ -345,8 +345,6 @@ class Foo[T: type]; // CHECK:STDOUT: %.loc19_1: init %GenericAndParams.353 = converted %.loc19_36.1, %.loc19_36.2 [concrete = constants.%GenericAndParams.val.150] // CHECK:STDOUT: assign file.%e.var, %.loc19_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @GenericAndParams.loc6(constants.%T) { @@ -473,8 +471,6 @@ class Foo[T: type]; // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc11_15.2 [symbolic = %T.loc11_15.1 (constants.%T)] // CHECK:STDOUT: %A: type = class_type @A [concrete = constants.%A] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/import.carbon b/toolchain/check/testdata/class/generic/import.carbon index 6b2a09e4f89b..626580fe86e5 100644 --- a/toolchain/check/testdata/class/generic/import.carbon +++ b/toolchain/check/testdata/class/generic/import.carbon @@ -243,8 +243,6 @@ class Class(U: type) { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_27.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc8_27: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc8_27 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -453,8 +451,6 @@ class Class(U: type) { // CHECK:STDOUT: %.loc9_17.5: init %CompleteClass.d55 to %return.param = class_init (%.loc9_17.4) [concrete = constants.%CompleteClass.val] // CHECK:STDOUT: %.loc9_18: init %CompleteClass.d55 = converted %.loc9_17.1, %.loc9_17.5 [concrete = constants.%CompleteClass.val] // CHECK:STDOUT: return %.loc9_18 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T) { @@ -641,8 +637,6 @@ class Class(U: type) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %CompleteClass.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CompleteClass.F(imports.%Main.import_ref.b3bc94.1: type) [from "foo.carbon"] { @@ -658,22 +652,16 @@ class Class(U: type) { // CHECK:STDOUT: fn @Destroy.Op.loc6_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc6_3.3(%self.param: ref %struct_type.n) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc6_3.4(%self.param: ref %CompleteClass.d55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @UseField() -> out %return.param: %i32 { @@ -705,8 +693,6 @@ class Class(U: type) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CompleteClass(constants.%T.67d) { @@ -857,8 +843,6 @@ class Class(U: type) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CompleteClass.F(imports.%Main.import_ref.b3bc94.1: type) [from "foo.carbon"] { @@ -874,22 +858,16 @@ class Class(U: type) { // CHECK:STDOUT: fn @Destroy.Op.loc13_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.3(%self.param: ref %struct_type.n) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.4(%self.param: ref %CompleteClass.22b) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CompleteClass(constants.%T) { diff --git a/toolchain/check/testdata/class/generic/init.carbon b/toolchain/check/testdata/class/generic/init.carbon index 8ac9954e48ec..389ad8adf5fd 100644 --- a/toolchain/check/testdata/class/generic/init.carbon +++ b/toolchain/check/testdata/class/generic/init.carbon @@ -302,8 +302,6 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: %bound_method.loc10_3.2: = bound_method %v.var, %specific_impl_fn.loc10_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc10_3.2(%v.var) // CHECK:STDOUT: return %Copy.WithSelf.Op.call.loc11 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -346,8 +344,6 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call.loc16 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_19.1(%self.param: ref %i32.builtin) = "no_op"; @@ -355,22 +351,16 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc15_19.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.1(%self.param: ref %struct_type.k.e7c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.2(%self.param: ref %Class.a32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @InitFromStructGeneric(constants.%T.283) { @@ -540,8 +530,6 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: %.loc9_58.1: ref @InitFromAdaptedGeneric.%T.as_type.loc9_52.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @InitFromAdaptedGeneric.%T.as_type.loc9_52.1 (%T.as_type) to %.loc9_58.1 = call %bound_method.loc10_26.2(%.loc10_26.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -562,8 +550,6 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: %bound_method.loc14_28.2: = bound_method %.loc14_28.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc14_28.2(%.loc14_28.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @InitFromAdaptedGeneric(constants.%T.f84) { diff --git a/toolchain/check/testdata/class/generic/member_access.carbon b/toolchain/check/testdata/class/generic/member_access.carbon index 3ab4f25e3d73..97b65a6c9e29 100644 --- a/toolchain/check/testdata/class/generic/member_access.carbon +++ b/toolchain/check/testdata/class/generic/member_access.carbon @@ -215,8 +215,6 @@ fn StaticMemberFunctionCall(generic T: type) -> Class(T) { // CHECK:STDOUT: // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.Get.%T.as_type.loc7_19.1 (%T.as_type) to %.loc7_19.1 = call %bound_method.loc9_16.2(%.loc9_16.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -250,8 +248,6 @@ fn StaticMemberFunctionCall(generic T: type) -> Class(T) { // CHECK:STDOUT: %bound_method.loc15_12.2: = bound_method %addr, %specific_impl_fn.loc15_12.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.GetAddr.%ptr.loc13_28.1 (%ptr.215) = call %bound_method.loc15_12.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -267,8 +263,6 @@ fn StaticMemberFunctionCall(generic T: type) -> Class(T) { // CHECK:STDOUT: %bound_method.loc22_11.2: = bound_method %.loc22_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc22_11.2(%.loc22_11.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @MethodCall(%x.param: %Class.ce6) -> out %return.param: %i32 { @@ -281,8 +275,6 @@ fn StaticMemberFunctionCall(generic T: type) -> Class(T) { // CHECK:STDOUT: %bound_method: = bound_method %x.ref, %Class.Get.specific_fn // CHECK:STDOUT: %Class.Get.call: init %i32 = call %bound_method(%x.ref) // CHECK:STDOUT: return %Class.Get.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @AddrMethodCall(%p.param: %ptr.57b) -> out %return.param: %i32 { @@ -305,8 +297,6 @@ fn StaticMemberFunctionCall(generic T: type) -> Class(T) { // CHECK:STDOUT: %bound_method.loc34_10.2: = bound_method %.loc34_10.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc34_10.2(%.loc34_10.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T.f84) { @@ -462,8 +452,6 @@ fn StaticMemberFunctionCall(generic T: type) -> Class(T) { // CHECK:STDOUT: // CHECK:STDOUT: %Class.Make.call: init @StaticMemberFunctionCall.%Class.loc8_56.1 (%Class) to %.loc8_56.1 = call %Class.Make.specific_fn.loc10_18.1() // CHECK:STDOUT: return %Class.Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/member_inline.carbon b/toolchain/check/testdata/class/generic/member_inline.carbon index cf101e0a2b77..2b6c64fd8cd5 100644 --- a/toolchain/check/testdata/class/generic/member_inline.carbon +++ b/toolchain/check/testdata/class/generic/member_inline.carbon @@ -208,8 +208,6 @@ class C(T: Core.Copy) { // CHECK:STDOUT: %.loc6_17.1: ref @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.F.%T.as_type.loc6_11.1 (%T.as_type) to %.loc6_17.1 = call %bound_method.loc7_12.2(%n.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -250,8 +248,6 @@ class C(T: Core.Copy) { // CHECK:STDOUT: %.loc10_17.1: ref @Class.G.%T.as_type.loc10_17.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.G.%T.as_type.loc10_17.1 (%T.as_type) to %.loc10_17.1 = call %bound_method.loc11_16.2(%.loc11_16.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -373,8 +369,6 @@ class C(T: Core.Copy) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %data.ref: @C.F.%C.elem (%C.elem) = name_ref data, @C.%.loc13 [concrete = @C.%.loc13] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/member_lookup.carbon b/toolchain/check/testdata/class/generic/member_lookup.carbon index 550b32578cde..eff70811968b 100644 --- a/toolchain/check/testdata/class/generic/member_lookup.carbon +++ b/toolchain/check/testdata/class/generic/member_lookup.carbon @@ -133,8 +133,6 @@ fn AccessMissingConcrete(x: Derived(i32)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @AccessDerived.%T.as_type.loc13_44.1 (%T.as_type) to %.loc13_50.1 = call %bound_method.loc15_11.2(%.loc15_11.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -171,8 +169,6 @@ fn AccessMissingConcrete(x: Derived(i32)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @AccessBase.%T.as_type.loc19_41.1 (%T.as_type) to %.loc19_47.1 = call %bound_method.loc21_11.2(%.loc21_11.5) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/member_out_of_line.carbon b/toolchain/check/testdata/class/generic/member_out_of_line.carbon index f8343c3b252a..88c0b8764f48 100644 --- a/toolchain/check/testdata/class/generic/member_out_of_line.carbon +++ b/toolchain/check/testdata/class/generic/member_out_of_line.carbon @@ -326,8 +326,6 @@ fn Generic(unused T: ()).WrongType() {} // CHECK:STDOUT: %.loc11_35.1: ref @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = splice_block %return.param.loc11 {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.F.%T.as_type.loc6_11.1 (%T.as_type) to %.loc11_35.1 = call %bound_method.loc12_10.2(%n.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param.loc11 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -368,8 +366,6 @@ fn Generic(unused T: ()).WrongType() {} // CHECK:STDOUT: %.loc15_35.1: ref @Class.G.%T.as_type.loc7_17.1 (%T.as_type) = splice_block %return.param.loc15 {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.G.%T.as_type.loc7_17.1 (%T.as_type) to %.loc15_35.1 = call %bound_method.loc16_14.2(%.loc16_14.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param.loc15 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -567,8 +563,6 @@ fn Generic(unused T: ()).WrongType() {} // CHECK:STDOUT: fn(%self.param.loc11: @B.F.%B (%B), %a.param.loc11: @B.F.%T.loc7 (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/member_type.carbon b/toolchain/check/testdata/class/generic/member_type.carbon index 9ddc220c22c5..c268076521d6 100644 --- a/toolchain/check/testdata/class/generic/member_type.carbon +++ b/toolchain/check/testdata/class/generic/member_type.carbon @@ -309,8 +309,6 @@ fn Test() -> i32 { // CHECK:STDOUT: %.loc9_39.4: init @Outer.F.%Inner (%Inner.06b) to %return.param = class_init (%.loc9_39.3) // CHECK:STDOUT: %.loc9_40: init @Outer.F.%Inner (%Inner.06b) = converted %.loc9_39.1, %.loc9_39.4 // CHECK:STDOUT: return %.loc9_40 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -366,8 +364,6 @@ fn Test() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -375,22 +371,16 @@ fn Test() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc13_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.3(%self.param: ref %struct_type.n.9ed) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.4(%self.param: ref %Inner.096) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%T.f84) { @@ -659,8 +649,6 @@ fn Test() -> i32 { // CHECK:STDOUT: witness = (@Inner.WithSelf.%Inner.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -847,8 +835,6 @@ fn Test() -> i32 { // CHECK:STDOUT: %.loc11_24.1: ref @C.as.Inner.impl.F.%T (%T) = splice_block %return.param {} // CHECK:STDOUT: %Inner.WithSelf.F.call: init @C.as.Inner.impl.F.%T (%T) to %.loc11_24.1 = call %bound_method.loc11_50(%self.ref) // CHECK:STDOUT: return %Inner.WithSelf.F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -890,8 +876,6 @@ fn Test() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %C.as.Inner.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -899,8 +883,6 @@ fn Test() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc23_3.2(%self.param: ref %C.b7f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%T) { diff --git a/toolchain/check/testdata/class/generic/method_deduce.carbon b/toolchain/check/testdata/class/generic/method_deduce.carbon index 98d419b45b2c..f7a9ec723ea1 100644 --- a/toolchain/check/testdata/class/generic/method_deduce.carbon +++ b/toolchain/check/testdata/class/generic/method_deduce.carbon @@ -357,8 +357,6 @@ fn CallMethodSelfDeduce(c: Class(A)) -> A { // CHECK:STDOUT: %.loc19_35.1: ref @Class.Get.%tuple.type (%tuple.type.a5e) = splice_block %return.param {} // CHECK:STDOUT: %Class.Get.call: init @Class.Get.%tuple.type (%tuple.type.a5e) to %.loc19_35.1 = call %Class.Get.specific_fn.loc19_46.1() // CHECK:STDOUT: return %Class.Get.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -392,8 +390,6 @@ fn CallMethodSelfDeduce(c: Class(A)) -> A { // CHECK:STDOUT: %.loc20_49.1: ref @Class.GetNoDeduce.%tuple.type (%tuple.type.a5e) = splice_block %return.param {} // CHECK:STDOUT: %Class.GetNoDeduce.call: init @Class.GetNoDeduce.%tuple.type (%tuple.type.a5e) to %.loc20_49.1 = call %Class.GetNoDeduce.specific_fn.loc20_60.1(%x.ref) // CHECK:STDOUT: return %Class.GetNoDeduce.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -426,8 +422,6 @@ fn CallMethodSelfDeduce(c: Class(A)) -> A { // CHECK:STDOUT: %.loc21_36.1: ref @Class.F.%U.loc21_9.1 (%U) = splice_block %return.param {} // CHECK:STDOUT: %Class.F.call: init @Class.F.%U.loc21_9.1 (%U) to %.loc21_36.1 = call %bound_method(%self.ref) // CHECK:STDOUT: return %Class.F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -441,8 +435,6 @@ fn CallMethodSelfDeduce(c: Class(A)) -> A { // CHECK:STDOUT: %.loc24_43.1: ref %tuple.type.1e7 = splice_block %return.param {} // CHECK:STDOUT: %Class.Get.call: init %tuple.type.1e7 to %.loc24_43.1 = call %Class.Get.specific_fn() // CHECK:STDOUT: return %Class.Get.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallGenericMethodWithNonDeducedParam(%c.param: %Class.30a) -> out %return.param: %tuple.type.1e7 { @@ -462,8 +454,6 @@ fn CallMethodSelfDeduce(c: Class(A)) -> A { // CHECK:STDOUT: %Class.GetNoDeduce.call: init %tuple.type.1e7 to %.loc28_62.1 = call %Class.GetNoDeduce.specific_fn(%.loc29_25.6) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.367) // CHECK:STDOUT: return %Class.GetNoDeduce.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc29_25.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -471,8 +461,6 @@ fn CallMethodSelfDeduce(c: Class(A)) -> A { // CHECK:STDOUT: fn @Destroy.Op.loc29_25.2(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallMethodSelfDeduce(%c.param: %Class.30a) -> out %return.param: %A { @@ -486,8 +474,6 @@ fn CallMethodSelfDeduce(c: Class(A)) -> A { // CHECK:STDOUT: %.loc32_41.1: ref %A = splice_block %return.param {} // CHECK:STDOUT: %Class.F.call: init %A to %.loc32_41.1 = call %bound_method(%c.ref) // CHECK:STDOUT: return %Class.F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T) { diff --git a/toolchain/check/testdata/class/generic/self.carbon b/toolchain/check/testdata/class/generic/self.carbon index ea3c9ca9a8b8..719d66d90705 100644 --- a/toolchain/check/testdata/class/generic/self.carbon +++ b/toolchain/check/testdata/class/generic/self.carbon @@ -158,8 +158,6 @@ class Class(T: type) { // CHECK:STDOUT: %.loc18_35.2: init @Class.MakeSelf.%Class (%Class) to %return.param = class_init () [symbolic = %Class.val (constants.%Class.val)] // CHECK:STDOUT: %.loc18_36: init @Class.MakeSelf.%Class (%Class) = converted %.loc18_35.1, %.loc18_35.2 [symbolic = %Class.val (constants.%Class.val)] // CHECK:STDOUT: return %.loc18_36 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -181,8 +179,6 @@ class Class(T: type) { // CHECK:STDOUT: %.loc19_40.2: init @Class.MakeClass.%Class.loc19_28.1 (%Class) to %return.param = class_init () [symbolic = %Class.val (constants.%Class.val)] // CHECK:STDOUT: %.loc19_41: init @Class.MakeClass.%Class.loc19_28.1 (%Class) = converted %.loc19_40.1, %.loc19_40.2 [symbolic = %Class.val (constants.%Class.val)] // CHECK:STDOUT: return %.loc19_41 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -263,8 +259,6 @@ class Class(T: type) { // CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %c.var, %specific_impl_fn.loc21 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc21: init %empty_tuple.type = call %bound_method.loc21_5.2(%c.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/stringify.carbon b/toolchain/check/testdata/class/generic/stringify.carbon index 61b3463f8e34..7388bca4f37f 100644 --- a/toolchain/check/testdata/class/generic/stringify.carbon +++ b/toolchain/check/testdata/class/generic/stringify.carbon @@ -186,8 +186,6 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %.loc15: %EmptyParams = converted %v.ref, [concrete = ] // CHECK:STDOUT: assign file.%w.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_nested.carbon @@ -360,8 +358,6 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %.loc19: %Inner.61f = converted %v.ref, [concrete = ] // CHECK:STDOUT: assign file.%w.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%T.67d) { @@ -502,8 +498,6 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %.loc13_1: %C.ece = converted %.loc13_18, [concrete = ] // CHECK:STDOUT: assign file.%v.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%N.37f) { @@ -714,8 +708,6 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %.loc18_1: %E.7b7 = converted %.loc18_33, [concrete = ] // CHECK:STDOUT: assign file.%g.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @E(constants.%F) { diff --git a/toolchain/check/testdata/class/import.carbon b/toolchain/check/testdata/class/import.carbon index 99754c3a4305..673a00d1e919 100644 --- a/toolchain/check/testdata/class/import.carbon +++ b/toolchain/check/testdata/class/import.carbon @@ -452,8 +452,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %a.var, constants.%Destroy.Op.1a2547.9 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ForwardDeclared.F [from "a.carbon"]; @@ -469,8 +467,6 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc12_3.2(%self.param: ref %ForwardDeclared.08bd4c.1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -478,28 +474,20 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %struct_type.x.a15) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.4(%self.param: ref %Field) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7(%self.param: ref %Empty) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/import_indirect.carbon b/toolchain/check/testdata/class/import_indirect.carbon index c8bcd6120ba9..a0da1d6ed4e2 100644 --- a/toolchain/check/testdata/class/import_indirect.carbon +++ b/toolchain/check/testdata/class/import_indirect.carbon @@ -234,8 +234,6 @@ var ptr: E* = &value; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6b6 = call %bound_method.loc9_17.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%b_ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- c.carbon @@ -336,8 +334,6 @@ var ptr: E* = &value; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6b6 = call %bound_method.loc9_17.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%c_ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- triangle.carbon @@ -441,8 +437,6 @@ var ptr: E* = &value; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6b6 = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- triangle_reverse.carbon @@ -546,8 +540,6 @@ var ptr: E* = &value; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6b6 = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- diamond.carbon @@ -655,8 +647,6 @@ var ptr: E* = &value; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6b6 = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- diamond_reverse.carbon @@ -764,7 +754,5 @@ var ptr: E* = &value; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6b6 = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/import_member_cycle.carbon b/toolchain/check/testdata/class/import_member_cycle.carbon index 8f24e903b9bf..affc95901c1a 100644 --- a/toolchain/check/testdata/class/import_member_cycle.carbon +++ b/toolchain/check/testdata/class/import_member_cycle.carbon @@ -152,8 +152,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr) = "no_op"; diff --git a/toolchain/check/testdata/class/import_struct_cycle.carbon b/toolchain/check/testdata/class/import_struct_cycle.carbon index f3fc2aca56e8..ccf723a222c6 100644 --- a/toolchain/check/testdata/class/import_struct_cycle.carbon +++ b/toolchain/check/testdata/class/import_struct_cycle.carbon @@ -112,8 +112,6 @@ fn Run() { // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %struct_type.b = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%a.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- b.carbon @@ -201,7 +199,5 @@ fn Run() { // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.5cd = call %bound_method.loc7_17.2(%.loc7_17.2) // CHECK:STDOUT: assign %.loc7_4, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/indirect_import_member.carbon b/toolchain/check/testdata/class/indirect_import_member.carbon index 82500f1816d0..7b43477e5429 100644 --- a/toolchain/check/testdata/class/indirect_import_member.carbon +++ b/toolchain/check/testdata/class/indirect_import_member.carbon @@ -134,8 +134,6 @@ var x: () = D.C.F(); // CHECK:STDOUT: fn @C.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- b.carbon @@ -310,8 +308,6 @@ var x: () = D.C.F(); // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_c.carbon @@ -371,8 +367,6 @@ var x: () = D.C.F(); // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_d.carbon @@ -432,8 +426,6 @@ var x: () = D.C.F(); // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_e.carbon @@ -506,8 +498,6 @@ var x: () = D.C.F(); // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_f.carbon @@ -580,7 +570,5 @@ var x: () = D.C.F(); // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/base.carbon b/toolchain/check/testdata/class/inheritance/base.carbon index b4dafd278a69..143fd09a1912 100644 --- a/toolchain/check/testdata/class/inheritance/base.carbon +++ b/toolchain/check/testdata/class/inheritance/base.carbon @@ -234,8 +234,6 @@ class Derived { // CHECK:STDOUT: %.loc14_35.8: init %Derived to %return.param = class_init (%.loc14_35.4, %.loc14_35.7) [concrete = constants.%Derived.val] // CHECK:STDOUT: %.loc14_36: init %Derived = converted %.loc14_35.1, %.loc14_35.8 [concrete = constants.%Derived.val] // CHECK:STDOUT: return %.loc14_36 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Access(%d.param: %Derived) -> out %return.param: %tuple.type.e55 { @@ -269,8 +267,6 @@ class Derived { // CHECK:STDOUT: %.loc18_24.4: init %tuple.type.e55 to %return.param = tuple_init (%.loc18_24.2, %.loc18_24.3) // CHECK:STDOUT: %.loc18_25: init %tuple.type.e55 = converted %.loc18_24.1, %.loc18_24.4 // CHECK:STDOUT: return %.loc18_25 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_base_after_field.carbon diff --git a/toolchain/check/testdata/class/inheritance/base_field.carbon b/toolchain/check/testdata/class/inheritance/base_field.carbon index aec54efb636a..4cf00f298309 100644 --- a/toolchain/check/testdata/class/inheritance/base_field.carbon +++ b/toolchain/check/testdata/class/inheritance/base_field.carbon @@ -160,7 +160,5 @@ fn Access(p: Derived*) -> i32* { // CHECK:STDOUT: %bound_method.loc29_10.2: = bound_method %addr, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d08 = call %bound_method.loc29_10.2(%addr) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/base_function_unqualified.carbon b/toolchain/check/testdata/class/inheritance/base_function_unqualified.carbon index f1695f35671e..51271b25d5a7 100644 --- a/toolchain/check/testdata/class/inheritance/base_function_unqualified.carbon +++ b/toolchain/check/testdata/class/inheritance/base_function_unqualified.carbon @@ -100,8 +100,6 @@ fn Derived.H() { // CHECK:STDOUT: %F.ref: %Base.F.type = name_ref F, @Base.%Base.F.decl [concrete = constants.%Base.F] // CHECK:STDOUT: %Base.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Derived.H() { @@ -109,7 +107,5 @@ fn Derived.H() { // CHECK:STDOUT: %F.ref: %Base.F.type = name_ref F, @Base.%Base.F.decl [concrete = constants.%Base.F] // CHECK:STDOUT: %Base.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/base_method.carbon b/toolchain/check/testdata/class/inheritance/base_method.carbon index 095bd6ba725a..73f95b38bb1e 100644 --- a/toolchain/check/testdata/class/inheritance/base_method.carbon +++ b/toolchain/check/testdata/class/inheritance/base_method.carbon @@ -167,8 +167,6 @@ fn Call(p: Derived*) { // CHECK:STDOUT: %.loc22_10: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0c6] // CHECK:STDOUT: assign %.loc22_7, %.loc22_10 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Call(%p.param: %ptr.64c) { @@ -182,7 +180,5 @@ fn Call(p: Derived*) { // CHECK:STDOUT: %.loc30_4.4: ref %Base = converted %.loc30_4.1, %.loc30_4.3 // CHECK:STDOUT: %Base.F.call: init %empty_tuple.type = call %Base.F.bound(%.loc30_4.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/base_method_qualified.carbon b/toolchain/check/testdata/class/inheritance/base_method_qualified.carbon index de098fce80a9..ccd5d04e797b 100644 --- a/toolchain/check/testdata/class/inheritance/base_method_qualified.carbon +++ b/toolchain/check/testdata/class/inheritance/base_method_qualified.carbon @@ -267,8 +267,6 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %.loc30_10.4: %Base = acquire_value %.loc30_10.3 // CHECK:STDOUT: %Base.F.call: init %i32 = call %Base.F.bound(%.loc30_10.4) // CHECK:STDOUT: return %Base.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallIndirect(%p.param: %ptr.64c) -> out %return.param: %i32 { @@ -284,8 +282,6 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %.loc34_11.5: %Base = acquire_value %.loc34_11.4 // CHECK:STDOUT: %Base.F.call: init %i32 = call %Base.F.bound(%.loc34_11.5) // CHECK:STDOUT: return %Base.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassDerivedToBase(%a.param: %Derived) -> out %return.param: %i32 { @@ -296,8 +292,6 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %Base.G.bound: = bound_method %a.ref, %G.ref // CHECK:STDOUT: %Base.G.call: init %i32 = call %Base.G.bound(%a.ref) // CHECK:STDOUT: return %Base.G.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassDerivedToBaseIndirect(%p.param: %ptr.64c) -> out %return.param: %i32 { @@ -310,7 +304,5 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %.loc42_11.2: %Derived = acquire_value %.loc42_11.1 // CHECK:STDOUT: %Base.G.call: init %i32 = call %Base.G.bound(%.loc42_11.2) // CHECK:STDOUT: return %Base.G.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/base_method_shadow.carbon b/toolchain/check/testdata/class/inheritance/base_method_shadow.carbon index 25d6ee633a96..8c0f3c32b91a 100644 --- a/toolchain/check/testdata/class/inheritance/base_method_shadow.carbon +++ b/toolchain/check/testdata/class/inheritance/base_method_shadow.carbon @@ -254,7 +254,5 @@ fn Call(a: A*, b: B*, c: C*, d: D*) { // CHECK:STDOUT: %.loc37_4.4: ref %B = converted %.loc37_4.1, %.loc37_4.3 // CHECK:STDOUT: %B.F.call.loc37: init %empty_tuple.type = call %B.F.bound.loc37(%.loc37_4.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/derived_to_base.carbon b/toolchain/check/testdata/class/inheritance/derived_to_base.carbon index 62380044b011..57c210658125 100644 --- a/toolchain/check/testdata/class/inheritance/derived_to_base.carbon +++ b/toolchain/check/testdata/class/inheritance/derived_to_base.carbon @@ -335,8 +335,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %bound_method.loc19_39.2: = bound_method %.loc19_39.3, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.432 = call %bound_method.loc19_39.2(%.loc19_39.3) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConvertBToA(%p.param: %ptr.432) -> out %return.param: %ptr.d43 { @@ -352,8 +350,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %bound_method.loc20_39.2: = bound_method %.loc20_39.3, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d43 = call %bound_method.loc20_39.2(%.loc20_39.3) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConvertCToA(%p.param: %ptr.6b6) -> out %return.param: %ptr.d43 { @@ -370,8 +366,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %bound_method.loc21_39.2: = bound_method %.loc21_39.4, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d43 = call %bound_method.loc21_39.2(%.loc21_39.4) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConvertValue(%c.param: %C) { @@ -388,8 +382,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %a.patt: %pattern_type.9ef = value_binding_pattern a [concrete = constants.%a.patt.bb7b23.1] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConvertRef(%c.param: %ptr.6b6) -> out %return.param: %ptr.d43 { @@ -408,8 +400,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %bound_method.loc28_10.2: = bound_method %addr, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d43 = call %bound_method.loc28_10.2(%addr) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConvertInit() { @@ -469,8 +459,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: } // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.320) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc32_66.1(%self.param: ref %i32.builtin) = "no_op"; @@ -478,22 +466,16 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: fn @Destroy.Op.loc32_66.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc32_66.3(%self.param: ref %struct_type.a.a92) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc32_66.4(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- qualified.carbon @@ -522,8 +504,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %.loc15_17.4: %ptr.903 = converted %p.ref, %.loc15_17.3 // CHECK:STDOUT: %TakeConstAPtr.call: init %empty_tuple.type = call %TakeConstAPtr.ref(%.loc15_17.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassConstBPtr(%p.param: %ptr.c09) { @@ -536,8 +516,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %.loc21_17.3: %ptr.903 = converted %p.ref, %addr // CHECK:STDOUT: %TakeConstAPtr.call: init %empty_tuple.type = call %TakeConstAPtr.ref(%.loc21_17.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- const_qualified_non_ptr.carbon @@ -562,8 +540,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %.loc15_14.4: %const.b97 = acquire_value %.loc15_14.3 // CHECK:STDOUT: %TakeConstA.call: init %empty_tuple.type = call %TakeConstA.ref(%.loc15_14.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassConstB(%p.param: %const.825) { @@ -576,8 +552,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %.loc21_14.4: %const.b97 = acquire_value %.loc21_14.3 // CHECK:STDOUT: %TakeConstA.call: init %empty_tuple.type = call %TakeConstA.ref(%.loc21_14.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- partial_qualified_non_ptr.carbon @@ -602,8 +576,6 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %.loc15_16.4: %.3d6 = acquire_value %.loc15_16.3 // CHECK:STDOUT: %TakePartialA.call: init %empty_tuple.type = call %TakePartialA.ref(%.loc15_16.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassPartialB(%b.param: %.640) { @@ -616,7 +588,5 @@ fn PassPartialB(b: partial B) { // CHECK:STDOUT: %.loc21_16.4: %.3d6 = acquire_value %.loc21_16.3 // CHECK:STDOUT: %TakePartialA.call: init %empty_tuple.type = call %TakePartialA.ref(%.loc21_16.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/import_base.carbon b/toolchain/check/testdata/class/inheritance/import_base.carbon index 827393d121b3..694448304792 100644 --- a/toolchain/check/testdata/class/inheritance/import_base.carbon +++ b/toolchain/check/testdata/class/inheritance/import_base.carbon @@ -312,8 +312,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Base.F [from "a.carbon"]; @@ -323,35 +321,25 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc7_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %struct_type.x.unused_y.258) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.4(%self.param: ref %Base) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.5(%self.param: ref %struct_type.base.cae) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.6(%self.param: ref %Child) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/self_conversion.carbon b/toolchain/check/testdata/class/inheritance/self_conversion.carbon index 4c96b6f64b9b..017acdb8e62d 100644 --- a/toolchain/check/testdata/class/inheritance/self_conversion.carbon +++ b/toolchain/check/testdata/class/inheritance/self_conversion.carbon @@ -229,8 +229,6 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %bound_method.loc27_14.2: = bound_method %.loc27_14.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc27_14.2(%.loc27_14.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Derived.RefSelfBase(%self.param.loc30: ref %Base) { @@ -247,8 +245,6 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %.loc31_10: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0c6] // CHECK:STDOUT: assign %.loc31_7, %.loc31_10 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Call(%p.param: %ptr.64c) -> out %return.param: %i32 { @@ -271,7 +267,5 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %.loc36_11.5: %Base = acquire_value %.loc36_11.4 // CHECK:STDOUT: %Derived.SelfBase.call: init %i32 = call %Derived.SelfBase.bound(%.loc36_11.5) // CHECK:STDOUT: return %Derived.SelfBase.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/init.carbon b/toolchain/check/testdata/class/init.carbon index 02aa3a9484b4..6b8adad48daa 100644 --- a/toolchain/check/testdata/class/init.carbon +++ b/toolchain/check/testdata/class/init.carbon @@ -181,8 +181,6 @@ fn MakeReorder(n: i32, next: Class*) -> Class { // CHECK:STDOUT: %.loc21_31.6: init %Class to %return.param = class_init (%.loc21_31.3, %.loc21_31.5) // CHECK:STDOUT: %.loc21_32: init %Class = converted %.loc21_31.1, %.loc21_31.6 // CHECK:STDOUT: return %.loc21_32 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @MakeReorder(%n.param: %i32, %next.param: %ptr.7ee) -> out %return.param: %Class { @@ -207,7 +205,5 @@ fn MakeReorder(n: i32, next: Class*) -> Class { // CHECK:STDOUT: %.loc25_31.6: init %Class to %return.param = class_init (%.loc25_31.3, %.loc25_31.5) // CHECK:STDOUT: %.loc25_32: init %Class = converted %.loc25_31.1, %.loc25_31.6 // CHECK:STDOUT: return %.loc25_32 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/init_as.carbon b/toolchain/check/testdata/class/init_as.carbon index 00b2866ca79e..8ca1b4678aeb 100644 --- a/toolchain/check/testdata/class/init_as.carbon +++ b/toolchain/check/testdata/class/init_as.carbon @@ -124,8 +124,6 @@ fn G() -> i32 { // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc20_37.2(%.loc20_37.2) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.0e3) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_28.1(%self.param: ref %i32.builtin) = "no_op"; @@ -133,22 +131,16 @@ fn G() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc20_28.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_28.3(%self.param: ref %struct_type.a.b.b4c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_28.4(%self.param: ref %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { @@ -188,7 +180,5 @@ fn G() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/init_nested.carbon b/toolchain/check/testdata/class/init_nested.carbon index 6da65d7a34b3..9471b7c8d7ea 100644 --- a/toolchain/check/testdata/class/init_nested.carbon +++ b/toolchain/check/testdata/class/init_nested.carbon @@ -136,7 +136,5 @@ fn MakeOuter() -> Outer { // CHECK:STDOUT: %.loc28_45.4: init %Outer to %return.param = class_init (%MakeInner.call.loc28_26, %MakeInner.call.loc28_44) // CHECK:STDOUT: %.loc28_46: init %Outer = converted %.loc28_45.3, %.loc28_45.4 // CHECK:STDOUT: return %.loc28_46 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/local.carbon b/toolchain/check/testdata/class/local.carbon index 0d68234e5af7..e4f4b9b8cc40 100644 --- a/toolchain/check/testdata/class/local.carbon +++ b/toolchain/check/testdata/class/local.carbon @@ -178,8 +178,6 @@ class A { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc26_19.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc26_19.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.Make() -> out %return.param: %B { @@ -205,8 +203,6 @@ class A { // CHECK:STDOUT: } // CHECK:STDOUT: %.loc19_23: %B = acquire_value %b // CHECK:STDOUT: return %.loc19_23 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_19.1(%self.param: ref %i32.builtin) = "no_op"; @@ -214,21 +210,15 @@ class A { // CHECK:STDOUT: fn @Destroy.Op.loc26_19.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_19.3(%self.param: ref %struct_type.n.9ed) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_19.4(%self.param: ref %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/method/call_without_method_syntax.carbon b/toolchain/check/testdata/class/method/call_without_method_syntax.carbon index 0c23ce52bbc9..f9c63dd2db26 100644 --- a/toolchain/check/testdata/class/method/call_without_method_syntax.carbon +++ b/toolchain/check/testdata/class/method/call_without_method_syntax.carbon @@ -217,8 +217,6 @@ fn CallViaAlias(p: Point) -> i32 { // CHECK:STDOUT: %bound_method.loc4_36.2: = bound_method %.loc4_36.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc4_36.2(%.loc4_36.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Point.First(%self.param: %Point, %other.param: %Point) -> out %return.param: %i32 { @@ -233,8 +231,6 @@ fn CallViaAlias(p: Point) -> i32 { // CHECK:STDOUT: %bound_method.loc5_59.2: = bound_method %.loc5_59.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc5_59.2(%.loc5_59.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallGet(%p.param: %Point) -> out %return.param: %i32 { @@ -244,8 +240,6 @@ fn CallViaAlias(p: Point) -> i32 { // CHECK:STDOUT: %p.ref: %Point = name_ref p, %p // CHECK:STDOUT: %Point.Get.call: init %i32 = call %Get.ref(%p.ref) // CHECK:STDOUT: return %Point.Get.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallFirst(%p.param: %Point, %q.param: %Point) -> out %return.param: %i32 { @@ -256,8 +250,6 @@ fn CallViaAlias(p: Point) -> i32 { // CHECK:STDOUT: %q.ref: %Point = name_ref q, %q // CHECK:STDOUT: %Point.First.call: init %i32 = call %First.ref(%p.ref, %q.ref) // CHECK:STDOUT: return %Point.First.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallViaAlias(%p.param: %Point) -> out %return.param: %i32 { @@ -269,7 +261,5 @@ fn CallViaAlias(p: Point) -> i32 { // CHECK:STDOUT: %p.ref: %Point = name_ref p, %p // CHECK:STDOUT: %Point.Get.call: init %i32 = call %A.ref(%p.ref) // CHECK:STDOUT: return %Point.Get.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/method/generic_method.carbon b/toolchain/check/testdata/class/method/generic_method.carbon index 23f4c6b5761f..1437a2d9ac2f 100644 --- a/toolchain/check/testdata/class/method/generic_method.carbon +++ b/toolchain/check/testdata/class/method/generic_method.carbon @@ -153,8 +153,6 @@ fn Class(T: type).F(unused self, unused n: T) {} // CHECK:STDOUT: fn(%self.param.loc20: @Class.F.%Class (%Class), %n.param.loc20: @Class.F.%T.loc17 (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/method/method.carbon b/toolchain/check/testdata/class/method/method.carbon index 9c4af2d6e680..46b0f401461e 100644 --- a/toolchain/check/testdata/class/method/method.carbon +++ b/toolchain/check/testdata/class/method/method.carbon @@ -382,8 +382,6 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %bound_method.loc25_14.2: = bound_method %.loc25_14.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc25_14.2(%.loc25_14.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.G(%self.param: ref %Class) -> out %return.param: %i32; @@ -395,8 +393,6 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Class.F.bound: = bound_method %c.ref, %F.ref // CHECK:STDOUT: %Class.F.call: init %i32 = call %Class.F.bound(%c.ref) // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallAlias(%c.param: %Class) -> out %return.param: %i32 { @@ -406,8 +402,6 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Class.F.bound: = bound_method %c.ref, %A.ref // CHECK:STDOUT: %Class.F.call: init %i32 = call %Class.F.bound(%c.ref) // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallOnConstBoundMethod() -> out %return.param: %i32 { @@ -433,8 +427,6 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Class.F.call: init %i32 = call %Class.F.bound(%.loc39_20.3) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.a72) // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc39_20.1(%self.param: ref %i32.builtin) = "no_op"; @@ -442,22 +434,16 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc39_20.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc39_20.3(%self.param: ref %struct_type.k.e7c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc39_20.4(%self.param: ref %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallWithRef() -> out %return.param: %i32 { @@ -484,8 +470,6 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %Class.G.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallFThroughPointer(%p.param: %ptr.7ee) -> out %return.param: %i32 { @@ -497,8 +481,6 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %.loc48_11.2: %Class = acquire_value %.loc48_11.1 // CHECK:STDOUT: %Class.F.call: init %i32 = call %Class.F.bound(%.loc48_11.2) // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallGThroughPointer(%p.param: %ptr.7ee) -> out %return.param: %i32 { @@ -509,8 +491,6 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Class.G.bound: = bound_method %.loc52, %G.ref // CHECK:STDOUT: %Class.G.call: init %i32 = call %Class.G.bound(%.loc52) // CHECK:STDOUT: return %Class.G.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Make() -> out %return.param: %Class; @@ -528,8 +508,6 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc58_15.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc58_15.2) // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallGOnInitializingExpr() -> out %return.param: %i32 { @@ -544,7 +522,5 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc62_15.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc62_15.2) // CHECK:STDOUT: return %Class.G.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/method/static_method.carbon b/toolchain/check/testdata/class/method/static_method.carbon index 2fe6de05eb84..a89f0bb0adc6 100644 --- a/toolchain/check/testdata/class/method/static_method.carbon +++ b/toolchain/check/testdata/class/method/static_method.carbon @@ -134,8 +134,6 @@ fn Run() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -143,7 +141,5 @@ fn Run() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc20_3.2(%self.param: ref %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/method/virtual.carbon b/toolchain/check/testdata/class/method/virtual.carbon index d1c2395655a8..bb95f31d2611 100644 --- a/toolchain/check/testdata/class/method/virtual.carbon +++ b/toolchain/check/testdata/class/method/virtual.carbon @@ -732,8 +732,6 @@ class T2(G2: type) { // CHECK:STDOUT: %Derived.H.bound: = bound_method %.loc9_22.2, %H.ref // CHECK:STDOUT: %Derived.H.call: init %empty_tuple.type = call %Derived.H.bound(%.loc9_22.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { @@ -765,8 +763,6 @@ class T2(G2: type) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1a2547.5 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.1(%self.param: ref %ptr.454) = "no_op"; @@ -774,29 +770,21 @@ class T2(G2: type) { // CHECK:STDOUT: fn @Destroy.Op.loc15_3.2(%self.param: ref %struct_type.vptr) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.3(%self.param: ref %Base) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.4(%self.param: ref %struct_type.base.507) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.5(%self.param: ref %Derived) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- init.carbon @@ -853,8 +841,6 @@ class T2(G2: type) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %ptr.454) = "no_op"; @@ -862,15 +848,11 @@ class T2(G2: type) { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %struct_type.vptr) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %Base) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- init_members.carbon @@ -1011,8 +993,6 @@ class T2(G2: type) { // CHECK:STDOUT: %Destroy.Op.bound.loc14: = bound_method %b1.var, constants.%Destroy.Op.1a2547.5 // CHECK:STDOUT: %Destroy.Op.call.loc14: init %empty_tuple.type = call %Destroy.Op.bound.loc14(%b1.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.1(%self.param: ref %ptr.454) = "no_op"; @@ -1022,22 +1002,16 @@ class T2(G2: type) { // CHECK:STDOUT: fn @Destroy.Op.loc15_3.3(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.4(%self.param: ref %struct_type.vptr.m1.m2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_3.5(%self.param: ref %Base) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- abstract_impl.carbon @@ -1109,8 +1083,6 @@ class T2(G2: type) { // CHECK:STDOUT: %Derived.F.bound: = bound_method %.loc15_22.3, %F.ref // CHECK:STDOUT: %Derived.F.call: init %empty_tuple.type = call %Derived.F.bound(%.loc15_22.3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- virtual_impl.carbon @@ -1182,8 +1154,6 @@ class T2(G2: type) { // CHECK:STDOUT: %Derived.F.bound: = bound_method %.loc15_22.3, %F.ref // CHECK:STDOUT: %Derived.F.call: init %empty_tuple.type = call %Derived.F.bound(%.loc15_22.3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- impl_conversion.carbon @@ -1270,8 +1240,6 @@ class T2(G2: type) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc23_28.4, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc23_28.4) // CHECK:STDOUT: return %.loc23_28.6 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_28.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1279,8 +1247,6 @@ class T2(G2: type) { // CHECK:STDOUT: fn @Destroy.Op.loc23_28.2(%self.param: ref %T2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_with_virtual.carbon @@ -1346,8 +1312,6 @@ class T2(G2: type) { // CHECK:STDOUT: virtual fn(%self.param: @T1.F.%T1 (%T1)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1449,8 +1413,6 @@ class T2(G2: type) { // CHECK:STDOUT: virtual fn(%self.param: @T1.F.%T1 (%T1), %t.param: @T1.F.%T (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1550,8 +1512,6 @@ class T2(G2: type) { // CHECK:STDOUT: override fn @D1.F.loc11_51.1(%self.param: %D1, %t.param: %ptr.2ee) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: override fn @D1.F.loc11_51.2(%self.param: %Base.5b2, %t.param: %ptr.2ee) [thunk @D1.%D1.F.decl.loc11_51.1 for @Base.%Base.F.decl, @Base.F(constants.%T1)] { @@ -1563,8 +1523,6 @@ class T2(G2: type) { // CHECK:STDOUT: %D1.F.bound: = bound_method %.loc11_51.2, %F.ref // CHECK:STDOUT: %D1.F.call: init %empty_tuple.type = call %D1.F.bound(%.loc11_51.2, %t.param) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- impl_generic_generic.carbon @@ -1679,8 +1637,6 @@ class T2(G2: type) { // CHECK:STDOUT: override fn(%self.param: @Derived.F.loc10_44.1.%Derived (%Derived), %t.param: @Derived.F.loc10_44.1.%ptr.loc10_41.1 (%ptr.e8f)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1706,8 +1662,6 @@ class T2(G2: type) { // CHECK:STDOUT: %bound_method: = bound_method %.loc10_44.3, %Derived.F.specific_fn.loc10_44.1 // CHECK:STDOUT: %Derived.F.call: init %empty_tuple.type = call %bound_method(%.loc10_44.3, %t.param) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/nested.carbon b/toolchain/check/testdata/class/nested.carbon index e99f195ca681..9894f47b60d9 100644 --- a/toolchain/check/testdata/class/nested.carbon +++ b/toolchain/check/testdata/class/nested.carbon @@ -248,8 +248,6 @@ fn F(a: Outer*) { // CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %o.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call.loc18: init %empty_tuple.type = call %Destroy.Op.bound.loc18(%o.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Inner.G() { @@ -289,8 +287,6 @@ fn F(a: Outer*) { // CHECK:STDOUT: %Destroy.Op.bound.loc29: = bound_method %o.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call.loc29: init %empty_tuple.type = call %Destroy.Op.bound.loc29(%o.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Outer.H() { @@ -330,8 +326,6 @@ fn F(a: Outer*) { // CHECK:STDOUT: %Destroy.Op.bound.loc36: = bound_method %o.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call.loc36: init %empty_tuple.type = call %Destroy.Op.bound.loc36(%o.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc19_5.1(%self.param: ref %ptr.001) = "no_op"; @@ -341,29 +335,21 @@ fn F(a: Outer*) { // CHECK:STDOUT: fn @Destroy.Op.loc19_5.3(%self.param: ref %struct_type.pi.po.qi) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc19_5.4(%self.param: ref %Inner) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_5.1(%self.param: ref %struct_type.po.qo.pi) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_5.2(%self.param: ref %Outer) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%a.param: %ptr.286) { @@ -461,7 +447,5 @@ fn F(a: Outer*) { // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc53: init %ptr.001 = call %bound_method.loc53_12.2(%.loc53_12.3) // CHECK:STDOUT: assign %.loc53_4.2, %ptr.as.Copy.impl.Op.call.loc53 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/nested_name.carbon b/toolchain/check/testdata/class/nested_name.carbon index 3bb46b77c2a8..5708aaa0b4d3 100644 --- a/toolchain/check/testdata/class/nested_name.carbon +++ b/toolchain/check/testdata/class/nested_name.carbon @@ -170,8 +170,6 @@ fn G(o: Outer) { // CHECK:STDOUT: %bound_method.loc22_12.2: = bound_method %.loc22_12.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc22_12.2(%.loc22_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%o.param: %Outer) { @@ -197,8 +195,6 @@ fn G(o: Outer) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -206,21 +202,15 @@ fn G(o: Outer) { // CHECK:STDOUT: fn @Destroy.Op.loc26_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_3.3(%self.param: ref %struct_type.n) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_3.4(%self.param: ref %Inner) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/partial/init.carbon b/toolchain/check/testdata/class/partial/init.carbon index 41b866d50829..2e7ad64af705 100644 --- a/toolchain/check/testdata/class/partial/init.carbon +++ b/toolchain/check/testdata/class/partial/init.carbon @@ -63,7 +63,5 @@ class Derived { // CHECK:STDOUT: %.loc14_32.4: init %Derived to %return.param = class_init (%.loc14_32.3) // CHECK:STDOUT: %.loc14_33: init %Derived = converted %.loc14_32.2, %.loc14_32.4 // CHECK:STDOUT: return %.loc14_33 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/redeclaration.carbon b/toolchain/check/testdata/class/redeclaration.carbon index 7741b83c3a00..021c67711942 100644 --- a/toolchain/check/testdata/class/redeclaration.carbon +++ b/toolchain/check/testdata/class/redeclaration.carbon @@ -99,7 +99,5 @@ fn Class.F(unused self, unused b: ()) {} // CHECK:STDOUT: fn @Class.F(%self.param.loc21: %Class, %b.param.loc21: %empty_tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/reenter_scope.carbon b/toolchain/check/testdata/class/reenter_scope.carbon index 5900899a0ea5..28a79e81296c 100644 --- a/toolchain/check/testdata/class/reenter_scope.carbon +++ b/toolchain/check/testdata/class/reenter_scope.carbon @@ -105,8 +105,6 @@ fn Class.F() -> i32 { // CHECK:STDOUT: %G.ref.loc22: %Class.G.type = name_ref G, @Class.%Class.G.decl [concrete = constants.%Class.G] // CHECK:STDOUT: %Class.G.call.loc22: init %i32 = call %G.ref.loc22() // CHECK:STDOUT: return %Class.G.call.loc22 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.G() -> out %return.param: %i32; diff --git a/toolchain/check/testdata/class/reorder.carbon b/toolchain/check/testdata/class/reorder.carbon index 455fac356e47..a5472fe6113e 100644 --- a/toolchain/check/testdata/class/reorder.carbon +++ b/toolchain/check/testdata/class/reorder.carbon @@ -116,8 +116,6 @@ class Class { // CHECK:STDOUT: %F.ref: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.call: init %i32 = call %F.ref() // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.F() -> out %return.param: %i32 { @@ -130,7 +128,5 @@ class Class { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc21_13.2(%int_1) [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %.loc21: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0c6] // CHECK:STDOUT: return %.loc21 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/reorder_qualified.carbon b/toolchain/check/testdata/class/reorder_qualified.carbon index 5fbd74374f8c..5b86128ede89 100644 --- a/toolchain/check/testdata/class/reorder_qualified.carbon +++ b/toolchain/check/testdata/class/reorder_qualified.carbon @@ -350,8 +350,6 @@ class A { // CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %a.var, constants.%Destroy.Op.1a2547.10 // CHECK:STDOUT: %Destroy.Op.call.loc33: init %empty_tuple.type = call %Destroy.Op.bound.loc33(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.CF(); @@ -363,63 +361,45 @@ class A { // CHECK:STDOUT: fn @Destroy.Op.loc36_7.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc36_7.3(%self.param: ref %struct_type.d.bde) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc36_7.4(%self.param: ref %D) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_7.1(%self.param: ref %struct_type.c.73d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_7.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc34_7.1(%self.param: ref %struct_type.b.0bf) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc34_7.2(%self.param: ref %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc33_7.1(%self.param: ref %struct_type.a.a92) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc33_7.2(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/scope.carbon b/toolchain/check/testdata/class/scope.carbon index 222965dab804..3ecfd82568b7 100644 --- a/toolchain/check/testdata/class/scope.carbon +++ b/toolchain/check/testdata/class/scope.carbon @@ -159,8 +159,6 @@ fn Run() { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc17_13.2(%int_1) [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %.loc17: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0c6] // CHECK:STDOUT: return %.loc17 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.G() -> out %return.param: %i32 { @@ -168,8 +166,6 @@ fn Run() { // CHECK:STDOUT: %F.ref: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.call: init %i32 = call %F.ref() // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { @@ -182,8 +178,6 @@ fn Run() { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc26_11.2(%int_2) [concrete = constants.%int_2.295] // CHECK:STDOUT: %.loc26: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.295] // CHECK:STDOUT: return %.loc26 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { @@ -214,8 +208,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound.loc30: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc30: init %empty_tuple.type = call %Destroy.Op.bound.loc30(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -223,7 +215,5 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc31_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/self/fail_ref_self.carbon b/toolchain/check/testdata/class/self/fail_ref_self.carbon index 5f0c5005b1e5..ffe691c3176a 100644 --- a/toolchain/check/testdata/class/self/fail_ref_self.carbon +++ b/toolchain/check/testdata/class/self/fail_ref_self.carbon @@ -152,8 +152,6 @@ fn F(c: Class, p: Class*) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc35_8.2, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc35_8.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_8.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -161,7 +159,5 @@ fn F(c: Class, p: Class*) { // CHECK:STDOUT: fn @Destroy.Op.loc35_8.2(%self.param: ref %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/self/raw_self.carbon b/toolchain/check/testdata/class/self/raw_self.carbon index dc90ffdf6ee6..bc4e212c4f65 100644 --- a/toolchain/check/testdata/class/self/raw_self.carbon +++ b/toolchain/check/testdata/class/self/raw_self.carbon @@ -187,8 +187,6 @@ fn Class.G(self, r#self: i32) -> (i32, i32) { // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc22_12.2(%self.ref.loc22_12) // CHECK:STDOUT: assign %.loc22, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.G(%self.param.loc25_12: %Class, %self.param.loc25_24: %i32) -> out %return.param.loc25: %tuple.type.e55 { @@ -216,7 +214,5 @@ fn Class.G(self, r#self: i32) -> (i32, i32) { // CHECK:STDOUT: %.loc26_25.4: init %tuple.type.e55 to %return.param.loc25 = tuple_init (%.loc26_25.2, %.loc26_25.3) // CHECK:STDOUT: %.loc26_26: init %tuple.type.e55 = converted %.loc26_25.1, %.loc26_25.4 // CHECK:STDOUT: return %.loc26_26 to %return.param.loc25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/self/raw_self_type.carbon b/toolchain/check/testdata/class/self/raw_self_type.carbon index 10e75c0561d2..7c5f710bf8e9 100644 --- a/toolchain/check/testdata/class/self/raw_self_type.carbon +++ b/toolchain/check/testdata/class/self/raw_self_type.carbon @@ -201,8 +201,6 @@ fn MemberNamedSelf.F(unused x: Self, unused y: r#Self) {} // CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %Self.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc17: init %empty_tuple.type = call %Destroy.Op.bound.loc17(%Self.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr.7ee) = "no_op"; @@ -210,7 +208,5 @@ fn MemberNamedSelf.F(unused x: Self, unused y: r#Self) {} // CHECK:STDOUT: fn @MemberNamedSelf.F(%x.param.loc28: %MemberNamedSelf, %y.param.loc28: %Self.7fc) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/self/self.carbon b/toolchain/check/testdata/class/self/self.carbon index 57c7f9059ebf..e00d61435bea 100644 --- a/toolchain/check/testdata/class/self/self.carbon +++ b/toolchain/check/testdata/class/self/self.carbon @@ -232,8 +232,6 @@ class Class { // CHECK:STDOUT: %bound_method.loc14_14.2: = bound_method %.loc14_14.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc14_14.2(%.loc14_14.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.G(%self.param.loc17: ref %Class) -> out %return.param.loc17: %i32 { @@ -248,8 +246,6 @@ class Class { // CHECK:STDOUT: %bound_method.loc18_14.2: = bound_method %.loc18_14.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc18_14.2(%.loc18_14.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_self_syntax_mismatch.carbon @@ -336,15 +332,11 @@ class Class { // CHECK:STDOUT: fn @Class.F.loc16(%self.param: %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.G.loc25(%self.param: %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_self_type_mismatch.carbon @@ -409,8 +401,6 @@ class Class { // CHECK:STDOUT: fn @Class.F.loc16(%self.param: %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_return_self_value.carbon diff --git a/toolchain/check/testdata/class/self/self_type.carbon b/toolchain/check/testdata/class/self/self_type.carbon index 4645ba529c5e..6338daf0a48c 100644 --- a/toolchain/check/testdata/class/self/self_type.carbon +++ b/toolchain/check/testdata/class/self/self_type.carbon @@ -162,8 +162,6 @@ fn Class.F(self) -> i32 { // CHECK:STDOUT: %.loc26_11.2: %Class = acquire_value %.loc26_11.1 // CHECK:STDOUT: %Class.F.call: init %i32 = call %Class.F.bound(%.loc26_11.2) // CHECK:STDOUT: return %Class.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.Make() -> out %return.param: %Class { @@ -198,7 +196,5 @@ fn Class.F(self) -> i32 { // CHECK:STDOUT: assign %s.ref.loc19_5, %.loc19_7 // CHECK:STDOUT: %.loc18_19: %Class = acquire_value %s // CHECK:STDOUT: return %.loc18_19 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/syntactic_merge.carbon b/toolchain/check/testdata/class/syntactic_merge.carbon index b86cb643fa8c..cff47cc607c8 100644 --- a/toolchain/check/testdata/class/syntactic_merge.carbon +++ b/toolchain/check/testdata/class/syntactic_merge.carbon @@ -1266,7 +1266,5 @@ fn Base.F(ref self: Base) { // CHECK:STDOUT: %.loc18_10: init %empty_tuple.type = converted %.loc18_13.1, %.loc18_13.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign %.loc18_7, %.loc18_10 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/const/basics.carbon b/toolchain/check/testdata/const/basics.carbon index e5730f9e240e..449266dc0d3e 100644 --- a/toolchain/check/testdata/const/basics.carbon +++ b/toolchain/check/testdata/const/basics.carbon @@ -239,8 +239,6 @@ fn PassConstReferenceToReference(p: const X*) { // CHECK:STDOUT: %bound_method.loc7_10.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.0c8 = call %bound_method.loc7_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B(%p.param: %const.0f8) -> out %return.param: %const.0f8 { @@ -256,8 +254,6 @@ fn PassConstReferenceToReference(p: const X*) { // CHECK:STDOUT: %bound_method.loc11_10.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %const.as.Copy.impl.Op.call: init %const.0f8 = call %bound_method.loc11_10.2(%p.ref) // CHECK:STDOUT: return %const.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- collapse.carbon @@ -328,7 +324,5 @@ fn PassConstReferenceToReference(p: const X*) { // CHECK:STDOUT: %bound_method.loc12_10.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.0c8 = call %bound_method.loc12_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/const/import.carbon b/toolchain/check/testdata/const/import.carbon index 4b00c21a6737..9c1a59b44475 100644 --- a/toolchain/check/testdata/const/import.carbon +++ b/toolchain/check/testdata/const/import.carbon @@ -116,7 +116,5 @@ var a_ptr: const C* = a_ptr_ref; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc7: init %ptr.77f = call %bound_method.loc7_23.2(%.loc7) // CHECK:STDOUT: assign file.%a_ptr.var, %ptr.as.Copy.impl.Op.call.loc7 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/deduce/array.carbon b/toolchain/check/testdata/deduce/array.carbon index 72434122e644..c8e59679640e 100644 --- a/toolchain/check/testdata/deduce/array.carbon +++ b/toolchain/check/testdata/deduce/array.carbon @@ -282,8 +282,6 @@ fn G() { // CHECK:STDOUT: %.loc6_34.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_34.1 = call %F.specific_fn.loc6_45.1(%a.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -328,8 +326,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -337,15 +333,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.9a3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { @@ -546,8 +538,6 @@ fn G() { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_66.1: init %i32 = call %bound_method.loc6_66.2(%N.ref.loc6_65) [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_66.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc6_66: init %i32 = converted %N.ref.loc6_65, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_66.1 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_66.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: return %.loc6_66 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -591,8 +581,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -600,15 +588,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.9a3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%N) { @@ -753,8 +737,6 @@ fn G() { // CHECK:STDOUT: fn(%a.param: @F.%array_type.loc6_55.1 (%array_type.6d2)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -798,8 +780,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -807,15 +787,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.9a3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T, constants.%N) { @@ -986,8 +962,6 @@ fn G() { // CHECK:STDOUT: %.loc6_34.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_34.1 = call %F.specific_fn.loc6_45.1(%a.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1032,8 +1006,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1041,15 +1013,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %array_type.9a3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { @@ -1263,8 +1231,6 @@ fn G() { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_66.1: init %i32 = call %bound_method.loc7_66.2(%N.ref.loc7_65) [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_66.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc7_66: init %i32 = converted %N.ref.loc7_65, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_66.1 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_66.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: return %.loc7_66 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1308,8 +1274,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1317,15 +1281,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %D) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.3(%self.param: ref %array_type.cec) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%N) { @@ -1530,8 +1490,6 @@ fn G() { // CHECK:STDOUT: %bound_method.loc6_53.2: = bound_method %N.ref.loc6_53, %specific_fn.loc6_53 [symbolic = %bound_method.loc6_53.3 (constants.%bound_method.d86)] // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_53.2(%N.ref.loc6_53) [symbolic = %N.loc6_7.1 (constants.%N.37f)] // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1572,8 +1530,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1581,15 +1537,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.9a3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%N.37f) { @@ -1724,8 +1676,6 @@ fn G() { // CHECK:STDOUT: fn(%a.param: @F.%array_type.loc5_34.1 (%array_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1737,8 +1687,6 @@ fn G() { // CHECK:STDOUT: %.loc17_15: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc17_16: %tuple.type = tuple_literal (%.loc17_7, %.loc17_11, %.loc17_15) [concrete = constants.%tuple] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%N.37f) { diff --git a/toolchain/check/testdata/deduce/conversion.carbon b/toolchain/check/testdata/deduce/conversion.carbon index 07c2354f16d1..616d213f78b1 100644 --- a/toolchain/check/testdata/deduce/conversion.carbon +++ b/toolchain/check/testdata/deduce/conversion.carbon @@ -91,8 +91,6 @@ fn G(a: A) { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%tuple.type.1e7) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- need_user_conversion.carbon @@ -145,8 +143,6 @@ fn G(a: A) { // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.367) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_8.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -154,8 +150,6 @@ fn G(a: A) { // CHECK:STDOUT: fn @Destroy.Op.loc16_8.2(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- no_conversion_during_deduction.carbon @@ -198,8 +192,6 @@ fn G(a: A) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc16_9.3, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc16_9.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_9.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -207,7 +199,5 @@ fn G(a: A) { // CHECK:STDOUT: fn @Destroy.Op.loc16_9.2(%self.param: ref %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/deduce/generic_type.carbon b/toolchain/check/testdata/deduce/generic_type.carbon index 10b20bf272c7..60dbfe16c0ef 100644 --- a/toolchain/check/testdata/deduce/generic_type.carbon +++ b/toolchain/check/testdata/deduce/generic_type.carbon @@ -226,8 +226,6 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc7_27.1: ref @F.%T.loc7_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc7_7.1 (%T) to %.loc7_27.1 = call %F.specific_fn.loc7_38.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -239,8 +237,6 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc9_18.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %D to %.loc9_18.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -440,8 +436,6 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc7_27.1: ref %C = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %C to %.loc7_27.1 = call %F.specific_fn.loc7_38.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -453,8 +447,6 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc9_18.1: ref %C = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %C to %.loc9_18.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T) { @@ -735,8 +727,6 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc13_54.1: ref @F.%tuple.type (%tuple.type.a5e) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%tuple.type (%tuple.type.a5e) to %.loc13_54.1 = call %F.specific_fn.loc13_65.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -748,8 +738,6 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc15_36.1: ref %tuple.type.af1 = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %tuple.type.af1 to %.loc15_36.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%T) { @@ -1019,8 +1007,6 @@ fn G() -> i32 { // CHECK:STDOUT: %bound_method.loc6_56.2: = bound_method %N.ref.loc6_56, %specific_fn [symbolic = %bound_method.loc6_56.3 (constants.%bound_method.d86)] // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_56.2(%N.ref.loc6_56) [symbolic = %N.loc6_7.1 (constants.%N.37f)] // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1047,8 +1033,6 @@ fn G() -> i32 { // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%.loc9_15.3) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.0e2) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_15.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1056,8 +1040,6 @@ fn G() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc9_15.2(%self.param: ref %WithNontype.888) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @WithNontype(constants.%N.37f) { diff --git a/toolchain/check/testdata/deduce/int_float.carbon b/toolchain/check/testdata/deduce/int_float.carbon index 20f54ab0ccd6..cabc66e15ee2 100644 --- a/toolchain/check/testdata/deduce/int_float.carbon +++ b/toolchain/check/testdata/deduce/int_float.carbon @@ -164,8 +164,6 @@ fn G(a: f64) -> Core.IntLiteral { // CHECK:STDOUT: %bound_method: = bound_method %N.ref.loc5, %impl.elem0 [symbolic = %Core.IntLiteral.as.Copy.impl.Op.bound (constants.%Core.IntLiteral.as.Copy.impl.Op.bound.3c6)] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call: init Core.IntLiteral = call %bound_method(%N.ref.loc5) [symbolic = %N.loc4_7.1 (constants.%N)] // CHECK:STDOUT: return %Core.IntLiteral.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -176,8 +174,6 @@ fn G(a: f64) -> Core.IntLiteral { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_64) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init Core.IntLiteral = call %F.specific_fn(%a.ref) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%N) { @@ -330,8 +326,6 @@ fn G(a: f64) -> Core.IntLiteral { // CHECK:STDOUT: %bound_method: = bound_method %N.ref.loc5, %impl.elem0 [symbolic = %Core.IntLiteral.as.Copy.impl.Op.bound (constants.%Core.IntLiteral.as.Copy.impl.Op.bound.3c6)] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call: init Core.IntLiteral = call %bound_method(%N.ref.loc5) [symbolic = %N.loc4_7.1 (constants.%N)] // CHECK:STDOUT: return %Core.IntLiteral.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -342,8 +336,6 @@ fn G(a: f64) -> Core.IntLiteral { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_64) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init Core.IntLiteral = call %F.specific_fn(%a.ref) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%N) { diff --git a/toolchain/check/testdata/deduce/tuple.carbon b/toolchain/check/testdata/deduce/tuple.carbon index c3a0800725d6..ead2a931c743 100644 --- a/toolchain/check/testdata/deduce/tuple.carbon +++ b/toolchain/check/testdata/deduce/tuple.carbon @@ -213,8 +213,6 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %.loc7_41.1: ref @F.%U.loc7_16.1 (%U) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%U.loc7_16.1 (%U) to %.loc7_41.1 = call %F.specific_fn.loc7_52.1(%pair.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -226,8 +224,6 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %.loc9_23.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %D to %.loc9_23.1 = call %F.specific_fn(%pair.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T, constants.%U) { @@ -504,8 +500,6 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %bound_method.loc6_65.2: = bound_method %B.ref.loc6_65, %specific_fn [symbolic = %bound_method.loc6_65.3 (constants.%bound_method.523)] // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_65.2(%B.ref.loc6_65) [symbolic = %B.loc6_15.1 (constants.%B)] // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -516,8 +510,6 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_1.0c6, constants.%int_2.295) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%h.ref) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasPair(constants.%Pair) { @@ -706,8 +698,6 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %pair.ref: %tuple.type.af1 = name_ref pair, %pair // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { diff --git a/toolchain/check/testdata/deduce/type_operator.carbon b/toolchain/check/testdata/deduce/type_operator.carbon index 3154a6d39d61..46eb4bc199f9 100644 --- a/toolchain/check/testdata/deduce/type_operator.carbon +++ b/toolchain/check/testdata/deduce/type_operator.carbon @@ -196,8 +196,6 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %.loc6_25.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_25.1 = call %F.specific_fn.loc6_36.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -209,8 +207,6 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %.loc8_16.1: ref %C = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %C to %.loc8_16.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { @@ -383,8 +379,6 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %.loc6_31.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_31.1 = call %F.specific_fn.loc6_42.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -396,8 +390,6 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %.loc8_22.1: ref %C = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %C to %.loc8_22.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { @@ -570,8 +562,6 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %.loc6_25.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_25.1 = call %F.specific_fn.loc6_36.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -583,8 +573,6 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %.loc8_22.1: ref %const = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %const to %.loc8_22.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { @@ -755,8 +743,6 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %.loc6_31.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_31.1 = call %F.specific_fn.loc6_42.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -765,8 +751,6 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %p.ref: %ptr.6b6 = name_ref p, %p // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { diff --git a/toolchain/check/testdata/deduce/value_with_type_through_access.carbon b/toolchain/check/testdata/deduce/value_with_type_through_access.carbon index 5fdad6b728ec..3964567ef5c7 100644 --- a/toolchain/check/testdata/deduce/value_with_type_through_access.carbon +++ b/toolchain/check/testdata/deduce/value_with_type_through_access.carbon @@ -257,8 +257,6 @@ fn G() { // CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc8_40.1 (%HoldsType.a83), %a.param: @F.%tuple.elem0.loc8_54.1 (%tuple.elem0)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -288,8 +286,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.call.loc13_30: init %empty_tuple.type = call constants.%Destroy.Op.bound.72d(constants.%.115) // CHECK:STDOUT: %Destroy.Op.call.loc13_8: init %empty_tuple.type = call constants.%Destroy.Op.bound.bc7(constants.%.eb0) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_30.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -297,15 +293,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc13_30.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_8(%self.param: ref %HoldsType.30f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HoldsType(constants.%T) { @@ -505,8 +497,6 @@ fn G() { // CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc8_42.1 (%HoldsType.07e), %a.param: @F.%.loc8_56.1 (%.424)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -536,8 +526,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.call.loc13_33: init %empty_tuple.type = call constants.%Destroy.Op.bound.72d(constants.%.115) // CHECK:STDOUT: %Destroy.Op.call.loc13_8: init %empty_tuple.type = call constants.%Destroy.Op.bound.e30(constants.%.344) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_33.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -545,15 +533,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc13_33.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_8(%self.param: ref %HoldsType.53c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HoldsType(constants.%T) { @@ -779,8 +763,6 @@ fn G() { // CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc21_37.1 (%HoldsType.3500da.1), %a.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -805,8 +787,6 @@ fn G() { // CHECK:STDOUT: %.loc26_8: init @G.%HoldsType.loc26_22.2 (%HoldsType.3500da.2) = converted %.loc26_6.1, %.loc26_6.3 [symbolic = %HoldsType.val (constants.%HoldsType.val.7f1)] // CHECK:STDOUT: %.loc26_26: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -829,8 +809,6 @@ fn G() { // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn() // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.0de) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc30_13.1(%self.param: ref type) = "no_op"; @@ -838,15 +816,11 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc30_13.2(%self.param: ref %struct_type.t) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc30_13.3(%self.param: ref %Class) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HoldsType(constants.%T.f25) { @@ -1080,8 +1054,6 @@ fn G() { // CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc12_46.1 (%HoldsType.881), %a.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1113,8 +1085,6 @@ fn G() { // CHECK:STDOUT: %.loc17_48: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.1c6) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc17_27.1(%self.param: ref type) = "no_op"; @@ -1122,8 +1092,6 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc17_27.2(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HoldsType(constants.%T.9b7) { diff --git a/toolchain/check/testdata/eval/aggregates.carbon b/toolchain/check/testdata/eval/aggregates.carbon index 24a115e12f17..071f07120a7a 100644 --- a/toolchain/check/testdata/eval/aggregates.carbon +++ b/toolchain/check/testdata/eval/aggregates.carbon @@ -352,8 +352,6 @@ fn G(generic N: i32) { // CHECK:STDOUT: %.loc10_41: init %array_type = converted %.loc10_39.1, %.loc10_39.5 [concrete = constants.%array] // CHECK:STDOUT: assign file.%struct_access.var, %.loc10_41 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_array_temporary.carbon @@ -492,8 +490,6 @@ fn G(generic N: i32) { // CHECK:STDOUT: %.loc9_86.2: %i32 = acquire_value %.loc9_86.1 // CHECK:STDOUT: assign file.%array_index.var, // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- symbolic.carbon @@ -771,8 +767,6 @@ fn G(generic N: i32) { // CHECK:STDOUT: %bound_method.loc6_3.2: = bound_method %u.var, %specific_impl_fn.loc6_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc6: init %empty_tuple.type = call %bound_method.loc6_3.2(%u.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -841,8 +835,6 @@ fn G(generic N: i32) { // CHECK:STDOUT: %bound_method.loc14_3.2: = bound_method %k.var, %specific_impl_fn.loc14_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc14_3.2(%k.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/eval/binding.carbon b/toolchain/check/testdata/eval/binding.carbon index 83e72bffad37..32a597d0b73e 100644 --- a/toolchain/check/testdata/eval/binding.carbon +++ b/toolchain/check/testdata/eval/binding.carbon @@ -195,7 +195,5 @@ let n: array(i32, G()) = (1, 2, 3); // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc11: %tuple.type.37f = tuple_literal (%int_1, %int_2, %int_3) [concrete = constants.%tuple.2d5] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/eval/branch.carbon b/toolchain/check/testdata/eval/branch.carbon index 7cdd14e1016a..673da55460c2 100644 --- a/toolchain/check/testdata/eval/branch.carbon +++ b/toolchain/check/testdata/eval/branch.carbon @@ -130,8 +130,6 @@ var b: if false then A else B = MakeB(); // CHECK:STDOUT: %MakeB.call: init %B to %.loc15 = call %MakeB.ref() // CHECK:STDOUT: assign file.%b.var, %MakeB.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- if_expression_in_eval_fn.carbon @@ -200,7 +198,5 @@ var b: if false then A else B = MakeB(); // CHECK:STDOUT: %MakeB.call: init %B to %.loc11 = call %MakeB.ref() // CHECK:STDOUT: assign file.%b.var, %MakeB.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/eval/call.carbon b/toolchain/check/testdata/eval/call.carbon index a78e6c9f779f..abedbba2f23d 100644 --- a/toolchain/check/testdata/eval/call.carbon +++ b/toolchain/check/testdata/eval/call.carbon @@ -200,8 +200,6 @@ fn H() { // CHECK:STDOUT: %.loc8_5.2: ref %tuple.type.555 = temporary %.loc8_5.1, %F.call [concrete = constants.%.e1e] // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e1e) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_5.1(%self.param: ref %i32.builtin) = "no_op"; @@ -209,15 +207,11 @@ fn H() { // CHECK:STDOUT: fn @Destroy.Op.loc8_5.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_5.3(%self.param: ref %tuple.type.555) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- return_in_place_init.carbon @@ -265,8 +259,6 @@ fn H() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -274,15 +266,11 @@ fn H() { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %tuple.type.555) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_return_in_place_tuple.carbon @@ -389,8 +377,6 @@ fn H() { // CHECK:STDOUT: %.loc5_49.8: init %tuple.type.555 to %return.param = tuple_init (%.loc5_49.3, %.loc5_49.5, %.loc5_49.7) [concrete = constants.%tuple.479] // CHECK:STDOUT: %.loc5_50: init %tuple.type.555 = converted %.loc5_49.1, %.loc5_49.8 [concrete = constants.%tuple.479] // CHECK:STDOUT: return %.loc5_50 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { @@ -408,8 +394,6 @@ fn H() { // CHECK:STDOUT: } // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e1e) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc17_32.1(%self.param: ref %i32.builtin) = "no_op"; @@ -417,15 +401,11 @@ fn H() { // CHECK:STDOUT: fn @Destroy.Op.loc17_32.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc17_32.3(%self.param: ref %tuple.type.555) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- return_in_place_class.carbon @@ -469,8 +449,6 @@ fn H() { // CHECK:STDOUT: %.loc6_28.2: init %C to %return.param = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc6_29: init %C = converted %.loc6_28.1, %.loc6_28.2 [concrete = constants.%C.val] // CHECK:STDOUT: return %.loc6_29 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { @@ -485,8 +463,6 @@ fn H() { // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn() // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.115) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_7.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -494,7 +470,5 @@ fn H() { // CHECK:STDOUT: fn @Destroy.Op.loc13_7.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/eval/symbolic.carbon b/toolchain/check/testdata/eval/symbolic.carbon index 575ba2c57204..3b7672fad33f 100644 --- a/toolchain/check/testdata/eval/symbolic.carbon +++ b/toolchain/check/testdata/eval/symbolic.carbon @@ -111,8 +111,6 @@ fn F() { // CHECK:STDOUT: %bound_method: = bound_method %.loc11, %impl.elem0 [symbolic = %type.as.Copy.impl.Op.bound (constants.%type.as.Copy.impl.Op.bound.05d)] // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%.loc11) [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.ff1)] // CHECK:STDOUT: return %type.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/access.carbon b/toolchain/check/testdata/facet/access.carbon index 5dd52ddb56b5..2dc0b069dbe7 100644 --- a/toolchain/check/testdata/facet/access.carbon +++ b/toolchain/check/testdata/facet/access.carbon @@ -513,8 +513,6 @@ fn F(generic T: Z where C impls NY(.Self)) -> C.(Y(T).Y1) { // CHECK:STDOUT: %specific_impl_fn.loc10_4.1: = specific_impl_function %impl.elem0.loc10_4.1, @I.WithSelf.DoIt(constants.%T) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %I.WithSelf.DoIt.call: init %empty_tuple.type = call %specific_impl_fn.loc10_4.1() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -566,8 +564,6 @@ fn F(generic T: Z where C impls NY(.Self)) -> C.(Y(T).Y1) { // CHECK:STDOUT: // CHECK:STDOUT: %I.WithSelf.Make.call: init @Use.%T.as_type.loc8_25.1 (%T.as_type) to %.loc8_25.1 = call %specific_impl_fn.loc10_11.1() // CHECK:STDOUT: return %I.WithSelf.Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -670,8 +666,6 @@ fn F(generic T: Z where C impls NY(.Self)) -> C.(Y(T).Y1) { // CHECK:STDOUT: %.loc9_23.1: ref @Use.%T.as_type.loc9_17.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %I.WithSelf.Copy.call: init @Use.%T.as_type.loc9_17.1 (%T.as_type) to %.loc9_23.1 = call %bound_method.loc10_17(%x.ref) // CHECK:STDOUT: return %I.WithSelf.Copy.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -727,8 +721,6 @@ fn F(generic T: Z where C impls NY(.Self)) -> C.(Y(T).Y1) { // CHECK:STDOUT: %specific_impl_fn.loc10_4.1: = specific_impl_function %impl.elem0.loc10_4.1, @I.WithSelf.Hello(constants.%T) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %I.WithSelf.Hello.call: init %empty_tuple.type = call %specific_impl_fn.loc10_4.1() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -791,8 +783,6 @@ fn F(generic T: Z where C impls NY(.Self)) -> C.(Y(T).Y1) { // CHECK:STDOUT: // CHECK:STDOUT: %I.WithSelf.Copy.call: init @UseIndirect.%T.as_type.loc8_25.1 (%T.as_type) to %.loc8_31.1 = call %bound_method.loc10_21(%x.ref) // CHECK:STDOUT: return %I.WithSelf.Copy.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/call_combined_impl_witness.carbon b/toolchain/check/testdata/facet/call_combined_impl_witness.carbon index 6d1e32397bd2..28aa1cc2430d 100644 --- a/toolchain/check/testdata/facet/call_combined_impl_witness.carbon +++ b/toolchain/check/testdata/facet/call_combined_impl_witness.carbon @@ -225,8 +225,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @A { @@ -244,8 +242,6 @@ fn F() { // CHECK:STDOUT: witness = (@A.WithSelf.%A.WithSelf.AA.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @B { @@ -263,8 +259,6 @@ fn F() { // CHECK:STDOUT: witness = (@B.WithSelf.%B.WithSelf.BB.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.Empty.impl: %C.ref as %Empty.ref { @@ -317,15 +311,11 @@ fn F() { // CHECK:STDOUT: fn @C.as.A.impl.AA() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.B.impl.BB() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%T.loc33_7.2: %facet_type.22e) { @@ -396,8 +386,6 @@ fn F() { // CHECK:STDOUT: %specific_impl_fn.loc41: = specific_impl_function %impl.elem0.loc41, @B.WithSelf.BB(constants.%B.facet.746) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.c6b)] // CHECK:STDOUT: %B.WithSelf.BB.call.loc41: init %empty_tuple.type = call %specific_impl_fn.loc41() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -419,8 +407,6 @@ fn F() { // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn(%.loc45_8.3) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.115) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc45_8.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -428,8 +414,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc45_8.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.d44) { diff --git a/toolchain/check/testdata/facet/convert_class_type_to_facet_type.carbon b/toolchain/check/testdata/facet/convert_class_type_to_facet_type.carbon index f392ea5b3787..9f10e49f1ae0 100644 --- a/toolchain/check/testdata/facet/convert_class_type_to_facet_type.carbon +++ b/toolchain/check/testdata/facet/convert_class_type_to_facet_type.carbon @@ -89,8 +89,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @Goat.as.Animal.impl: %Goat.ref as %Animal.ref { @@ -119,8 +117,6 @@ fn F() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -133,8 +129,6 @@ fn F() { // CHECK:STDOUT: %WalkAnimal.specific_fn: = specific_function %WalkAnimal.ref, @WalkAnimal(constants.%Animal.facet) [concrete = constants.%WalkAnimal.specific_fn] // CHECK:STDOUT: %WalkAnimal.call: init %empty_tuple.type = call %WalkAnimal.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/facet/convert_class_type_to_generic_facet_value.carbon b/toolchain/check/testdata/facet/convert_class_type_to_generic_facet_value.carbon index c4fead2401d7..7fc7fa96ba6c 100644 --- a/toolchain/check/testdata/facet/convert_class_type_to_generic_facet_value.carbon +++ b/toolchain/check/testdata/facet/convert_class_type_to_generic_facet_value.carbon @@ -220,8 +220,6 @@ fn G() { // CHECK:STDOUT: witness = (@Generic.WithSelf.%Generic.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -259,8 +257,6 @@ fn G() { // CHECK:STDOUT: fn @ImplsGeneric.as.Generic.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_31.2: type, %U.loc15_55.2: @CallGenericMethod.%Generic.type.loc15_66.1 (%Generic.type.ee14e9.2)) { @@ -276,8 +272,6 @@ fn G() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -291,8 +285,6 @@ fn G() { // CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%CallGenericMethod.specific_fn.42a] // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @PassThroughToGenericMethod(%T.loc21_40.2: type, %U.loc21_57.2: @PassThroughToGenericMethod.%Generic.type.loc21_68.1 (%Generic.type.ee14e9.2)) { @@ -314,8 +306,6 @@ fn G() { // CHECK:STDOUT: %CallGenericMethod.specific_fn.loc22_3.1: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%T, constants.%U.af9edd.2) [symbolic = %CallGenericMethod.specific_fn.loc22_3.2 (constants.%CallGenericMethod.specific_fn.151)] // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn.loc22_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -329,8 +319,6 @@ fn G() { // CHECK:STDOUT: %PassThroughToGenericMethod.specific_fn: = specific_function %PassThroughToGenericMethod.ref, @PassThroughToGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%PassThroughToGenericMethod.specific_fn] // CHECK:STDOUT: %PassThroughToGenericMethod.call: init %empty_tuple.type = call %PassThroughToGenericMethod.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%Scalar) { @@ -592,8 +580,6 @@ fn G() { // CHECK:STDOUT: witness = (@Generic.WithSelf.%Generic.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -631,8 +617,6 @@ fn G() { // CHECK:STDOUT: fn @ImplsGeneric.as.Generic.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_23.2: type, %U.loc15_47.2: @CallGenericMethod.%Generic.type.loc15_58.1 (%Generic.type.ee14e9.2)) { @@ -652,8 +636,6 @@ fn G() { // CHECK:STDOUT: fn(%t.param: @CallGenericMethod.%T.loc15_23.1 (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -674,8 +656,6 @@ fn G() { // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn(%.loc18_38.3) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.b65) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_38.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -683,8 +663,6 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc18_38.2(%self.param: ref %GenericParam) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%Scalar) { diff --git a/toolchain/check/testdata/facet/convert_class_value_to_facet_value_value.carbon b/toolchain/check/testdata/facet/convert_class_value_to_facet_value_value.carbon index 66bf195fd6ac..b70602ab0e1d 100644 --- a/toolchain/check/testdata/facet/convert_class_value_to_facet_value_value.carbon +++ b/toolchain/check/testdata/facet/convert_class_value_to_facet_value_value.carbon @@ -115,8 +115,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @Goat.as.Animal.impl: %Goat.ref as %Animal.ref { @@ -150,8 +148,6 @@ fn F() { // CHECK:STDOUT: fn(%a.param: @WalkAnimal.%T.as_type.loc17_36.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -173,8 +169,6 @@ fn F() { // CHECK:STDOUT: %WalkAnimal.call: init %empty_tuple.type = call %WalkAnimal.specific_fn(%.loc23_17.3) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.4ea) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_17.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -182,8 +176,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc23_17.2(%self.param: ref %Goat) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.f00) { diff --git a/toolchain/check/testdata/facet/convert_class_value_to_generic_facet_value_value.carbon b/toolchain/check/testdata/facet/convert_class_value_to_generic_facet_value_value.carbon index c1f77b7207be..e4909b17ff14 100644 --- a/toolchain/check/testdata/facet/convert_class_value_to_generic_facet_value_value.carbon +++ b/toolchain/check/testdata/facet/convert_class_value_to_generic_facet_value_value.carbon @@ -275,8 +275,6 @@ fn B() { // CHECK:STDOUT: witness = (@Generic.WithSelf.%Generic.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -314,8 +312,6 @@ fn B() { // CHECK:STDOUT: fn @ImplsGeneric.as.Generic.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_23.2: type, %U.loc15_32.2: @CallGenericMethod.%Generic.type.loc15_43.1 (%Generic.type.ee14e9.2)) { @@ -356,8 +352,6 @@ fn B() { // CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Generic.WithSelf.F(constants.%T, constants.%U) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Generic.WithSelf.F.call: init %empty_tuple.type = call %specific_impl_fn.loc16_4.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -385,8 +379,6 @@ fn B() { // CHECK:STDOUT: %Destroy.Op.call.loc20_44: init %empty_tuple.type = call constants.%Destroy.Op.bound.852(constants.%.b65) // CHECK:STDOUT: %Destroy.Op.call.loc20_24: init %empty_tuple.type = call constants.%Destroy.Op.bound.047(constants.%.cd4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_44.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -394,15 +386,11 @@ fn B() { // CHECK:STDOUT: fn @Destroy.Op.loc20_44.2(%self.param: ref %GenericParam) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_24(%self.param: ref %ImplsGeneric) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%Scalar) { @@ -674,8 +662,6 @@ fn B() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -720,8 +706,6 @@ fn B() { // CHECK:STDOUT: fn(%t.param: @A.%T.as_type.loc9_30.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -743,8 +727,6 @@ fn B() { // CHECK:STDOUT: %A.call: init %empty_tuple.type = call %A.specific_fn(%.loc12_8.3) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.115) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc12_8.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -752,8 +734,6 @@ fn B() { // CHECK:STDOUT: fn @Destroy.Op.loc12_8.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%V, constants.%W) { @@ -973,8 +953,6 @@ fn B() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1019,8 +997,6 @@ fn B() { // CHECK:STDOUT: fn(%t.param: @A.%T.as_type.loc9_30.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1033,8 +1009,6 @@ fn B() { // CHECK:STDOUT: %.loc19_6.3: init %C to %.loc19_6.2 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc19_8: init %C = converted %.loc19_6.1, %.loc19_6.3 [concrete = constants.%C.val] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%V, constants.%W) { @@ -1214,8 +1188,6 @@ fn B() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(%T.loc7_15.1: type) { @@ -1267,8 +1239,6 @@ fn B() { // CHECK:STDOUT: fn(%t.param: @A.%T.as_type.loc9_22.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1286,8 +1256,6 @@ fn B() { // CHECK:STDOUT: %.loc19_6.3: init %C.b48 to %.loc19_6.2 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc19_8: init %C.b48 = converted %.loc19_6.1, %.loc19_6.3 [concrete = constants.%C.val] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/facet/convert_facet_value_as_type_knows_original_type.carbon b/toolchain/check/testdata/facet/convert_facet_value_as_type_knows_original_type.carbon index 0ce5c4c1e348..780497bea684 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_as_type_knows_original_type.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_as_type_knows_original_type.carbon @@ -122,8 +122,6 @@ fn F[A: J, B: A](x: C(A, B)) { // CHECK:STDOUT: %Feed.specific_fn: = specific_function %Feed.ref, @Feed(constants.%Eats.facet) [concrete = constants.%Feed.specific_fn] // CHECK:STDOUT: %Feed.call: init %empty_tuple.type = call %Feed.specific_fn() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- facet_type_in_type_position.carbon @@ -217,8 +215,6 @@ fn F[A: J, B: A](x: C(A, B)) { // CHECK:STDOUT: %Destroy.Op.call.loc26: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.4ea) // CHECK:STDOUT: %Destroy.Op.call.loc22: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.4ea) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc27_8.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -226,8 +222,6 @@ fn F[A: J, B: A](x: C(A, B)) { // CHECK:STDOUT: fn @Destroy.Op.loc27_8.2(%self.param: ref %Goat) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- facet_access_type_converts_back_to_original_facet_value.carbon @@ -267,8 +261,6 @@ fn F[A: J, B: A](x: C(A, B)) { // CHECK:STDOUT: %G.specific_fn.loc27_3.1: = specific_function %G.ref, @G(constants.%A, constants.%B) [symbolic = %G.specific_fn.loc27_3.2 (constants.%G.specific_fn)] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn.loc27_3.1(%x.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/convert_facet_value_to_itself.carbon b/toolchain/check/testdata/facet/convert_facet_value_to_itself.carbon index ed5b4821bfc0..8d52a427d25a 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_to_itself.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_to_itself.carbon @@ -107,8 +107,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @Goat.as.Animal.impl: %Goat.ref as %Animal.ref { @@ -137,8 +135,6 @@ fn F() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -156,8 +152,6 @@ fn F() { // CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_38.1: = specific_function %FeedAnimal.ref, @FeedAnimal(constants.%T.443025.2) [symbolic = %FeedAnimal.specific_fn.loc19_38.2 (constants.%FeedAnimal.specific_fn.5bd)] // CHECK:STDOUT: %FeedAnimal.call: init %empty_tuple.type = call %FeedAnimal.specific_fn.loc19_38.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -170,8 +164,6 @@ fn F() { // CHECK:STDOUT: %HandleAnimal.specific_fn: = specific_function %HandleAnimal.ref, @HandleAnimal(constants.%Animal.facet) [concrete = constants.%HandleAnimal.specific_fn] // CHECK:STDOUT: %HandleAnimal.call: init %empty_tuple.type = call %HandleAnimal.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/facet/convert_facet_value_to_narrowed_facet_type.carbon b/toolchain/check/testdata/facet/convert_facet_value_to_narrowed_facet_type.carbon index 418d3ccecc0a..67bf64537086 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_to_narrowed_facet_type.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_to_narrowed_facet_type.carbon @@ -212,8 +212,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { @@ -225,8 +223,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Feed(%T.loc6_10.2: %Eats.type) { @@ -243,8 +239,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc6_28.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -273,8 +267,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: %Feed.specific_fn.loc8_43.1: = specific_function %Feed.ref, @Feed(constants.%Eats.facet) [symbolic = %Feed.specific_fn.loc8_43.2 (constants.%Feed.specific_fn)] // CHECK:STDOUT: %Feed.call: init %empty_tuple.type = call %Feed.specific_fn.loc8_43.1(%a.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -460,8 +452,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { @@ -473,8 +463,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Tame { @@ -486,8 +474,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @FeedTame(%V.loc7_14.2: %facet_type.bbb) { @@ -504,8 +490,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: fn(%v.param: @FeedTame.%V.as_type.loc7_39.1 (%V.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -535,8 +519,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: %FeedTame.specific_fn.loc10_3.1: = specific_function %FeedTame.ref, @FeedTame(constants.%facet_value) [symbolic = %FeedTame.specific_fn.loc10_3.2 (constants.%FeedTame.specific_fn)] // CHECK:STDOUT: %FeedTame.call: init %empty_tuple.type = call %FeedTame.specific_fn.loc10_3.1(%w.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -741,8 +723,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { @@ -754,8 +734,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Tame { @@ -767,8 +745,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @A.as_type.as.Eats.impl(%A.loc7_15.1: %Animal.type) { @@ -803,8 +779,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: fn(%v.param: @FeedTame2.%V.as_type.loc9_40.1 (%V.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -837,8 +811,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: %FeedTame2.specific_fn.loc12_3.1: = specific_function %FeedTame2.ref, @FeedTame2(constants.%facet_value) [symbolic = %FeedTame2.specific_fn.loc12_3.2 (constants.%FeedTame2.specific_fn)] // CHECK:STDOUT: %FeedTame2.call: init %empty_tuple.type = call %FeedTame2.specific_fn.loc12_3.1(%w.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1019,8 +991,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @TakesA(%T.loc7_12.2: %A.type) { @@ -1037,8 +1007,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: fn(%x.param: @TakesA.%T.as_type.loc7_27.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1063,8 +1031,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: %TakesA.specific_fn.loc10_3.1: = specific_function %TakesA.ref, @TakesA(constants.%U) [symbolic = %TakesA.specific_fn.loc10_3.2 (constants.%TakesA.specific_fn)] // CHECK:STDOUT: %TakesA.call: init %empty_tuple.type = call %TakesA.specific_fn.loc10_3.1(%y.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1254,8 +1220,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: fn(%x.param: @TakesTypeDeduced.%T.loc3_22.1 (%T.67db0b.1)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1278,8 +1242,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: %TakesTypeDeduced.specific_fn.loc5_3.1: = specific_function %TakesTypeDeduced.ref, @TakesTypeDeduced(constants.%U.as_type) [symbolic = %TakesTypeDeduced.specific_fn.loc5_3.2 (constants.%TakesTypeDeduced.specific_fn)] // CHECK:STDOUT: %TakesTypeDeduced.call: init %empty_tuple.type = call %TakesTypeDeduced.specific_fn.loc5_3.1(%y.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1293,8 +1255,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1315,8 +1275,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: %TakesTypeExplicit.specific_fn.loc10_3.1: = specific_function %TakesTypeExplicit.ref, @TakesTypeExplicit(constants.%U.as_type) [symbolic = %TakesTypeExplicit.specific_fn.loc10_3.2 (constants.%TakesTypeExplicit.specific_fn)] // CHECK:STDOUT: %TakesTypeExplicit.call: init %empty_tuple.type = call %TakesTypeExplicit.specific_fn.loc10_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1521,8 +1479,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: fn(%x.param: @TakesExtraWhereDeduced.%T.as_type.loc3_69.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1549,8 +1505,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: %TakesExtraWhereDeduced.specific_fn.loc5_3.1: = specific_function %TakesExtraWhereDeduced.ref, @TakesExtraWhereDeduced(constants.%facet_value) [symbolic = %TakesExtraWhereDeduced.specific_fn.loc5_3.2 (constants.%TakesExtraWhereDeduced.specific_fn)] // CHECK:STDOUT: %TakesExtraWhereDeduced.call: init %empty_tuple.type = call %TakesExtraWhereDeduced.specific_fn.loc5_3.1(%y.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1564,8 +1518,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1586,8 +1538,6 @@ fn CallsWithTypeExplicit(generic U: type) { // CHECK:STDOUT: %TakesExtraWhereExplicit.specific_fn.loc10_3.1: = specific_function %TakesExtraWhereExplicit.ref, @TakesExtraWhereExplicit(constants.%facet_value) [symbolic = %TakesExtraWhereExplicit.specific_fn.loc10_3.2 (constants.%TakesExtraWhereExplicit.specific_fn)] // CHECK:STDOUT: %TakesExtraWhereExplicit.call: init %empty_tuple.type = call %TakesExtraWhereExplicit.specific_fn.loc10_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/convert_facet_value_value_to_blanket_impl.carbon b/toolchain/check/testdata/facet/convert_facet_value_value_to_blanket_impl.carbon index df19c931dd2e..fcd5ce0a5e8e 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_value_to_blanket_impl.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_value_to_blanket_impl.carbon @@ -143,8 +143,6 @@ fn HandleAnimal[T: Animal](a: T) { Feed(a); } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { @@ -156,8 +154,6 @@ fn HandleAnimal[T: Animal](a: T) { Feed(a); } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @A.as_type.as.Eats.impl(%A.loc18_15.1: %Animal.type) { @@ -192,8 +188,6 @@ fn HandleAnimal[T: Animal](a: T) { Feed(a); } // CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc20_28.1 (%T.as_type.422)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -223,8 +217,6 @@ fn HandleAnimal[T: Animal](a: T) { Feed(a); } // CHECK:STDOUT: %Feed.specific_fn.loc22_36.1: = specific_function %Feed.ref, @Feed(constants.%Eats.facet.934) [symbolic = %Feed.specific_fn.loc22_36.2 (constants.%Feed.specific_fn)] // CHECK:STDOUT: %Feed.call: init %empty_tuple.type = call %Feed.specific_fn.loc22_36.1(%a.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/convert_facet_value_value_to_generic_facet_value_value.carbon b/toolchain/check/testdata/facet/convert_facet_value_value_to_generic_facet_value_value.carbon index d3914b120a55..b1a59cf0c4df 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_value_to_generic_facet_value_value.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_value_to_generic_facet_value_value.carbon @@ -303,8 +303,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { @@ -316,8 +314,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic interface @Eats(%Food.loc21_20.2: type) { @@ -337,8 +333,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -422,8 +416,6 @@ fn F() { // CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc31_48.1 (%T.as_type.b84), %food.param: @Feed.%Food.as_type.loc31_35.1 (%Food.as_type.bca)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -462,8 +454,6 @@ fn F() { // CHECK:STDOUT: %Feed.specific_fn.loc32_62.1: = specific_function %Feed.ref, @Feed(constants.%Food.5f8, constants.%Eats.facet.f11) [symbolic = %Feed.specific_fn.loc32_62.2 (constants.%Feed.specific_fn.292)] // CHECK:STDOUT: %Feed.call: init %empty_tuple.type = call %Feed.specific_fn.loc32_62.1(%a.ref, %food.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -497,8 +487,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.call.loc35_31: init %empty_tuple.type = call constants.%Destroy.Op.bound.a54(constants.%.202) // CHECK:STDOUT: %Destroy.Op.call.loc35_19: init %empty_tuple.type = call constants.%Destroy.Op.bound.115(constants.%.4ea) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_31.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -506,15 +494,11 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc35_31.2(%self.param: ref %Grass) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_19(%self.param: ref %Goat) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Edible.WithSelf(constants.%Self.59b) { diff --git a/toolchain/check/testdata/facet/convert_facet_value_value_to_itself.carbon b/toolchain/check/testdata/facet/convert_facet_value_value_to_itself.carbon index 5f286042dd9b..07db4e8554dd 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_value_to_itself.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_value_to_itself.carbon @@ -142,8 +142,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @Goat.as.Animal.impl: %Goat.ref as %Animal.ref { @@ -177,8 +175,6 @@ fn F() { // CHECK:STDOUT: fn(%a.param: @FeedAnimal.%T.as_type.loc17_36.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -203,8 +199,6 @@ fn F() { // CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_36.1: = specific_function %FeedAnimal.ref, @FeedAnimal(constants.%T) [symbolic = %FeedAnimal.specific_fn.loc19_36.2 (constants.%FeedAnimal.specific_fn.5bd)] // CHECK:STDOUT: %FeedAnimal.call: init %empty_tuple.type = call %FeedAnimal.specific_fn.loc19_36.1(%a.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -226,8 +220,6 @@ fn F() { // CHECK:STDOUT: %HandleAnimal.call: init %empty_tuple.type = call %HandleAnimal.specific_fn(%.loc25_19.3) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.4ea) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc25_19.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -235,8 +227,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc25_19.2(%self.param: ref %Goat) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.f00) { diff --git a/toolchain/check/testdata/facet/convert_interface.carbon b/toolchain/check/testdata/facet/convert_interface.carbon index b6e02913c1b9..80c9c647aa66 100644 --- a/toolchain/check/testdata/facet/convert_interface.carbon +++ b/toolchain/check/testdata/facet/convert_interface.carbon @@ -83,8 +83,6 @@ fn G() { F(Animal); } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { @@ -96,8 +94,6 @@ fn G() { F(Animal); } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @Animal.type.as.Eats.impl: %Animal.ref as %Eats.ref { @@ -112,8 +108,6 @@ fn G() { F(Animal); } // CHECK:STDOUT: fn @F(%e.param: %Eats.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { @@ -124,8 +118,6 @@ fn G() { F(Animal); } // CHECK:STDOUT: %.loc23: %Eats.type = converted %Animal.ref, %Eats.facet [concrete = constants.%Eats.facet] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%.loc23) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.23e) { diff --git a/toolchain/check/testdata/facet/facet_assoc_const.carbon b/toolchain/check/testdata/facet/facet_assoc_const.carbon index a60098a6a996..59007cdac853 100644 --- a/toolchain/check/testdata/facet/facet_assoc_const.carbon +++ b/toolchain/check/testdata/facet/facet_assoc_const.carbon @@ -733,8 +733,6 @@ fn F(unused generic T: I & J where .I1 = .J1.I2) {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/fail_convert_class_type_to_generic_facet_value.carbon b/toolchain/check/testdata/facet/fail_convert_class_type_to_generic_facet_value.carbon index e6c89108cc44..4f3e378e14b8 100644 --- a/toolchain/check/testdata/facet/fail_convert_class_type_to_generic_facet_value.carbon +++ b/toolchain/check/testdata/facet/fail_convert_class_type_to_generic_facet_value.carbon @@ -160,8 +160,6 @@ fn G() { // CHECK:STDOUT: witness = (@Generic.WithSelf.%Generic.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -207,8 +205,6 @@ fn G() { // CHECK:STDOUT: fn @ImplsGeneric.as.Generic.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc27_31.2: type, %U.loc27_55.2: @CallGenericMethod.%Generic.type.loc27_66.1 (%Generic.type.ee14e9.2)) { @@ -224,8 +220,6 @@ fn G() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -235,8 +229,6 @@ fn G() { // CHECK:STDOUT: %WrongGenericParam.ref: type = name_ref WrongGenericParam, file.%WrongGenericParam.decl [concrete = constants.%WrongGenericParam] // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%Scalar) { diff --git a/toolchain/check/testdata/facet/fail_convert_facet_value_to_missing_impl.carbon b/toolchain/check/testdata/facet/fail_convert_facet_value_to_missing_impl.carbon index eb83627ca748..9da26c9230bb 100644 --- a/toolchain/check/testdata/facet/fail_convert_facet_value_to_missing_impl.carbon +++ b/toolchain/check/testdata/facet/fail_convert_facet_value_to_missing_impl.carbon @@ -122,8 +122,6 @@ fn HandleAnimal[T: Animal](a: T) { Feed(a); } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { @@ -135,8 +133,6 @@ fn HandleAnimal[T: Animal](a: T) { Feed(a); } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Feed(%T.loc18_10.2: %Eats.type) { @@ -153,8 +149,6 @@ fn HandleAnimal[T: Animal](a: T) { Feed(a); } // CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc18_28.1 (%T.as_type.422)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -174,8 +168,6 @@ fn HandleAnimal[T: Animal](a: T) { Feed(a); } // CHECK:STDOUT: %Feed.ref: %Feed.type = name_ref Feed, file.%Feed.decl [concrete = constants.%Feed] // CHECK:STDOUT: %a.ref: @HandleAnimal.%T.as_type.loc27_31.1 (%T.as_type.01d) = name_ref a, %a // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/fail_convert_type_erased_type_to_facet.carbon b/toolchain/check/testdata/facet/fail_convert_type_erased_type_to_facet.carbon index f04f6a004ff1..325abac42f9d 100644 --- a/toolchain/check/testdata/facet/fail_convert_type_erased_type_to_facet.carbon +++ b/toolchain/check/testdata/facet/fail_convert_type_erased_type_to_facet.carbon @@ -52,8 +52,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @: .inst{{[0-9A-F]+}}.loc18_6 as .inst{{[0-9A-F]+}}.loc18_14 { @@ -82,8 +80,6 @@ fn F() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/fail_deduction_uses_runtime_type_conversion.carbon b/toolchain/check/testdata/facet/fail_deduction_uses_runtime_type_conversion.carbon index ca70b9a50d2a..b4301020f8bb 100644 --- a/toolchain/check/testdata/facet/fail_deduction_uses_runtime_type_conversion.carbon +++ b/toolchain/check/testdata/facet/fail_deduction_uses_runtime_type_conversion.carbon @@ -261,8 +261,6 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), generic from: RuntimeConvertFrom // CHECK:STDOUT: %.loc24_57.2: init %RuntimeConvertTo to %return.param = class_init () [concrete = constants.%RuntimeConvertTo.val] // CHECK:STDOUT: %.loc24_58: init %RuntimeConvertTo = converted %.loc24_57.1, %.loc24_57.2 [concrete = constants.%RuntimeConvertTo.val] // CHECK:STDOUT: return %.loc24_58 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc27_7.2: %tuple.type, %A.loc27_35.2: @F.%tuple.elem0.loc27_38.1 (%tuple.elem0)) { @@ -283,8 +281,6 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), generic from: RuntimeConvertFrom // CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc27_63.1 (%HoldsType.a83)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -314,8 +310,6 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), generic from: RuntimeConvertFrom // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc40_19.3, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc40_19.3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -324,8 +318,6 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), generic from: RuntimeConvertFrom // CHECK:STDOUT: fn @Destroy.Op.loc40_19.2(%self.param: ref %RuntimeConvertTo) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HoldsType(constants.%T) { diff --git a/toolchain/check/testdata/facet/period_self.carbon b/toolchain/check/testdata/facet/period_self.carbon index ad878db95878..da722a3c94ff 100644 --- a/toolchain/check/testdata/facet/period_self.carbon +++ b/toolchain/check/testdata/facet/period_self.carbon @@ -759,8 +759,6 @@ fn F(generic _: C(Z(.Self))) {} // CHECK:STDOUT: witness = (@I.WithSelf.%I1) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -780,8 +778,6 @@ fn F(generic _: C(Z(.Self))) {} // CHECK:STDOUT: %.loc9_11.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_12: init %empty_tuple.type = converted %.loc9_11.1, %.loc9_11.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc9_12 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -799,8 +795,6 @@ fn F(generic _: C(Z(.Self))) {} // CHECK:STDOUT: %.loc13_11.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc13_12: init %empty_tuple.type = converted %.loc13_11.1, %.loc13_11.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc13_12 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/require_import.carbon b/toolchain/check/testdata/facet/require_import.carbon index 80b5d12ae01b..48b1b68d3701 100644 --- a/toolchain/check/testdata/facet/require_import.carbon +++ b/toolchain/check/testdata/facet/require_import.carbon @@ -165,8 +165,6 @@ fn F(generic B: Y) { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -180,8 +178,6 @@ fn F(generic B: Y) { // CHECK:STDOUT: @Y.WithSelf.Self.as_type.impls.Z.type.require { // CHECK:STDOUT: require imports.%Main.import_ref.4f9 impls imports.%Main.import_ref.5c2 // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @X [from "a.carbon"] { @@ -241,8 +237,6 @@ fn F(generic B: Y) { // CHECK:STDOUT: %specific_impl_fn.loc5_4.1: = specific_impl_function %impl.elem0.loc5_4.1, @Z.WithSelf.F(constants.%A.as_type, constants.%Z.facet) [symbolic = %specific_impl_fn.loc5_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Z.WithSelf.F.call: init %empty_tuple.type = call %specific_impl_fn.loc5_4.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/runtime_value.carbon b/toolchain/check/testdata/facet/runtime_value.carbon index 77feac638962..099f38f0ee42 100644 --- a/toolchain/check/testdata/facet/runtime_value.carbon +++ b/toolchain/check/testdata/facet/runtime_value.carbon @@ -151,8 +151,6 @@ fn F(T: Z) { // CHECK:STDOUT: %a.patt: %pattern_type.6cb = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_facet_copy_narrowing_from_reference.carbon @@ -178,7 +176,5 @@ fn F(T: Z) { // CHECK:STDOUT: %a.patt: %pattern_type.6cb = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/self_in_interface_param.carbon b/toolchain/check/testdata/facet/self_in_interface_param.carbon index 763bdd7d0c1b..ce5db04be81e 100644 --- a/toolchain/check/testdata/facet/self_in_interface_param.carbon +++ b/toolchain/check/testdata/facet/self_in_interface_param.carbon @@ -146,8 +146,6 @@ fn G(generic _: I(.Self) where .I1 = ()) {} // CHECK:STDOUT: %.loc19_11.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc19_12: init %empty_tuple.type = converted %.loc19_11.1, %.loc19_11.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc19_12 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/validate_rewrite_constraints.carbon b/toolchain/check/testdata/facet/validate_rewrite_constraints.carbon index 0aa076d2af9e..ea844447a2fe 100644 --- a/toolchain/check/testdata/facet/validate_rewrite_constraints.carbon +++ b/toolchain/check/testdata/facet/validate_rewrite_constraints.carbon @@ -1418,8 +1418,6 @@ fn G(generic T: N) { // CHECK:STDOUT: %F.specific_fn.loc14_3.1: = specific_function %F.ref, @F(constants.%facet_value) [symbolic = %F.specific_fn.loc14_3.2 (constants.%F.specific_fn)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc14_3.1() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/for/actual.carbon b/toolchain/check/testdata/for/actual.carbon index 165d9ccdd37f..abeee86f4ecf 100644 --- a/toolchain/check/testdata/for/actual.carbon +++ b/toolchain/check/testdata/for/actual.carbon @@ -568,8 +568,6 @@ fn Read(generic y: Core.IntLiteral) { // CHECK:STDOUT: %.loc6_39.6: init @IntRange.Make.%IntRange (%IntRange.2c4) to %return.param = class_init (%.loc6_39.3, %.loc6_39.5) // CHECK:STDOUT: %.loc6_40: init @IntRange.Make.%IntRange (%IntRange.2c4) = converted %.loc6_39.1, %.loc6_39.6 // CHECK:STDOUT: return %.loc6_40 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -613,8 +611,6 @@ fn Read(generic y: Core.IntLiteral) { // CHECK:STDOUT: %bound_method.loc10_52.2: = bound_method %.loc10_52.2, %specific_impl_fn.loc10_52.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_37.1 (%Int.67af24.1) = call %bound_method.loc10_52.2(%.loc10_52.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -800,8 +796,6 @@ fn Read(generic y: Core.IntLiteral) { // CHECK:STDOUT: %bound_method.loc12_7.4: = bound_method %value.var, %specific_impl_fn.loc12_7.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc12_7.2: init %empty_tuple.type = call %bound_method.loc12_7.4(%value.var) // CHECK:STDOUT: return %Optional.None.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -825,8 +819,6 @@ fn Read(generic y: Core.IntLiteral) { // CHECK:STDOUT: %.loc27_28.2: %i32 = converted %int_0, %.loc27_28.1 [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %IntRange.Make.call: init %IntRange.bbd to %.loc26_34.1 = call %IntRange.Make.specific_fn(%.loc27_28.2, %end.ref) // CHECK:STDOUT: return %IntRange.Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange(constants.%N.fe9) { @@ -1156,8 +1148,6 @@ fn Read(generic y: Core.IntLiteral) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1197,22 +1187,16 @@ fn Read(generic y: Core.IntLiteral) { // CHECK:STDOUT: fn @Destroy.Op.loc5_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc5_3.3(%self.param: ref %struct_type.start.end.e93) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc5_3.4(%self.param: ref %IntRange.bbd) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Read(constants.%y) { diff --git a/toolchain/check/testdata/for/basic.carbon b/toolchain/check/testdata/for/basic.carbon index 7fb871d2e920..204378741639 100644 --- a/toolchain/check/testdata/for/basic.carbon +++ b/toolchain/check/testdata/for/basic.carbon @@ -193,8 +193,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.call.loc18_35.3: init %empty_tuple.type = call %Destroy.Op.bound.loc18_35.3(%var) // CHECK:STDOUT: %Destroy.Op.call.loc18_20: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.50e) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_35.1(%self.param: ref %empty_tuple.type) = "no_op"; @@ -204,15 +202,11 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc18_35.3(%self.param: ref %struct_type.has_value.value.da2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_35.4(%self.param: ref %Optional.21a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_20.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -220,7 +214,5 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc18_20.2(%self.param: ref %TrivialRange) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/for/pattern.carbon b/toolchain/check/testdata/for/pattern.carbon index b58eae8f251e..23bc7907b24e 100644 --- a/toolchain/check/testdata/for/pattern.carbon +++ b/toolchain/check/testdata/for/pattern.carbon @@ -272,8 +272,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound.loc10_35: = bound_method %.loc10_35.2, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call.loc10_35: init %empty_tuple.type = call %Destroy.Op.bound.loc10_35(%.loc10_35.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_36.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -281,8 +279,6 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc10_36.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_36.3(%self.param: ref bool) = "no_op"; @@ -290,22 +286,16 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc10_36.4(%self.param: ref %struct_type.has_value.value.9e7) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_36.5(%self.param: ref %Optional.f82) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_35(%self.param: ref %EmptyRange.de0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var.carbon @@ -466,8 +456,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound.loc10_8: = bound_method %c.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc10_8: init %empty_tuple.type = call %Destroy.Op.bound.loc10_8(%c.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_40.1(%self.param: ref bool) = "no_op"; @@ -477,29 +465,21 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc10_40.3(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_40.4(%self.param: ref %struct_type.has_value.value.9e7) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_40.5(%self.param: ref %Optional.f82) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_39(%self.param: ref %EmptyRange.de0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- tuple.carbon @@ -677,8 +657,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound.loc10_60: = bound_method %.loc10_60.2, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call.loc10_60: init %empty_tuple.type = call %Destroy.Op.bound.loc10_60(%.loc10_60.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_61.1(%self.param: ref bool) = "no_op"; @@ -686,22 +664,16 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc10_61.2(%self.param: ref %tuple.type.784) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_61.3(%self.param: ref %struct_type.has_value.value.6f9) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_61.4(%self.param: ref %Optional.8b2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_61.5(%self.param: ref %empty_struct_type) = "no_op"; @@ -709,8 +681,6 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc10_60(%self.param: ref %EmptyRange.012) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- tuple_class.carbon @@ -890,8 +860,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound.loc10_48: = bound_method %.loc10_48.2, constants.%Destroy.Op.1a2547.7 // CHECK:STDOUT: %Destroy.Op.call.loc10_48: init %empty_tuple.type = call %Destroy.Op.bound.loc10_48(%.loc10_48.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_49.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -899,15 +867,11 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc10_49.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_49.3(%self.param: ref %tuple.type.748) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_49.4(%self.param: ref bool) = "no_op"; @@ -915,21 +879,15 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc10_49.5(%self.param: ref %struct_type.has_value.value.9b1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_49.6(%self.param: ref %Optional.8e2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_48(%self.param: ref %EmptyRange.617) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/builtin/adapted_type.carbon b/toolchain/check/testdata/function/builtin/adapted_type.carbon index 7278efaa363c..b3d928da19fc 100644 --- a/toolchain/check/testdata/function/builtin/adapted_type.carbon +++ b/toolchain/check/testdata/function/builtin/adapted_type.carbon @@ -257,8 +257,6 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: %MyAdd.call: init %MyInt32 = call %MyAdd.ref(%.loc23_54.2, %.loc23_87.2) [concrete = constants.%int_3] // CHECK:STDOUT: assign file.%v.var, %MyAdd.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_bad_adapt.carbon diff --git a/toolchain/check/testdata/function/builtin/call.carbon b/toolchain/check/testdata/function/builtin/call.carbon index 99175389d79e..61a673137a8b 100644 --- a/toolchain/check/testdata/function/builtin/call.carbon +++ b/toolchain/check/testdata/function/builtin/call.carbon @@ -203,8 +203,6 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b // CHECK:STDOUT: %Add.call: init %i32 = call %Add.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Add.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -218,7 +216,5 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %array_type to %.loc17_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%arr.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/builtin/call_from_operator.carbon b/toolchain/check/testdata/function/builtin/call_from_operator.carbon index d93198dd4370..40e8397f98a8 100644 --- a/toolchain/check/testdata/function/builtin/call_from_operator.carbon +++ b/toolchain/check/testdata/function/builtin/call_from_operator.carbon @@ -326,8 +326,6 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: witness = (@AddWith.WithSelf.%AddWith.WithSelf.Op.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -373,8 +371,6 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: witness = (@As.WithSelf.%As.WithSelf.Convert.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -421,8 +417,6 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: witness = (@ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1084,8 +1078,6 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: witness = (imports.%Core.Convert.b64) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1104,8 +1096,6 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: witness = (imports.%Core.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1124,8 +1114,6 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: witness = (imports.%Core.Convert.368) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1251,8 +1239,6 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %.loc4_1: init %array_type = converted %.loc4_78.1, %.loc4_78.10 [concrete = constants.%array] // CHECK:STDOUT: assign file.%arr.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @As(constants.%T) { diff --git a/toolchain/check/testdata/function/builtin/fail_redefined.carbon b/toolchain/check/testdata/function/builtin/fail_redefined.carbon index 2480e145179c..0544e0598163 100644 --- a/toolchain/check/testdata/function/builtin/fail_redefined.carbon +++ b/toolchain/check/testdata/function/builtin/fail_redefined.carbon @@ -230,8 +230,6 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %bound_method.loc23_45.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc23_45.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.loc25(%n.param: %i32, %m.param: %i32) -> out %return.param: %i32 { @@ -243,8 +241,6 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %bound_method.loc25_45.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc25_45.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.loc33(%n.param: %i32, %m.param: %i32) -> out %return.param: %i32 = "int.sadd"; diff --git a/toolchain/check/testdata/function/builtin/import.carbon b/toolchain/check/testdata/function/builtin/import.carbon index e0e4f4d422ca..9d4f92657594 100644 --- a/toolchain/check/testdata/function/builtin/import.carbon +++ b/toolchain/check/testdata/function/builtin/import.carbon @@ -284,7 +284,5 @@ var arr: array(i32, Core.AsIntLiteral(Core.TestAdd(Core.AsI32(1), Core.AsI32(2)) // CHECK:STDOUT: %.loc4_1: init %array_type = converted %.loc4_130.1, %.loc4_130.8 [concrete = constants.%array] // CHECK:STDOUT: assign file.%arr.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/builtin/method.carbon b/toolchain/check/testdata/function/builtin/method.carbon index 5821ea8dc12c..7e45dbdbe942 100644 --- a/toolchain/check/testdata/function/builtin/method.carbon +++ b/toolchain/check/testdata/function/builtin/method.carbon @@ -244,8 +244,6 @@ var arr: array(i32, (1 as i32).(I.F)(2)); // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.I.impl: %i32 as %I.ref { @@ -305,8 +303,6 @@ var arr: array(i32, (1 as i32).(I.F)(2)); // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %array_type to %.loc23_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%arr.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) { diff --git a/toolchain/check/testdata/function/call/alias.carbon b/toolchain/check/testdata/function/call/alias.carbon index 3befb1a7e03b..df9bf3829373 100644 --- a/toolchain/check/testdata/function/call/alias.carbon +++ b/toolchain/check/testdata/function/call/alias.carbon @@ -78,8 +78,6 @@ fn Main() { // CHECK:STDOUT: %.loc15_24.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc15_25: init %empty_tuple.type = converted %.loc15_24.1, %.loc15_24.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc15_25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -100,8 +98,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/function/call/empty_struct.carbon b/toolchain/check/testdata/function/call/empty_struct.carbon index 1810de44c482..cdbd1bb57994 100644 --- a/toolchain/check/testdata/function/call/empty_struct.carbon +++ b/toolchain/check/testdata/function/call/empty_struct.carbon @@ -69,8 +69,6 @@ fn Main() { // CHECK:STDOUT: %.loc16_10: init %empty_struct_type = struct_init () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc16_11: init %empty_struct_type = converted %a.ref, %.loc16_10 [concrete = constants.%empty_struct] // CHECK:STDOUT: return %.loc16_11 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -81,7 +79,5 @@ fn Main() { // CHECK:STDOUT: %.loc20_9.2: %empty_struct_type = converted %.loc20_9.1, %empty_struct [concrete = constants.%empty_struct] // CHECK:STDOUT: %Echo.call: init %empty_struct_type = call %Echo.ref(%.loc20_9.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/empty_tuple.carbon b/toolchain/check/testdata/function/call/empty_tuple.carbon index 8e8c359c8ca9..73967d33e602 100644 --- a/toolchain/check/testdata/function/call/empty_tuple.carbon +++ b/toolchain/check/testdata/function/call/empty_tuple.carbon @@ -69,8 +69,6 @@ fn Main() { // CHECK:STDOUT: %.loc16_10: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc16_11: init %empty_tuple.type = converted %a.ref, %.loc16_10 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc16_11 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -81,7 +79,5 @@ fn Main() { // CHECK:STDOUT: %.loc20_9.2: %empty_tuple.type = converted %.loc20_9.1, %empty_tuple [concrete = constants.%empty_tuple] // CHECK:STDOUT: %Echo.call: init %empty_tuple.type = call %Echo.ref(%.loc20_9.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/fail_param_count.carbon b/toolchain/check/testdata/function/call/fail_param_count.carbon index dad225fbcf7e..41a8a93690ad 100644 --- a/toolchain/check/testdata/function/call/fail_param_count.carbon +++ b/toolchain/check/testdata/function/call/fail_param_count.carbon @@ -140,22 +140,16 @@ fn Main() { // CHECK:STDOUT: fn @Run0() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run1(%a.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run2(%a.param: %i32, %b.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -173,7 +167,5 @@ fn Main() { // CHECK:STDOUT: %Run2.ref.loc69: %Run2.type = name_ref Run2, file.%Run2.decl [concrete = constants.%Run2] // CHECK:STDOUT: %int_0.loc69: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/fail_param_type.carbon b/toolchain/check/testdata/function/call/fail_param_type.carbon index 23089deeee6f..ac247cecaffd 100644 --- a/toolchain/check/testdata/function/call/fail_param_type.carbon +++ b/toolchain/check/testdata/function/call/fail_param_type.carbon @@ -80,8 +80,6 @@ fn F() { // CHECK:STDOUT: fn @G(%a.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -91,7 +89,5 @@ fn F() { // CHECK:STDOUT: %.loc28: %i32 = converted %float, [concrete = ] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/fail_return_type_mismatch.carbon b/toolchain/check/testdata/function/call/fail_return_type_mismatch.carbon index 885abac97191..7615f2d396df 100644 --- a/toolchain/check/testdata/function/call/fail_return_type_mismatch.carbon +++ b/toolchain/check/testdata/function/call/fail_return_type_mismatch.carbon @@ -117,8 +117,6 @@ fn Run() { // CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.dc1 = call %bound_method.loc15_29.2(%float) [concrete = constants.%float.3b9] // CHECK:STDOUT: %.loc15_29: init %f64.dc1 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.3b9] // CHECK:STDOUT: return %.loc15_29 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { @@ -137,8 +135,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc25_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -146,7 +142,5 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc25_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/fail_runtime_implicit_param.carbon b/toolchain/check/testdata/function/call/fail_runtime_implicit_param.carbon index 5226894cd400..b707cf82c5d3 100644 --- a/toolchain/check/testdata/function/call/fail_runtime_implicit_param.carbon +++ b/toolchain/check/testdata/function/call/fail_runtime_implicit_param.carbon @@ -48,7 +48,5 @@ fn Run() { // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/form.carbon b/toolchain/check/testdata/function/call/form.carbon index 4d80a7fa4838..f7c1d784b21f 100644 --- a/toolchain/check/testdata/function/call/form.carbon +++ b/toolchain/check/testdata/function/call/form.carbon @@ -327,8 +327,6 @@ fn G() { // CHECK:STDOUT: %.loc10: %i32 = ref_tag %y.ref // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%y.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var_form_param.carbon @@ -403,8 +401,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc4_7.1(%self.param: ref %i32.builtin) = "no_op"; @@ -412,8 +408,6 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc4_7.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- val_form_param.carbon @@ -480,8 +474,6 @@ fn G() { // CHECK:STDOUT: %.loc9_5.2: %i32 = converted %int_0, %.loc9_5.1 [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%.loc9_5.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- type_component_needs_conversion.carbon @@ -554,8 +546,6 @@ fn G() { // CHECK:STDOUT: %_.patt: %pattern_type.6b6 = ref_binding_pattern _ [concrete = constants.%_.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var_return_form.carbon @@ -607,8 +597,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %_.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%_.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_7.1(%self.param: ref %i32.builtin) = "no_op"; @@ -616,8 +604,6 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc9_7.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- val_return_form.carbon @@ -659,8 +645,6 @@ fn G() { // CHECK:STDOUT: %_.patt: %pattern_type.6b6 = value_binding_pattern _ [concrete = constants.%_.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- form_generic_return.carbon @@ -863,8 +847,6 @@ fn G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %v.ref: @F.%.loc4_33.1 (%.42f) = name_ref v, %v // CHECK:STDOUT: return %v.ref -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -940,8 +922,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %v.var.loc11, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc11: init %empty_tuple.type = call %Destroy.Op.bound.loc11(%v.var.loc11) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.1(%self.param: ref %i32.builtin) = "no_op"; @@ -949,8 +929,6 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%Fm) { diff --git a/toolchain/check/testdata/function/call/i32.carbon b/toolchain/check/testdata/function/call/i32.carbon index 7a4fb17c9ddf..f7ff61abf668 100644 --- a/toolchain/check/testdata/function/call/i32.carbon +++ b/toolchain/check/testdata/function/call/i32.carbon @@ -126,8 +126,6 @@ fn Main() { // CHECK:STDOUT: %bound_method.loc16_10.2: = bound_method %a.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc16_10.2(%a.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -153,8 +151,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -162,7 +158,5 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc20_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/more_param_ir.carbon b/toolchain/check/testdata/function/call/more_param_ir.carbon index c5da977642d8..8a298d831529 100644 --- a/toolchain/check/testdata/function/call/more_param_ir.carbon +++ b/toolchain/check/testdata/function/call/more_param_ir.carbon @@ -115,8 +115,6 @@ fn Main() { // CHECK:STDOUT: fn @Foo(%a.param: %i32, %b.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -160,8 +158,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -169,14 +165,10 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc18_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %tuple.type.a8a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/params_one.carbon b/toolchain/check/testdata/function/call/params_one.carbon index 5273636d74ac..7ea0d866660d 100644 --- a/toolchain/check/testdata/function/call/params_one.carbon +++ b/toolchain/check/testdata/function/call/params_one.carbon @@ -86,8 +86,6 @@ fn Main() { // CHECK:STDOUT: fn @Foo(%a.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -103,7 +101,5 @@ fn Main() { // CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1, %.loc18_7.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %Foo.call: init %empty_tuple.type = call %Foo.ref(%.loc18_7.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/params_one_comma.carbon b/toolchain/check/testdata/function/call/params_one_comma.carbon index 883eb2165c26..53a02c5429e7 100644 --- a/toolchain/check/testdata/function/call/params_one_comma.carbon +++ b/toolchain/check/testdata/function/call/params_one_comma.carbon @@ -87,8 +87,6 @@ fn Main() { // CHECK:STDOUT: fn @Foo(%a.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -114,7 +112,5 @@ fn Main() { // CHECK:STDOUT: %.loc19_7.2: %i32 = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %Foo.call.loc19: init %empty_tuple.type = call %Foo.ref.loc19(%.loc19_7.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/params_two.carbon b/toolchain/check/testdata/function/call/params_two.carbon index 1049f3aa3a5c..c461b1872c44 100644 --- a/toolchain/check/testdata/function/call/params_two.carbon +++ b/toolchain/check/testdata/function/call/params_two.carbon @@ -97,8 +97,6 @@ fn Main() { // CHECK:STDOUT: fn @Foo(%a.param: %i32, %b.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -122,7 +120,5 @@ fn Main() { // CHECK:STDOUT: %.loc18_10.2: %i32 = converted %int_2, %.loc18_10.1 [concrete = constants.%int_2.295] // CHECK:STDOUT: %Foo.call: init %empty_tuple.type = call %Foo.ref(%.loc18_7.2, %.loc18_10.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/params_two_comma.carbon b/toolchain/check/testdata/function/call/params_two_comma.carbon index ace6c82070e1..8360e9de1abe 100644 --- a/toolchain/check/testdata/function/call/params_two_comma.carbon +++ b/toolchain/check/testdata/function/call/params_two_comma.carbon @@ -98,8 +98,6 @@ fn Main() { // CHECK:STDOUT: fn @Foo(%a.param: %i32, %b.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -141,7 +139,5 @@ fn Main() { // CHECK:STDOUT: %.loc19_10.2: %i32 = converted %int_2.loc19, %.loc19_10.1 [concrete = constants.%int_2.295] // CHECK:STDOUT: %Foo.call.loc19: init %empty_tuple.type = call %Foo.ref.loc19(%.loc19_7.2, %.loc19_10.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/params_zero.carbon b/toolchain/check/testdata/function/call/params_zero.carbon index 6f2137a4c960..0431ccb0cba3 100644 --- a/toolchain/check/testdata/function/call/params_zero.carbon +++ b/toolchain/check/testdata/function/call/params_zero.carbon @@ -40,8 +40,6 @@ fn Main() { // CHECK:STDOUT: fn @Foo() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -49,7 +47,5 @@ fn Main() { // CHECK:STDOUT: %Foo.ref: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] // CHECK:STDOUT: %Foo.call: init %empty_tuple.type = call %Foo.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/prefer_unqualified_lookup.carbon b/toolchain/check/testdata/function/call/prefer_unqualified_lookup.carbon index 298104ac0fbf..ae817b1d9b39 100644 --- a/toolchain/check/testdata/function/call/prefer_unqualified_lookup.carbon +++ b/toolchain/check/testdata/function/call/prefer_unqualified_lookup.carbon @@ -185,8 +185,6 @@ fn Class(F: type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_29.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc8_29: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc8_29 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -204,8 +202,6 @@ fn Class(F: type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: %Inner.F.specific_fn.loc13_45.1: = specific_function %F.ref, @Inner.F(constants.%F) [symbolic = %Inner.F.specific_fn.loc13_45.2 (constants.%Inner.F.specific_fn)] // CHECK:STDOUT: %Inner.F.call: init %i32 = call %Inner.F.specific_fn.loc13_45.1() // CHECK:STDOUT: return %Inner.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/ref.carbon b/toolchain/check/testdata/function/call/ref.carbon index ee25d28c320d..777d60753491 100644 --- a/toolchain/check/testdata/function/call/ref.carbon +++ b/toolchain/check/testdata/function/call/ref.carbon @@ -189,8 +189,6 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%y.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -198,8 +196,6 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- class.carbon @@ -281,8 +277,6 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -290,7 +284,5 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/call/return_implicit.carbon b/toolchain/check/testdata/function/call/return_implicit.carbon index f61fcfdf4328..f25f087869ce 100644 --- a/toolchain/check/testdata/function/call/return_implicit.carbon +++ b/toolchain/check/testdata/function/call/return_implicit.carbon @@ -59,8 +59,6 @@ fn Main() { // CHECK:STDOUT: fn @MakeImplicitEmptyTuple() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -81,8 +79,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/function/declaration/export_name.carbon b/toolchain/check/testdata/function/declaration/export_name.carbon index 532df75e0dca..5f82e5fc914f 100644 --- a/toolchain/check/testdata/function/declaration/export_name.carbon +++ b/toolchain/check/testdata/function/declaration/export_name.carbon @@ -121,7 +121,5 @@ var f: () = F(); // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%f.var, %F.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/declaration/extern.carbon b/toolchain/check/testdata/function/declaration/extern.carbon index 6f453a812c8f..30875fcf2d8f 100644 --- a/toolchain/check/testdata/function/declaration/extern.carbon +++ b/toolchain/check/testdata/function/declaration/extern.carbon @@ -143,8 +143,6 @@ extern library "basic" fn F(); // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %F.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_redecl.carbon diff --git a/toolchain/check/testdata/function/declaration/extern_library.carbon b/toolchain/check/testdata/function/declaration/extern_library.carbon index 414ed4bc7789..d6b3fa50b015 100644 --- a/toolchain/check/testdata/function/declaration/extern_library.carbon +++ b/toolchain/check/testdata/function/declaration/extern_library.carbon @@ -357,7 +357,5 @@ extern library "extern_library_owner" fn F() {} // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/declaration/fail_import_incomplete_return.carbon b/toolchain/check/testdata/function/declaration/fail_import_incomplete_return.carbon index 4c72630b6f4f..1acfc0b0112c 100644 --- a/toolchain/check/testdata/function/declaration/fail_import_incomplete_return.carbon +++ b/toolchain/check/testdata/function/declaration/fail_import_incomplete_return.carbon @@ -201,8 +201,6 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: %ReturnDUsed.ref: %ReturnDUsed.type = name_ref ReturnDUsed, file.%ReturnDUsed.decl [concrete = constants.%ReturnDUsed] // CHECK:STDOUT: %ReturnDUsed.call: init = call %ReturnDUsed.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_use_imported.carbon @@ -290,8 +288,6 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %.loc33_17.2, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc33: init %empty_tuple.type = call %Destroy.Op.bound.loc33(%.loc33_17.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ReturnCUnused [from "fail_incomplete_return.carbon"]; @@ -307,7 +303,5 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: fn @Destroy.Op.loc34_15.2(%self.param: ref %D) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/declaration/fail_modifiers.carbon b/toolchain/check/testdata/function/declaration/fail_modifiers.carbon index 88a769be1b4a..9d791592e4b8 100644 --- a/toolchain/check/testdata/function/declaration/fail_modifiers.carbon +++ b/toolchain/check/testdata/function/declaration/fail_modifiers.carbon @@ -138,8 +138,6 @@ extern private fn ExternOrderAndConflict() {} // CHECK:STDOUT: fn @DuplicateVirtual() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TwoAccess(); @@ -147,8 +145,6 @@ extern private fn ExternOrderAndConflict() {} // CHECK:STDOUT: fn @ModifiersConflict() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InvalidModifier(); @@ -156,14 +152,10 @@ extern private fn ExternOrderAndConflict() {} // CHECK:STDOUT: fn @ModifiersConflict2() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: extern fn @ExternOrderAndConflict() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/declaration/fail_redecl.carbon b/toolchain/check/testdata/function/declaration/fail_redecl.carbon index e79776e144c1..3bcda9e11008 100644 --- a/toolchain/check/testdata/function/declaration/fail_redecl.carbon +++ b/toolchain/check/testdata/function/declaration/fail_redecl.carbon @@ -147,21 +147,15 @@ fn E() {} // CHECK:STDOUT: fn @D() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @E.loc55() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @E.loc63() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/declaration/fail_todo_no_params.carbon b/toolchain/check/testdata/function/declaration/fail_todo_no_params.carbon index dfb3e0fbe78d..c0207f0aa65e 100644 --- a/toolchain/check/testdata/function/declaration/fail_todo_no_params.carbon +++ b/toolchain/check/testdata/function/declaration/fail_todo_no_params.carbon @@ -114,8 +114,6 @@ fn A { // CHECK:STDOUT: fn @A { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_return_type.carbon diff --git a/toolchain/check/testdata/function/declaration/implicit_import.carbon b/toolchain/check/testdata/function/declaration/implicit_import.carbon index 2e1c208e3954..b21959eb5d59 100644 --- a/toolchain/check/testdata/function/declaration/implicit_import.carbon +++ b/toolchain/check/testdata/function/declaration/implicit_import.carbon @@ -103,8 +103,6 @@ extern fn A(); // CHECK:STDOUT: fn @A() [from "basic.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extern_api.carbon diff --git a/toolchain/check/testdata/function/declaration/import.carbon b/toolchain/check/testdata/function/declaration/import.carbon index d4a9978bb2d3..ad67c0421a51 100644 --- a/toolchain/check/testdata/function/declaration/import.carbon +++ b/toolchain/check/testdata/function/declaration/import.carbon @@ -663,8 +663,6 @@ import library "extern_api"; // CHECK:STDOUT: %E.call: init %empty_tuple.type = call %E.ref() // CHECK:STDOUT: assign file.%e.var, %E.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_redecl_api.carbon @@ -883,8 +881,6 @@ import library "extern_api"; // CHECK:STDOUT: %E.call: init %empty_tuple.type = call %E.ref() // CHECK:STDOUT: assign file.%e.var, %E.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- redecl_extern_api.carbon @@ -1103,8 +1099,6 @@ import library "extern_api"; // CHECK:STDOUT: %E.call: init %empty_tuple.type = call %E.ref() // CHECK:STDOUT: assign file.%e.var, %E.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_merge.carbon @@ -1298,8 +1292,6 @@ import library "extern_api"; // CHECK:STDOUT: %E.call: init %empty_tuple.type = call %E.ref() // CHECK:STDOUT: assign file.%e.var, %E.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_merge_reverse.carbon @@ -1493,8 +1485,6 @@ import library "extern_api"; // CHECK:STDOUT: %E.call: init %empty_tuple.type = call %E.ref() // CHECK:STDOUT: assign file.%e.var, %E.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unloaded.carbon diff --git a/toolchain/check/testdata/function/declaration/no_definition_in_impl_file.carbon b/toolchain/check/testdata/function/declaration/no_definition_in_impl_file.carbon index 1d268ce31971..056c39a48fac 100644 --- a/toolchain/check/testdata/function/declaration/no_definition_in_impl_file.carbon +++ b/toolchain/check/testdata/function/declaration/no_definition_in_impl_file.carbon @@ -112,8 +112,6 @@ fn D(); // CHECK:STDOUT: fn @A() [from "decl_in_api_definition_in_impl.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_decl_in_api.carbon diff --git a/toolchain/check/testdata/function/declaration/pattern_in_signature.carbon b/toolchain/check/testdata/function/declaration/pattern_in_signature.carbon index 37833ee3286f..5af11e629c1c 100644 --- a/toolchain/check/testdata/function/declaration/pattern_in_signature.carbon +++ b/toolchain/check/testdata/function/declaration/pattern_in_signature.carbon @@ -103,8 +103,6 @@ fn CallF(ab: ({}, {}), c: {}) { // CHECK:STDOUT: fn @F(%a.param: %empty_struct_type, %b.param: %empty_struct_type, %c.param: %empty_struct_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallF(%ab.param: %tuple.type.b6b, %c.param: %empty_struct_type) { @@ -116,7 +114,5 @@ fn CallF(ab: ({}, {}), c: {}) { // CHECK:STDOUT: %tuple.elem1: %empty_struct_type = tuple_access %ab.ref, element1 // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%tuple.elem0, %tuple.elem1, %c.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/declaration/ref.carbon b/toolchain/check/testdata/function/declaration/ref.carbon index 6c6a19a3efaf..3f54c2e386c9 100644 --- a/toolchain/check/testdata/function/declaration/ref.carbon +++ b/toolchain/check/testdata/function/declaration/ref.carbon @@ -80,7 +80,5 @@ fn G() { // CHECK:STDOUT: %x.patt: %pattern_type.6b6 = ref_binding_pattern x [concrete = constants.%x.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/declaration/simple.carbon b/toolchain/check/testdata/function/declaration/simple.carbon index da742ba5e34a..f26d5ae06474 100644 --- a/toolchain/check/testdata/function/declaration/simple.carbon +++ b/toolchain/check/testdata/function/declaration/simple.carbon @@ -42,7 +42,5 @@ fn G() { F(); } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/basics.carbon b/toolchain/check/testdata/function/definition/basics.carbon index ada06f2985d8..2304693b4876 100644 --- a/toolchain/check/testdata/function/definition/basics.carbon +++ b/toolchain/check/testdata/function/definition/basics.carbon @@ -58,7 +58,5 @@ fn F(unused n: C) {} // CHECK:STDOUT: fn @F(%n.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/extern.carbon b/toolchain/check/testdata/function/definition/extern.carbon index d890965bd24b..3fd4c16b2874 100644 --- a/toolchain/check/testdata/function/definition/extern.carbon +++ b/toolchain/check/testdata/function/definition/extern.carbon @@ -132,8 +132,6 @@ extern fn F() {} // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- def_for_extern_decl.carbon @@ -154,8 +152,6 @@ extern fn F() {} // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- split_library.carbon @@ -193,8 +189,6 @@ extern fn F() {} // CHECK:STDOUT: extern fn @F() [from "split_library.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_def_extern_mismatch.carbon @@ -215,8 +209,6 @@ extern fn F() {} // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_def_extern_mismatch_reverse.carbon @@ -237,8 +229,6 @@ extern fn F() {} // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_extern_diag_suppressed.carbon @@ -260,8 +250,6 @@ extern fn F() {} // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_extern_decl_after_def.carbon @@ -282,8 +270,6 @@ extern fn F() {} // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- in_impl.carbon @@ -311,7 +297,5 @@ extern fn F() {} // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/extern_library.carbon b/toolchain/check/testdata/function/definition/extern_library.carbon index 5b612b8e758d..d7e7c8697280 100644 --- a/toolchain/check/testdata/function/definition/extern_library.carbon +++ b/toolchain/check/testdata/function/definition/extern_library.carbon @@ -205,8 +205,6 @@ extern fn ExternDecl(); // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- two_file_extern.carbon @@ -260,8 +258,6 @@ extern fn ExternDecl(); // CHECK:STDOUT: extern fn @F() [from "two_file.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- two_file_impl_mismatch_extern.carbon @@ -315,8 +311,6 @@ extern fn ExternDecl(); // CHECK:STDOUT: extern fn @F() [from "two_file_impl_mismatch.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- no_decl_extern.carbon @@ -424,8 +418,6 @@ extern fn ExternDecl(); // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- in_impl_extern.carbon @@ -469,8 +461,6 @@ extern fn ExternDecl(); // CHECK:STDOUT: extern fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- cross_package_extern.carbon @@ -522,8 +512,6 @@ extern fn ExternDecl(); // CHECK:STDOUT: %Extern.ref: %Extern.type = name_ref Extern, imports.%OtherPackage.Extern [concrete = constants.%Extern] // CHECK:STDOUT: %Extern.call: init %empty_tuple.type = call %Extern.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: extern fn @Extern; diff --git a/toolchain/check/testdata/function/definition/fail_decl_param_mismatch.carbon b/toolchain/check/testdata/function/definition/fail_decl_param_mismatch.carbon index f7c300033de5..29e6a667bf2d 100644 --- a/toolchain/check/testdata/function/definition/fail_decl_param_mismatch.carbon +++ b/toolchain/check/testdata/function/definition/fail_decl_param_mismatch.carbon @@ -214,8 +214,6 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: fn @F.loc23(%x.param: %empty_tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G.loc25(%x.param: %empty_tuple.type); @@ -223,8 +221,6 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: fn @G.loc33() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H.loc35(%x.param: %empty_tuple.type); @@ -232,8 +228,6 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: fn @H.loc40(%x.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @I.loc42(); @@ -244,8 +238,6 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: %.loc50_24.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc50_25: init %empty_tuple.type = converted %.loc50_24.1, %.loc50_24.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc50_25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @J.loc52() -> out %return.param: %empty_tuple.type; @@ -253,8 +245,6 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: fn @J.loc60() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @K.loc62() -> out %return.param: %empty_tuple.type; @@ -265,7 +255,5 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: %.loc70_24.2: init %empty_struct_type = struct_init () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc70_25: init %empty_struct_type = converted %.loc70_24.1, %.loc70_24.2 [concrete = constants.%empty_struct] // CHECK:STDOUT: return %.loc70_25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/fail_redef.carbon b/toolchain/check/testdata/function/definition/fail_redef.carbon index 74a540e18f97..08d1825e46a8 100644 --- a/toolchain/check/testdata/function/definition/fail_redef.carbon +++ b/toolchain/check/testdata/function/definition/fail_redef.carbon @@ -42,14 +42,10 @@ fn F() {} // CHECK:STDOUT: fn @F.loc15() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F.loc23() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/forward_decl.carbon b/toolchain/check/testdata/function/definition/forward_decl.carbon index db96249d93e3..c5221fc056c3 100644 --- a/toolchain/check/testdata/function/definition/forward_decl.carbon +++ b/toolchain/check/testdata/function/definition/forward_decl.carbon @@ -34,7 +34,5 @@ fn Foo() {} // CHECK:STDOUT: fn @Foo() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/implicit_import.carbon b/toolchain/check/testdata/function/definition/implicit_import.carbon index ab4dd24d9460..0b8e34c1145c 100644 --- a/toolchain/check/testdata/function/definition/implicit_import.carbon +++ b/toolchain/check/testdata/function/definition/implicit_import.carbon @@ -160,8 +160,6 @@ fn B() {} // CHECK:STDOUT: fn @A() [from "basic.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extern_api.carbon @@ -199,8 +197,6 @@ fn B() {} // CHECK:STDOUT: extern fn @A() [from "extern_api.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extern_impl.carbon @@ -238,8 +234,6 @@ fn B() {} // CHECK:STDOUT: fn @A() [from "extern_impl.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- redecl_after_def.carbon @@ -259,8 +253,6 @@ fn B() {} // CHECK:STDOUT: fn @A() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_redecl_after_def.impl.carbon @@ -298,8 +290,6 @@ fn B() {} // CHECK:STDOUT: fn @A() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_redef_after_def.impl.carbon @@ -329,8 +319,6 @@ fn B() {} // CHECK:STDOUT: fn @A.loc12() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- def_alias.carbon @@ -381,7 +369,5 @@ fn B() {} // CHECK:STDOUT: fn @B() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/import.carbon b/toolchain/check/testdata/function/definition/import.carbon index 93630a74872c..75dca738276c 100644 --- a/toolchain/check/testdata/function/definition/import.carbon +++ b/toolchain/check/testdata/function/definition/import.carbon @@ -222,8 +222,6 @@ fn D() {} // CHECK:STDOUT: fn @A() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B(%b.param: %i32) -> out %return.param: %i32 { @@ -235,8 +233,6 @@ fn D() {} // CHECK:STDOUT: %bound_method.loc5_30.2: = bound_method %b.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc5_30.2(%b.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C(%c.param: %tuple.type.a8a) -> out %return.param: %struct_type.c { @@ -253,8 +249,6 @@ fn D() {} // CHECK:STDOUT: %.loc6_48.2: init %struct_type.c = struct_init (%Int.as.Copy.impl.Op.call) // CHECK:STDOUT: %.loc6_49: init %struct_type.c = converted %.loc6_48.1, %.loc6_48.2 // CHECK:STDOUT: return %.loc6_49 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @D(); @@ -428,8 +422,6 @@ fn D() {} // CHECK:STDOUT: %C.call: init %struct_type.c = call %C.ref(%.loc8_25.4) // CHECK:STDOUT: assign file.%c.var, %C.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_def_ownership.carbon @@ -487,8 +479,6 @@ fn D() {} // CHECK:STDOUT: fn @A.loc14() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B [from "fns.carbon"]; @@ -521,8 +511,6 @@ fn D() {} // CHECK:STDOUT: extern fn @A() [from "extern.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_mix_extern_decl.carbon @@ -559,7 +547,5 @@ fn D() {} // CHECK:STDOUT: fn @D() [from "fns.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/import_access.carbon b/toolchain/check/testdata/function/definition/import_access.carbon index 1e5eecc2acb9..4c08d8d29484 100644 --- a/toolchain/check/testdata/function/definition/import_access.carbon +++ b/toolchain/check/testdata/function/definition/import_access.carbon @@ -157,8 +157,6 @@ private fn Redecl() {} // CHECK:STDOUT: fn @Def() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forward_with_def.carbon @@ -179,8 +177,6 @@ private fn Redecl() {} // CHECK:STDOUT: fn @ForwardWithDef() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forward.carbon @@ -242,8 +238,6 @@ private fn Redecl() {} // CHECK:STDOUT: %Def.call: init %empty_tuple.type = call %Def.ref() // CHECK:STDOUT: assign file.%f.var, %Def.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_def.carbon @@ -279,8 +273,6 @@ private fn Redecl() {} // CHECK:STDOUT: %Def.ref: = name_ref Def, [concrete = ] // CHECK:STDOUT: assign file.%f.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_def.carbon @@ -324,8 +316,6 @@ private fn Redecl() {} // CHECK:STDOUT: %Def.ref: = name_ref Def, [concrete = ] // CHECK:STDOUT: assign file.%f.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forward_with_def.impl.carbon @@ -371,8 +361,6 @@ private fn Redecl() {} // CHECK:STDOUT: %ForwardWithDef.call: init %empty_tuple.type = call %ForwardWithDef.ref() // CHECK:STDOUT: assign file.%f.var, %ForwardWithDef.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_forward_with_def.carbon @@ -408,8 +396,6 @@ private fn Redecl() {} // CHECK:STDOUT: %ForwardWithDef.ref: = name_ref ForwardWithDef, [concrete = ] // CHECK:STDOUT: assign file.%f.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_forward_with_def.carbon @@ -453,8 +439,6 @@ private fn Redecl() {} // CHECK:STDOUT: %ForwardWithDef.ref: = name_ref ForwardWithDef, [concrete = ] // CHECK:STDOUT: assign file.%f.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forward.impl.carbon @@ -496,8 +480,6 @@ private fn Redecl() {} // CHECK:STDOUT: fn @Forward() [from "forward.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -506,8 +488,6 @@ private fn Redecl() {} // CHECK:STDOUT: %Forward.call: init %empty_tuple.type = call %Forward.ref() // CHECK:STDOUT: assign file.%f.var, %Forward.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_forward.carbon @@ -543,8 +523,6 @@ private fn Redecl() {} // CHECK:STDOUT: %Forward.ref: = name_ref Forward, [concrete = ] // CHECK:STDOUT: assign file.%f.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_forward.carbon @@ -588,8 +566,6 @@ private fn Redecl() {} // CHECK:STDOUT: %Forward.ref: = name_ref Forward, [concrete = ] // CHECK:STDOUT: assign file.%f.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- todo_fail_private_on_redecl.carbon @@ -610,7 +586,5 @@ private fn Redecl() {} // CHECK:STDOUT: fn @Redecl() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/order.carbon b/toolchain/check/testdata/function/definition/order.carbon index e369799b9917..d5a79aca8ca5 100644 --- a/toolchain/check/testdata/function/definition/order.carbon +++ b/toolchain/check/testdata/function/definition/order.carbon @@ -41,21 +41,15 @@ fn Baz() {} // CHECK:STDOUT: fn @Foo() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Bar() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Baz() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/params_one.carbon b/toolchain/check/testdata/function/definition/params_one.carbon index f6413270ba09..ea4d6a8b5482 100644 --- a/toolchain/check/testdata/function/definition/params_one.carbon +++ b/toolchain/check/testdata/function/definition/params_one.carbon @@ -56,7 +56,5 @@ fn Foo(unused a: i32) {} // CHECK:STDOUT: fn @Foo(%a.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/params_one_comma.carbon b/toolchain/check/testdata/function/definition/params_one_comma.carbon index 777809691ad5..0756b54abcb8 100644 --- a/toolchain/check/testdata/function/definition/params_one_comma.carbon +++ b/toolchain/check/testdata/function/definition/params_one_comma.carbon @@ -56,7 +56,5 @@ fn Foo(unused a: i32,) {} // CHECK:STDOUT: fn @Foo(%a.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/params_two.carbon b/toolchain/check/testdata/function/definition/params_two.carbon index 9408ff578eec..f56233fabf08 100644 --- a/toolchain/check/testdata/function/definition/params_two.carbon +++ b/toolchain/check/testdata/function/definition/params_two.carbon @@ -63,7 +63,5 @@ fn Foo(unused a: i32, unused b: i32) {} // CHECK:STDOUT: fn @Foo(%a.param: %i32, %b.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/params_two_comma.carbon b/toolchain/check/testdata/function/definition/params_two_comma.carbon index 1eac145c0037..b053862c91cf 100644 --- a/toolchain/check/testdata/function/definition/params_two_comma.carbon +++ b/toolchain/check/testdata/function/definition/params_two_comma.carbon @@ -63,7 +63,5 @@ fn Foo(unused a: i32, unused b: i32,) {} // CHECK:STDOUT: fn @Foo(%a.param: %i32, %b.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/params_zero.carbon b/toolchain/check/testdata/function/definition/params_zero.carbon index 6c56174f78bd..09f4ff8a8ca5 100644 --- a/toolchain/check/testdata/function/definition/params_zero.carbon +++ b/toolchain/check/testdata/function/definition/params_zero.carbon @@ -31,7 +31,5 @@ fn Foo() {} // CHECK:STDOUT: fn @Foo() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/definition/syntactic_merge.carbon b/toolchain/check/testdata/function/definition/syntactic_merge.carbon index ce7484966937..31e8c814acde 100644 --- a/toolchain/check/testdata/function/definition/syntactic_merge.carbon +++ b/toolchain/check/testdata/function/definition/syntactic_merge.carbon @@ -275,15 +275,11 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo(%a.param.loc8: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Bar(%a.param.loc11: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- spacing.carbon @@ -334,8 +330,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo(%a.param.loc7: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_parens.carbon @@ -390,8 +384,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo.loc14(%a.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_only_implicit_params.carbon @@ -429,8 +421,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo.loc23() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_raw_identifier.carbon @@ -485,8 +475,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo.loc14(%_.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- two_file.carbon @@ -604,15 +592,11 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo(%a.param: %C) [from "two_file.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Bar(%a.param: %C) [from "two_file.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_name_mismatch.carbon @@ -672,8 +656,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo.loc15(%b.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_alias.carbon @@ -731,8 +713,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo.loc15(%a.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_deduced_alias.carbon @@ -807,8 +787,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -882,8 +860,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %.loc8_25.2: init %C to %return.param.loc8 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc8_26: init %C = converted %.loc8_25.1, %.loc8_25.2 [concrete = constants.%C.val] // CHECK:STDOUT: return %.loc8_26 to %return.param.loc8 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- alias_two_file.carbon @@ -974,8 +950,6 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo(%a.param: %C) [from "alias_two_file.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_repeat_const.carbon @@ -1038,7 +1012,5 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: fn @Foo.loc18(%a.param: %const) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/call.carbon b/toolchain/check/testdata/function/generic/call.carbon index 0aeb04c89f14..661fe7809975 100644 --- a/toolchain/check/testdata/function/generic/call.carbon +++ b/toolchain/check/testdata/function/generic/call.carbon @@ -208,8 +208,6 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %.loc5_44.1: ref @Function.%T.as_type.loc5_38.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Function.%T.as_type.loc5_38.1 (%T.as_type) to %.loc5_44.1 = call %bound_method.loc6_10.2(%x.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -231,8 +229,6 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: // CHECK:STDOUT: %Function.call: init @CallGeneric.%T.as_type.loc10_41.1 (%T.as_type) to %.loc10_47.1 = call %Function.specific_fn.loc12_10.1(%x.ref) // CHECK:STDOUT: return %Function.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -261,8 +257,6 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %Function.specific_fn.loc18_10.1: = specific_function %Function.ref, @Function(constants.%Copy.facet.302) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.162)] // CHECK:STDOUT: %Function.call: init @CallGenericPtr.%ptr.loc16_40.1 (%ptr.e8f) = call %Function.specific_fn.loc18_10.1(%x.ref) // CHECK:STDOUT: return %Function.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -281,8 +275,6 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %Function.specific_fn: = specific_function %Function.ref, @Function(constants.%Copy.facet.3f0) [concrete = constants.%Function.specific_fn.710] // CHECK:STDOUT: %Function.call: init %ptr.6b6 = call %Function.specific_fn(%x.ref) // CHECK:STDOUT: return %Function.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Function(constants.%T.f84) { @@ -506,8 +498,6 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %.loc5_36.1: ref @Function.%T.as_type.loc5_30.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Function.%T.as_type.loc5_30.1 (%T.as_type) to %.loc5_36.1 = call %bound_method.loc6_10.2(%x.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -528,8 +518,6 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: // CHECK:STDOUT: %Function.call: init @CallGeneric.%T.as_type.loc10_41.1 (%T.as_type) to %.loc10_47.1 = call %Function.specific_fn.loc12_10.1(%x.ref) // CHECK:STDOUT: return %Function.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -554,8 +542,6 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %Function.specific_fn.loc18_10.1: = specific_function %Function.ref, @Function(constants.%Copy.facet.302) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.162)] // CHECK:STDOUT: %Function.call: init @CallGenericPtr.%ptr.loc16_40.1 (%ptr.e8f) = call %Function.specific_fn.loc18_10.1(%x.ref) // CHECK:STDOUT: return %Function.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -570,8 +556,6 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %Function.specific_fn: = specific_function %Function.ref, @Function(constants.%Copy.facet.3f0) [concrete = constants.%Function.specific_fn.710] // CHECK:STDOUT: %Function.call: init %ptr.6b6 = call %Function.specific_fn(%x.ref) // CHECK:STDOUT: return %Function.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Function(constants.%T.f84) { diff --git a/toolchain/check/testdata/function/generic/call_method_on_generic_facet.carbon b/toolchain/check/testdata/function/generic/call_method_on_generic_facet.carbon index 6ddd77983bfc..e81cd567b0cf 100644 --- a/toolchain/check/testdata/function/generic/call_method_on_generic_facet.carbon +++ b/toolchain/check/testdata/function/generic/call_method_on_generic_facet.carbon @@ -195,8 +195,6 @@ fn G() { // CHECK:STDOUT: witness = (@Generic.WithSelf.%Generic.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -214,8 +212,6 @@ fn G() { // CHECK:STDOUT: witness = (@Other.WithSelf.%Other.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @ImplsGeneric.as.Generic.impl: %ImplsGeneric.ref as %Generic.type { @@ -263,8 +259,6 @@ fn G() { // CHECK:STDOUT: fn @ImplsGeneric.as.Generic.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Other.WithSelf.G(@Other.%Self: %Other.type) { @@ -303,8 +297,6 @@ fn G() { // CHECK:STDOUT: %specific_impl_fn.loc34_4.1: = specific_impl_function %impl.elem0.loc34_4.1, @Generic.WithSelf.F(constants.%T, constants.%U) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Generic.WithSelf.F.call: init %empty_tuple.type = call %specific_impl_fn.loc34_4.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -318,8 +310,6 @@ fn G() { // CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%CallGenericMethod.specific_fn] // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%Scalar) { diff --git a/toolchain/check/testdata/function/generic/deduce.carbon b/toolchain/check/testdata/function/generic/deduce.carbon index fb08efd5edad..687989d8f9bb 100644 --- a/toolchain/check/testdata/function/generic/deduce.carbon +++ b/toolchain/check/testdata/function/generic/deduce.carbon @@ -337,8 +337,6 @@ fn F() { // CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_57.1: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%T) [symbolic = %ExplicitGenericParam.specific_fn.loc4_57.2 (constants.%ExplicitGenericParam.specific_fn.2da)] // CHECK:STDOUT: %ExplicitGenericParam.call: init @ExplicitGenericParam.%ptr.loc4_46.1 (%ptr.e8f) = call %ExplicitGenericParam.specific_fn.loc4_57.1() // CHECK:STDOUT: return %ExplicitGenericParam.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -349,8 +347,6 @@ fn F() { // CHECK:STDOUT: %ExplicitGenericParam.specific_fn: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%i32) [concrete = constants.%ExplicitGenericParam.specific_fn.330] // CHECK:STDOUT: %ExplicitGenericParam.call: init %ptr.d08 = call %ExplicitGenericParam.specific_fn() // CHECK:STDOUT: return %ExplicitGenericParam.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallExplicitGenericParamWithGenericArg(%T.loc10_52.2: type) { @@ -375,8 +371,6 @@ fn F() { // CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc11_10.1: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%struct_type.a) [symbolic = %ExplicitGenericParam.specific_fn.loc11_10.2 (constants.%ExplicitGenericParam.specific_fn.f5a)] // CHECK:STDOUT: %ExplicitGenericParam.call: init @CallExplicitGenericParamWithGenericArg.%ptr.loc10_70.1 (%ptr.88d) = call %ExplicitGenericParam.specific_fn.loc11_10.1() // CHECK:STDOUT: return %ExplicitGenericParam.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -528,8 +522,6 @@ fn F() { // CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_57.1: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%T) [symbolic = %ExplicitGenericParam.specific_fn.loc4_57.2 (constants.%ExplicitGenericParam.specific_fn)] // CHECK:STDOUT: %ExplicitGenericParam.call: init @ExplicitGenericParam.%ptr.loc4_46.1 (%ptr) = call %ExplicitGenericParam.specific_fn.loc4_57.1() // CHECK:STDOUT: return %ExplicitGenericParam.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -548,8 +540,6 @@ fn F() { // CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc7_3.1: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%T) [symbolic = %ExplicitGenericParam.specific_fn.loc7_3.2 (constants.%ExplicitGenericParam.specific_fn)] // CHECK:STDOUT: %ExplicitGenericParam.call: init @CallExplicitGenericParamConst.%ptr (%ptr) = call %ExplicitGenericParam.specific_fn.loc7_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -558,8 +548,6 @@ fn F() { // CHECK:STDOUT: %ExplicitGenericParam.ref: %ExplicitGenericParam.type = name_ref ExplicitGenericParam, file.%ExplicitGenericParam.decl [concrete = constants.%ExplicitGenericParam] // CHECK:STDOUT: %T.ref: type = name_ref T, %T // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ExplicitGenericParam(constants.%T) { @@ -711,8 +699,6 @@ fn F() { // CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.1: = specific_function %ExplicitAndAlsoDeduced.ref, @ExplicitAndAlsoDeduced(constants.%T) [symbolic = %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 (constants.%ExplicitAndAlsoDeduced.specific_fn.c99)] // CHECK:STDOUT: %ExplicitAndAlsoDeduced.call: init @ExplicitAndAlsoDeduced.%ptr.loc6_54.1 (%ptr.e8f) = call %ExplicitAndAlsoDeduced.specific_fn.loc7_10.1(%x.ref) // CHECK:STDOUT: return %ExplicitAndAlsoDeduced.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -730,8 +716,6 @@ fn F() { // CHECK:STDOUT: %ExplicitAndAlsoDeduced.call: init %ptr.d43 = call %ExplicitAndAlsoDeduced.specific_fn(%.loc11_37.6) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.367) // CHECK:STDOUT: return %ExplicitAndAlsoDeduced.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_37.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -739,8 +723,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc11_37.2(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ExplicitAndAlsoDeduced(constants.%T) { @@ -900,8 +882,6 @@ fn F() { // CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_55.1: = specific_function %ImplicitGenericParam.ref, @ImplicitGenericParam(constants.%T) [symbolic = %ImplicitGenericParam.specific_fn.loc4_55.2 (constants.%ImplicitGenericParam.specific_fn.0d7)] // CHECK:STDOUT: %ImplicitGenericParam.call: init @ImplicitGenericParam.%ptr.loc4_44.1 (%ptr.e8f) = call %ImplicitGenericParam.specific_fn.loc4_55.1(%x.ref) // CHECK:STDOUT: return %ImplicitGenericParam.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -912,8 +892,6 @@ fn F() { // CHECK:STDOUT: %ImplicitGenericParam.specific_fn: = specific_function %ImplicitGenericParam.ref, @ImplicitGenericParam(constants.%i32) [concrete = constants.%ImplicitGenericParam.specific_fn.ae4] // CHECK:STDOUT: %ImplicitGenericParam.call: init %ptr.d08 = call %ImplicitGenericParam.specific_fn(%n.ref) // CHECK:STDOUT: return %ImplicitGenericParam.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitGenericParam(constants.%T) { @@ -1063,8 +1041,6 @@ fn F() { // CHECK:STDOUT: fn(%x.param: @TupleParam.%tuple.type (%tuple.type.2d8)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1086,8 +1062,6 @@ fn F() { // CHECK:STDOUT: %.loc7_19.4: %tuple.type.94b = converted %.loc7_19.1, %tuple [concrete = constants.%tuple.946] // CHECK:STDOUT: %TupleParam.call: init %empty_tuple.type = call %TupleParam.specific_fn(%.loc7_19.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TupleParam(constants.%T) { @@ -1219,8 +1193,6 @@ fn F() { // CHECK:STDOUT: fn(%x.param: @StructParam.%struct_type.a.b.loc4_50.1 (%struct_type.a.b.3aa)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1242,8 +1214,6 @@ fn F() { // CHECK:STDOUT: %.loc7_30.4: %struct_type.a.b.f91 = converted %.loc7_30.1, %struct [concrete = constants.%struct.72d] // CHECK:STDOUT: %StructParam.call: init %empty_tuple.type = call %StructParam.specific_fn(%.loc7_30.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @StructParam(constants.%T) { @@ -1346,8 +1316,6 @@ fn F() { // CHECK:STDOUT: fn(%x.param: @BigStructParam.%struct_type.c.d.e.loc4_62.1 (%struct_type.c.d.e)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1358,8 +1326,6 @@ fn F() { // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] // CHECK:STDOUT: %.loc14: %struct_type.c.d = struct_literal (%int_3, %int_4) [concrete = constants.%struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @BigStructParam(constants.%T) { @@ -1450,8 +1416,6 @@ fn F() { // CHECK:STDOUT: fn(%x.param: @SmallStructParam.%struct_type.f.g.loc4_55.1 (%struct_type.f.g)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1463,8 +1427,6 @@ fn F() { // CHECK:STDOUT: %int_7: Core.IntLiteral = int_value 7 [concrete = constants.%int_7] // CHECK:STDOUT: %.loc14: %struct_type.f.g.h = struct_literal (%int_5, %int_6, %int_7) [concrete = constants.%struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @SmallStructParam(constants.%T) { @@ -1554,8 +1516,6 @@ fn F() { // CHECK:STDOUT: fn(%x.param: @WrongNameStructParam.%struct_type.i.different.loc4_67.1 (%struct_type.i.different)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1566,8 +1526,6 @@ fn F() { // CHECK:STDOUT: %int_9: Core.IntLiteral = int_value 9 [concrete = constants.%int_9] // CHECK:STDOUT: %.loc14: %struct_type.i.j = struct_literal (%int_8, %int_9) [concrete = constants.%struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @WrongNameStructParam(constants.%T) { @@ -1657,8 +1615,6 @@ fn F() { // CHECK:STDOUT: fn(%x.param: @WrongOrderStructParam.%struct_type.first.second.loc4_69.1 (%struct_type.first.second)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1669,8 +1625,6 @@ fn F() { // CHECK:STDOUT: %int_10: Core.IntLiteral = int_value 10 [concrete = constants.%int_10] // CHECK:STDOUT: %.loc14: %struct_type.second.first = struct_literal (%int_11, %int_10) [concrete = constants.%struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @WrongOrderStructParam(constants.%T) { @@ -1770,8 +1724,6 @@ fn F() { // CHECK:STDOUT: %ImplicitNotDeducible.ref: %ImplicitNotDeducible.type = name_ref ImplicitNotDeducible, file.%ImplicitNotDeducible.decl [concrete = constants.%ImplicitNotDeducible] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitNotDeducible(constants.%T, constants.%U) { @@ -1878,8 +1830,6 @@ fn F() { // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete = constants.%int_12] // CHECK:STDOUT: %.loc14: %struct_type.x = struct_literal (%int_12) [concrete = constants.%struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitNotDeducible(constants.%T) { @@ -2021,8 +1971,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @EE.as.Z.impl: %EE.ref as %Z.ref { @@ -2125,8 +2073,6 @@ fn F() { // CHECK:STDOUT: %Z.facet.loc15_14: %Z.type = facet_value %CC, (constants.%Z.impl_witness.df9) [concrete = constants.%Z.facet.57d] // CHECK:STDOUT: %.loc15_14: %Z.type = converted %CC, %Z.facet.loc15_14 [concrete = constants.%Z.facet.57d] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/function/generic/deduce_nested_facet_value.carbon b/toolchain/check/testdata/function/generic/deduce_nested_facet_value.carbon index 36c3f289b8d2..776532f36201 100644 --- a/toolchain/check/testdata/function/generic/deduce_nested_facet_value.carbon +++ b/toolchain/check/testdata/function/generic/deduce_nested_facet_value.carbon @@ -166,8 +166,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @W { @@ -179,8 +177,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { @@ -192,8 +188,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @DD.as.Y.impl: %DD.ref as %Y.ref { @@ -269,8 +263,6 @@ fn F() { // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %CC, (constants.%Z.impl_witness.b3a) [concrete = constants.%Z.facet.737] // CHECK:STDOUT: %.loc22_12: %Z.type = converted %CC, %Z.facet [concrete = constants.%Z.facet.737] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.765) { diff --git a/toolchain/check/testdata/function/generic/fail_deduce_imported_function.carbon b/toolchain/check/testdata/function/generic/fail_deduce_imported_function.carbon index 9d6423e92748..eff56c5850db 100644 --- a/toolchain/check/testdata/function/generic/fail_deduce_imported_function.carbon +++ b/toolchain/check/testdata/function/generic/fail_deduce_imported_function.carbon @@ -101,8 +101,6 @@ fn B() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @A(%T.loc4_7.2: %Z.type) { @@ -120,8 +118,6 @@ fn B() { // CHECK:STDOUT: fn(%x.param: @A.%struct_type.a.loc4_28.1 (%struct_type.a)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -216,8 +212,6 @@ fn B() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @A.loc4(%T.loc4_7.2: %Z.type) { @@ -235,8 +229,6 @@ fn B() { // CHECK:STDOUT: fn(%x.param: @A.loc4.%struct_type.a.loc4_32.1 (%struct_type.a)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -250,8 +242,6 @@ fn B() { // CHECK:STDOUT: %.loc24_16: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc24_17: %struct_type.b = struct_literal (%.loc24_16) [concrete = constants.%struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @A.1(imports.%Lib.import_ref.78f: %Z.type) [from "lib.carbon"] { diff --git a/toolchain/check/testdata/function/generic/import_specific.carbon b/toolchain/check/testdata/function/generic/import_specific.carbon index eae99a18871f..f1c5e5ce918b 100644 --- a/toolchain/check/testdata/function/generic/import_specific.carbon +++ b/toolchain/check/testdata/function/generic/import_specific.carbon @@ -90,8 +90,6 @@ fn H() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -109,8 +107,6 @@ fn H() { // CHECK:STDOUT: %F.specific_fn.loc8_3.1: = specific_function %F.ref, @F(constants.%T.67db0b.2) [symbolic = %F.specific_fn.loc8_3.2 (constants.%F.specific_fn)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc8_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -191,8 +187,6 @@ fn H() { // CHECK:STDOUT: %G.specific_fn: = specific_function %G.ref, @G(constants.%C) [concrete = constants.%G.specific_fn] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(imports.%Main.import_ref.b3bc94.1: type) [from "library.carbon"] { diff --git a/toolchain/check/testdata/function/generic/indirect_generic_type.carbon b/toolchain/check/testdata/function/generic/indirect_generic_type.carbon index 9858c13339e0..fb798a5885dc 100644 --- a/toolchain/check/testdata/function/generic/indirect_generic_type.carbon +++ b/toolchain/check/testdata/function/generic/indirect_generic_type.carbon @@ -74,8 +74,6 @@ fn F(generic T: type, p: T**) -> T* { // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %.loc6_10.2, %specific_impl_fn.loc6_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr.loc4_27.1 (%ptr.e8f) = call %bound_method.loc6_10.2(%.loc6_10.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/redeclare.carbon b/toolchain/check/testdata/function/generic/redeclare.carbon index e87f086fa22d..784cda9403c5 100644 --- a/toolchain/check/testdata/function/generic/redeclare.carbon +++ b/toolchain/check/testdata/function/generic/redeclare.carbon @@ -180,8 +180,6 @@ fn F(generic U: type, generic T: type) -> U* { // CHECK:STDOUT: %F.specific_fn.loc7_10.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc7_10.2 (constants.%F.specific_fn)] // CHECK:STDOUT: %F.call: init @F.%ptr.loc4_27.1 (%ptr) = call %F.specific_fn.loc7_10.1() // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -318,8 +316,6 @@ fn F(generic U: type, generic T: type) -> U* { // CHECK:STDOUT: %F.ref: %F.type.eb3ec9.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.7088cc.1] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc13_15.2 [symbolic = %T.loc13_15.1 (constants.%T)] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -470,8 +466,6 @@ fn F(generic U: type, generic T: type) -> U* { // CHECK:STDOUT: %F.ref: %F.type.eb3ec9.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.7088cc.1] // CHECK:STDOUT: %T.ref.loc21: type = name_ref T, %T.loc13_39.2 [symbolic = %T.loc13_39.1 (constants.%T.091)] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -622,8 +616,6 @@ fn F(generic U: type, generic T: type) -> U* { // CHECK:STDOUT: %F.ref: %F.type.eb3ec9.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.7088cc.1] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc13_32.2 [symbolic = %T.loc13_32.1 (constants.%T.091)] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/resolve_used.carbon b/toolchain/check/testdata/function/generic/resolve_used.carbon index 1bad4e6a6e2b..6bdced59e74b 100644 --- a/toolchain/check/testdata/function/generic/resolve_used.carbon +++ b/toolchain/check/testdata/function/generic/resolve_used.carbon @@ -192,8 +192,6 @@ fn CallNegative() { // CHECK:STDOUT: %bound_method.loc9_3.2: = bound_method %v.var, %specific_impl_fn.loc9_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc9_3.2(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -204,15 +202,11 @@ fn CallNegative() { // CHECK:STDOUT: %ErrorIfNIsZero.specific_fn: = specific_function %ErrorIfNIsZero.ref, @ErrorIfNIsZero(constants.%int_0) [concrete = constants.%ErrorIfNIsZero.specific_fn] // CHECK:STDOUT: %ErrorIfNIsZero.call: init %empty_tuple.type = call %ErrorIfNIsZero.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %i0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ErrorIfNIsZero(constants.%N) { diff --git a/toolchain/check/testdata/function/generic/return_slot.carbon b/toolchain/check/testdata/function/generic/return_slot.carbon index 30ed8636ec6a..45f7a8bf03e5 100644 --- a/toolchain/check/testdata/function/generic/return_slot.carbon +++ b/toolchain/check/testdata/function/generic/return_slot.carbon @@ -192,8 +192,6 @@ fn G() { // CHECK:STDOUT: %.loc16_16.1: ref @Wrap.Make.%T (%T) = splice_block %return.param {} // CHECK:STDOUT: %Wrap.Make.call: init @Wrap.Make.%T (%T) to %.loc16_16.1 = call %Wrap.Make.specific_fn.loc16_27.1() // CHECK:STDOUT: return %Wrap.Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -256,8 +254,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc22: init %empty_tuple.type = call %Destroy.Op.bound.loc22(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -265,29 +261,21 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.4(%self.param: ref %struct_type.arr.fdc) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.5(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/function/generic/template_param.carbon b/toolchain/check/testdata/function/generic/template_param.carbon index 991e4d572ac7..3246c304b10d 100644 --- a/toolchain/check/testdata/function/generic/template_param.carbon +++ b/toolchain/check/testdata/function/generic/template_param.carbon @@ -67,8 +67,6 @@ fn G() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -80,8 +78,6 @@ fn G() { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%empty_struct_type) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { diff --git a/toolchain/check/testdata/function/generic/type_param.carbon b/toolchain/check/testdata/function/generic/type_param.carbon index c91e9a729617..2b45c0c3023d 100644 --- a/toolchain/check/testdata/function/generic/type_param.carbon +++ b/toolchain/check/testdata/function/generic/type_param.carbon @@ -148,8 +148,6 @@ fn F(generic T: type) { // CHECK:STDOUT: %bound_method.loc16_3.2: = bound_method %p.var, %specific_impl_fn.loc16_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc16_3.2(%p.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/type_param_scope.carbon b/toolchain/check/testdata/function/generic/type_param_scope.carbon index 983a003dbd7d..90de9ab2c81e 100644 --- a/toolchain/check/testdata/function/generic/type_param_scope.carbon +++ b/toolchain/check/testdata/function/generic/type_param_scope.carbon @@ -82,8 +82,6 @@ fn F(generic T: type, n: T*) -> T* { // CHECK:STDOUT: %bound_method.loc7_10.2: = bound_method %m.ref, %specific_impl_fn.loc7_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr.loc4_27.1 (%ptr) = call %bound_method.loc7_10.2(%m.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/call_basic_depth.carbon b/toolchain/check/testdata/generic/call_basic_depth.carbon index a88968257dfd..e4d873b97891 100644 --- a/toolchain/check/testdata/generic/call_basic_depth.carbon +++ b/toolchain/check/testdata/generic/call_basic_depth.carbon @@ -114,8 +114,6 @@ fn M() { // CHECK:STDOUT: fn(%x.param: @F.%T.loc19_7.1 (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -133,8 +131,6 @@ fn M() { // CHECK:STDOUT: %F.specific_fn.loc25_3.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.eab)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc25_3.1(%x.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -158,8 +154,6 @@ fn M() { // CHECK:STDOUT: %F.specific_fn.loc32_3.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc32_3.2 (constants.%F.specific_fn.eab)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc32_3.1(%x.ref.loc32) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -177,8 +171,6 @@ fn M() { // CHECK:STDOUT: %.loc44: %C = acquire_value %n.ref.loc44 // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn(%.loc44) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { diff --git a/toolchain/check/testdata/generic/complete_type.carbon b/toolchain/check/testdata/generic/complete_type.carbon index 0410b1a21d7e..ad449411eba0 100644 --- a/toolchain/check/testdata/generic/complete_type.carbon +++ b/toolchain/check/testdata/generic/complete_type.carbon @@ -189,8 +189,6 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: fn @F(%x.param: %A.d32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A(constants.%T) { @@ -314,8 +312,6 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %v.ref: @F.%ptr.loc6_27.1 (%ptr.e8f) = name_ref v, %v // CHECK:STDOUT: %.loc7: ref @F.%T.loc6_15.1 (%T) = deref %v.ref // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -327,8 +323,6 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%B) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { @@ -457,8 +451,6 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %_.patt.loc7_8.1: @F.%pattern_type.loc7 (%pattern_type.51d) = value_binding_pattern _ [symbolic = %_.patt.loc7_8.2 (constants.%_.patt.ee9)] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -470,8 +462,6 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%B) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { diff --git a/toolchain/check/testdata/generic/dependent_param.carbon b/toolchain/check/testdata/generic/dependent_param.carbon index 1c399ad82173..01e5fca45bea 100644 --- a/toolchain/check/testdata/generic/dependent_param.carbon +++ b/toolchain/check/testdata/generic/dependent_param.carbon @@ -203,8 +203,6 @@ var n: i32 = Outer(i32).Inner(42).Get(); // CHECK:STDOUT: %.loc7_17.1: ref @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) to %.loc7_17.1 = call %bound_method.loc7_28.2(%U.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -234,8 +232,6 @@ var n: i32 = Outer(i32).Inner(42).Get(); // CHECK:STDOUT: %Inner.Get.call: init %i32 = call %Inner.Get.specific_fn() // CHECK:STDOUT: assign file.%n.var, %Inner.Get.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%T.f84) { diff --git a/toolchain/check/testdata/generic/dot_self_symbolic_type.carbon b/toolchain/check/testdata/generic/dot_self_symbolic_type.carbon index f12c8c943802..d10750b24d2b 100644 --- a/toolchain/check/testdata/generic/dot_self_symbolic_type.carbon +++ b/toolchain/check/testdata/generic/dot_self_symbolic_type.carbon @@ -212,8 +212,6 @@ fn H(generic T: type) { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -236,8 +234,6 @@ fn H(generic T: type) { // CHECK:STDOUT: %F.ref: @D.G.%C.F.type (%C.F.type.55fb78.2) = name_ref F, %.loc25 [symbolic = %C.F (constants.%C.F.6da92d.2)] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc16_17.2 [symbolic = %T.loc16_17.1 (constants.%T.091)] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -498,8 +494,6 @@ fn H(generic T: type) { // CHECK:STDOUT: %B.facet.loc21_7.1: @D.G.%B.type.loc21_15.2 (%B.type.4a0be4.2) = facet_value %T.ref, (constants.%B.lookup_impl_witness.fc3) [symbolic = %B.facet.loc21_7.2 (constants.%B.facet.f68)] // CHECK:STDOUT: %.loc21_7.1: @D.G.%B.type.loc21_15.2 (%B.type.4a0be4.2) = converted %T.ref, %B.facet.loc21_7.1 [symbolic = %B.facet.loc21_7.2 (constants.%B.facet.f68)] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/local.carbon b/toolchain/check/testdata/generic/local.carbon index 5093780f066d..4cd9a10758e6 100644 --- a/toolchain/check/testdata/generic/local.carbon +++ b/toolchain/check/testdata/generic/local.carbon @@ -194,8 +194,6 @@ class C(C: type) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -203,22 +201,16 @@ class C(C: type) { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %struct_type.x.a15) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.4(%self.param: ref %C.8eb) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -300,8 +292,6 @@ class C(C: type) { // CHECK:STDOUT: %C.loc13_12.2: type = symbolic_binding C, 0 [symbolic = %C.loc13_12.1 (constants.%C.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%C.67d) { diff --git a/toolchain/check/testdata/generic/local_function.carbon b/toolchain/check/testdata/generic/local_function.carbon index 11449fc3d3ca..5f900f69d09d 100644 --- a/toolchain/check/testdata/generic/local_function.carbon +++ b/toolchain/check/testdata/generic/local_function.carbon @@ -74,8 +74,6 @@ fn Test[unused T: type]() { // CHECK:STDOUT: %Local.specific_fn.loc18_3.1: = specific_function %Local.ref, @Local(constants.%T) [symbolic = %Local.specific_fn.loc18_3.2 (constants.%Local.specific_fn)] // CHECK:STDOUT: %Local.call: init %empty_tuple.type = call %Local.specific_fn.loc18_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -85,8 +83,6 @@ fn Test[unused T: type]() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/template/convert.carbon b/toolchain/check/testdata/generic/template/convert.carbon index b705b25f11a2..ede57a447b7f 100644 --- a/toolchain/check/testdata/generic/template/convert.carbon +++ b/toolchain/check/testdata/generic/template/convert.carbon @@ -293,8 +293,6 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_10.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -305,8 +303,6 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%i32) [concrete = constants.%F.specific_fn.6c3] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%n.ref) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert(%self.param: %C) -> out %return.param: %i32 { @@ -321,8 +317,6 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %bound_method.loc16_42.2: = bound_method %.loc16_42.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc16_42.2(%.loc16_42.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Test2(%c.param: %C) -> out %return.param: %i32 { @@ -332,8 +326,6 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.e0d] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%c.ref) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.67db0b.1) { @@ -524,8 +516,6 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_10.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -536,8 +526,6 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%D) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%d.ref) // CHECK:STDOUT: return %F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.67db0b.1) { diff --git a/toolchain/check/testdata/generic/template/member_access.carbon b/toolchain/check/testdata/generic/template/member_access.carbon index c14fbddf1037..82d941b4be29 100644 --- a/toolchain/check/testdata/generic/template/member_access.carbon +++ b/toolchain/check/testdata/generic/template/member_access.carbon @@ -270,8 +270,6 @@ fn Test(e: E) { // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_10.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -282,8 +280,6 @@ fn Test(e: E) { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.e0d] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%c.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Test2(%x.param: %struct_type.m.n) { @@ -293,8 +289,6 @@ fn Test(e: E) { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%struct_type.m.n) [concrete = constants.%F.specific_fn.4da] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%x.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.67db0b.1) { @@ -487,8 +481,6 @@ fn Test(e: E) { // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_10.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -499,8 +491,6 @@ fn Test(e: E) { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%D) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%d.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.67db0b.1) { @@ -700,8 +690,6 @@ fn Test(e: E) { // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_10.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -712,8 +700,6 @@ fn Test(e: E) { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F.loc4(constants.%E) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%e.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F.loc4(constants.%T.67db0b.1) { diff --git a/toolchain/check/testdata/generic/template/unimplemented.carbon b/toolchain/check/testdata/generic/template/unimplemented.carbon index d5b7b5f974d3..efcbe95dd22b 100644 --- a/toolchain/check/testdata/generic/template/unimplemented.carbon +++ b/toolchain/check/testdata/generic/template/unimplemented.carbon @@ -157,8 +157,6 @@ fn F[template T: Core.Destroy](x: T) { // CHECK:STDOUT: %.loc11_11.2: @F.%.loc11_11.5 (@F.%.loc11_11.5) = splice_inst %.loc11_11.4 // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -257,8 +255,6 @@ fn F[template T: Core.Destroy](x: T) { // CHECK:STDOUT: %.loc16_11.1: @F.%.loc16_11.3 (@F.%.loc16_11.3) = splice_inst %.loc16_11.2 // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -406,8 +402,6 @@ fn F[template T: Core.Destroy](x: T) { // CHECK:STDOUT: %bound_method.loc14_3.2: = bound_method %v.var, %specific_impl_fn.loc14_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc14_3.2(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -416,8 +410,6 @@ fn F[template T: Core.Destroy](x: T) { // CHECK:STDOUT: fn @Destroy.Op.loc22_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.0e7) { diff --git a/toolchain/check/testdata/generic/template_dependence.carbon b/toolchain/check/testdata/generic/template_dependence.carbon index 1e7f982e2df2..8db87ac82250 100644 --- a/toolchain/check/testdata/generic/template_dependence.carbon +++ b/toolchain/check/testdata/generic/template_dependence.carbon @@ -129,8 +129,6 @@ fn F(template T: type, generic U: type) -> (T, U) { // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %.loc6_10.2, %specific_impl_fn.loc6_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr.loc5_28.1 (%ptr.e8f8f9.1) = call %bound_method.loc6_10.2(%.loc6_10.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -223,8 +221,6 @@ fn F(template T: type, generic U: type) -> (T, U) { // CHECK:STDOUT: %.loc5_49.1: ref @F.%tuple.type (%tuple.type.a5e) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%tuple.type (%tuple.type.a5e) to %.loc5_49.1 = call %F.specific_fn.loc6_10.1() // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/var_param.carbon b/toolchain/check/testdata/generic/var_param.carbon index 47bc96e5eda5..ee51a111e9b9 100644 --- a/toolchain/check/testdata/generic/var_param.carbon +++ b/toolchain/check/testdata/generic/var_param.carbon @@ -110,8 +110,6 @@ fn Test(x: i32) { // CHECK:STDOUT: fn(%x.param: ref @TestOp.%T.as_type.loc22_31.1 (%T.as_type.b38)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -135,8 +133,6 @@ fn Test(x: i32) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22_24.1(%self.param: ref %i32.builtin) = "no_op"; @@ -144,8 +140,6 @@ fn Test(x: i32) { // CHECK:STDOUT: fn @Destroy.Op.loc22_24.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestOp(constants.%T.dda) { diff --git a/toolchain/check/testdata/global/basics.carbon b/toolchain/check/testdata/global/basics.carbon index 82267890b245..aeccbed0e110 100644 --- a/toolchain/check/testdata/global/basics.carbon +++ b/toolchain/check/testdata/global/basics.carbon @@ -97,8 +97,6 @@ var a: A = Make(); // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %empty_struct_type = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%a.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- simple_init.carbon @@ -131,8 +129,6 @@ var a: A = Make(); // CHECK:STDOUT: %.loc4_1: init %empty_struct_type = converted %.loc4_14.1, %.loc4_14.2 [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%a.var, %.loc4_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- simple_init_with_fn.carbon @@ -166,8 +162,6 @@ var a: A = Make(); // CHECK:STDOUT: %Make.call: init %empty_struct_type = call %Make.ref() // CHECK:STDOUT: assign file.%a.var, %Make.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- class_init.carbon @@ -199,8 +193,6 @@ var a: A = Make(); // CHECK:STDOUT: %.loc6_1: init %A = converted %.loc6_13.1, %.loc6_13.2 [concrete = constants.%A.val] // CHECK:STDOUT: assign file.%a.var, %.loc6_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- class_init_from_fn.carbon @@ -231,7 +223,5 @@ var a: A = Make(); // CHECK:STDOUT: %Make.call: init %A to %.loc8 = call %Make.ref() // CHECK:STDOUT: assign file.%a.var, %Make.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/if/basics.carbon b/toolchain/check/testdata/if/basics.carbon index 0b75b336e640..b44d8012cc66 100644 --- a/toolchain/check/testdata/if/basics.carbon +++ b/toolchain/check/testdata/if/basics.carbon @@ -154,8 +154,6 @@ fn VarScope(b: bool) -> bool { // CHECK:STDOUT: %H.ref: %H.type = name_ref H, file.%H.decl [concrete = constants.%H] // CHECK:STDOUT: %H.call: init %empty_tuple.type = call %H.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- no_else.carbon @@ -198,8 +196,6 @@ fn VarScope(b: bool) -> bool { // CHECK:STDOUT: %G.ref: %G.type = name_ref G, file.%G.decl [concrete = constants.%G] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unreachable_fallthrough.carbon @@ -266,7 +262,5 @@ fn VarScope(b: bool) -> bool { // CHECK:STDOUT: %bound_method.loc8: = bound_method %true, %impl.elem0.loc8 [concrete = constants.%bool.as.Copy.impl.Op.bound.1b3] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call.loc8: init bool = call %bound_method.loc8(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call.loc8 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/if_expr/basic.carbon b/toolchain/check/testdata/if_expr/basic.carbon index 4029f61e1c0f..faa5da495a45 100644 --- a/toolchain/check/testdata/if_expr/basic.carbon +++ b/toolchain/check/testdata/if_expr/basic.carbon @@ -187,8 +187,6 @@ fn F(b: bool, n: i32, m: i32) -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -196,14 +194,10 @@ fn F(b: bool, n: i32, m: i32) -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc16_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/if_expr/constant_condition.carbon b/toolchain/check/testdata/if_expr/constant_condition.carbon index 3e6ff6a7055c..746f4e0f42f7 100644 --- a/toolchain/check/testdata/if_expr/constant_condition.carbon +++ b/toolchain/check/testdata/if_expr/constant_condition.carbon @@ -223,8 +223,6 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_1) [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0c6] // CHECK:STDOUT: return %.loc15_25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B() -> out %return.param: %i32 { @@ -237,8 +235,6 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_25.2(%int_2) [concrete = constants.%int_2.295] // CHECK:STDOUT: %.loc16_25: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.295] // CHECK:STDOUT: return %.loc16_25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { @@ -268,8 +264,6 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: %bound_method.loc19_10.2: = bound_method %.loc19_10, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc19_10.2(%.loc19_10) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { @@ -299,8 +293,6 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: %bound_method.loc23_10.2: = bound_method %.loc23_10, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc23_10.2(%.loc23_10) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Constant() -> out %return.param: %i32 { @@ -387,8 +379,6 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: %Destroy.Op.bound.loc27: = bound_method %v.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc27: init %empty_tuple.type = call %Destroy.Op.bound.loc27(%v.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc28(%self.param: ref %ptr.d08) = "no_op"; @@ -398,8 +388,6 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc27_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PartiallyConstant(%t.param: type) -> out %return.param: %i32 { @@ -485,7 +473,5 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %v.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc33: init %empty_tuple.type = call %Destroy.Op.bound.loc33(%v.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/if_expr/control_flow.carbon b/toolchain/check/testdata/if_expr/control_flow.carbon index 00e480e697fe..a06b92725789 100644 --- a/toolchain/check/testdata/if_expr/control_flow.carbon +++ b/toolchain/check/testdata/if_expr/control_flow.carbon @@ -144,8 +144,6 @@ fn F(b: bool) -> i32 { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_1) [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0c6] // CHECK:STDOUT: return %.loc15_25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B() -> out %return.param: %i32 { @@ -158,8 +156,6 @@ fn F(b: bool) -> i32 { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_25.2(%int_2) [concrete = constants.%int_2.295] // CHECK:STDOUT: %.loc16_25: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.295] // CHECK:STDOUT: return %.loc16_25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%b.param: bool) -> out %return.param: %i32 { @@ -189,7 +185,5 @@ fn F(b: bool) -> i32 { // CHECK:STDOUT: %bound_method.loc19_10.2: = bound_method %.loc19_10, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc19_10.2(%.loc19_10) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/if_expr/fail_partial_constant.carbon b/toolchain/check/testdata/if_expr/fail_partial_constant.carbon index 40dae0b2cd90..f96f6335035d 100644 --- a/toolchain/check/testdata/if_expr/fail_partial_constant.carbon +++ b/toolchain/check/testdata/if_expr/fail_partial_constant.carbon @@ -119,8 +119,6 @@ fn ChosenBranchIsNonConstant(t: type) { // CHECK:STDOUT: %v.var_patt: = var_pattern %v.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_non_constant_result.carbon @@ -225,7 +223,5 @@ fn ChosenBranchIsNonConstant(t: type) { // CHECK:STDOUT: %w.var_patt: = var_pattern %w.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/if_expr/nested.carbon b/toolchain/check/testdata/if_expr/nested.carbon index ebb04864bfc8..d7038c282672 100644 --- a/toolchain/check/testdata/if_expr/nested.carbon +++ b/toolchain/check/testdata/if_expr/nested.carbon @@ -202,7 +202,5 @@ fn F(a: bool, b: bool, c: bool) -> i32 { // CHECK:STDOUT: %bound_method.loc16_10.2: = bound_method %.loc16_10, %specific_fn.loc16_10 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc16_10.2(%.loc16_10) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/if_expr/struct.carbon b/toolchain/check/testdata/if_expr/struct.carbon index 027b105dc6a5..4545a8c1a897 100644 --- a/toolchain/check/testdata/if_expr/struct.carbon +++ b/toolchain/check/testdata/if_expr/struct.carbon @@ -183,8 +183,6 @@ fn F(cond: bool) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -192,14 +190,10 @@ fn F(cond: bool) { // CHECK:STDOUT: fn @Destroy.Op.loc18_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %struct_type.a.b.b4c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/assoc_const_self.carbon b/toolchain/check/testdata/impl/assoc_const_self.carbon index 8750d0c84e71..731439aba7d6 100644 --- a/toolchain/check/testdata/impl/assoc_const_self.carbon +++ b/toolchain/check/testdata/impl/assoc_const_self.carbon @@ -229,8 +229,6 @@ fn CallF() { // CHECK:STDOUT: witness = (@I.WithSelf.%V) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as.I.impl: %.loc8_7.2 as %.loc8_14 { @@ -377,8 +375,6 @@ fn CallF() { // CHECK:STDOUT: witness = (@I.WithSelf.%V) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as.I.impl: %.loc15_7.2 as %.loc15_14.1 { @@ -527,8 +523,6 @@ fn CallF() { // CHECK:STDOUT: witness = (@I.WithSelf.%V) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.ImplicitAs.impl: %.loc10_7.2 as %ImplicitAs.type { @@ -590,8 +584,6 @@ fn CallF() { // CHECK:STDOUT: %.loc11_46.2: init %C to %return.param = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc11_47: init %C = converted %.loc11_46.1, %.loc11_46.2 [concrete = constants.%C.val] // CHECK:STDOUT: return %.loc11_47 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) { @@ -737,8 +729,6 @@ fn CallF() { // CHECK:STDOUT: witness = (@I.WithSelf.%V) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -884,8 +874,6 @@ fn CallF() { // CHECK:STDOUT: witness = (@I.WithSelf.%V) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc8_15.2: %I_where.type.14de72.1) { @@ -901,8 +889,6 @@ fn CallF() { // CHECK:STDOUT: %.loc19: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %I_where.type: type = facet_type <@I where constants.%empty_struct_type impls @ImplicitAs, @ImplicitAs(constants.%empty_struct_type) and constants.%impl.elem0.e15 = constants.%empty_struct> [concrete = constants.%I_where.type.14de72.2] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) { diff --git a/toolchain/check/testdata/impl/basic.carbon b/toolchain/check/testdata/impl/basic.carbon index 7af660062a77..fdc6f6941dd4 100644 --- a/toolchain/check/testdata/impl/basic.carbon +++ b/toolchain/check/testdata/impl/basic.carbon @@ -141,7 +141,5 @@ final impl C(invalid) as I {} // CHECK:STDOUT: fn @C.as.Simple.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/compound.carbon b/toolchain/check/testdata/impl/compound.carbon index 6b02cbecd750..5d3312ae2e90 100644 --- a/toolchain/check/testdata/impl/compound.carbon +++ b/toolchain/check/testdata/impl/compound.carbon @@ -204,8 +204,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: witness = (@ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -298,8 +296,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: witness = (@NonInstance1.WithSelf.%NonInstance1.WithSelf.F1.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @struct_type.a.as.NonInstance1.impl: %struct_type.a as %NonInstance1.ref { @@ -320,8 +316,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: fn @struct_type.a.as.NonInstance1.impl.F1() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NonInstanceCall1() { @@ -336,8 +330,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: %impl.elem0: %.735 = impl_witness_access constants.%NonInstance1.impl_witness, element0 [concrete = constants.%struct_type.a.as.NonInstance1.impl.F1] // CHECK:STDOUT: %struct_type.a.as.NonInstance1.impl.F1.call: init %empty_tuple.type = call %impl.elem0() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance1.WithSelf(constants.%Self) { @@ -466,8 +458,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: witness = (@NonInstance2.WithSelf.%NonInstance2.WithSelf.F2.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic interface @ImplicitAs(imports.%Core.import_ref.b3bc94.3: type) [from "core.carbon"] { @@ -485,8 +475,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: witness = (imports.%Core.Convert) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -508,8 +496,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: fn @struct_type.b.as.NonInstance2.impl.F2() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NonInstanceCall2(%n.param: %struct_type.b) { @@ -519,8 +505,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: %F2.ref: %NonInstance2.assoc_type = name_ref F2, @NonInstance2.WithSelf.%assoc0 [concrete = constants.%assoc0.fab] // CHECK:STDOUT: %.loc21: %NonInstance2.type = converted %n.ref, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.f19eaa.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.3aa)) [from "core.carbon"] { @@ -708,8 +692,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: witness = (@NonInstance3.WithSelf.%NonInstance3.WithSelf.F3.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic interface @ImplicitAs(imports.%Core.import_ref.b3bc94.3: type) [from "core.carbon"] { @@ -727,8 +709,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: witness = (imports.%Core.Convert) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -750,8 +730,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: fn @struct_type.c.as.NonInstance3.impl.F3() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NonInstanceCallIndirect(%p.param: %ptr) { @@ -762,8 +740,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: %.loc21_4.1: ref %struct_type.c = deref %p.ref // CHECK:STDOUT: %.loc21_4.2: %NonInstance3.type = converted %.loc21_4.1, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.f19eaa.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.3aa)) [from "core.carbon"] { @@ -945,8 +921,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: witness = (@Instance1.WithSelf.%Instance1.WithSelf.G1.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @struct_type.d.as.Instance1.impl: %struct_type.d as %Instance1.ref { @@ -980,8 +954,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: fn @struct_type.d.as.Instance1.impl.G1(%self.param: %struct_type.d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InstanceCall(%n.param: %struct_type.d) { @@ -993,8 +965,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: %bound_method: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %struct_type.d.as.Instance1.impl.G1.call: init %empty_tuple.type = call %bound_method(%n.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InstanceCallIndirect(%p.param: %ptr) { @@ -1012,8 +982,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: %.loc16_4.4: %struct_type.d = converted %.loc16_4.1, %struct [concrete = constants.%struct] // CHECK:STDOUT: %struct_type.d.as.Instance1.impl.G1.call: init %empty_tuple.type = call %bound_method(%.loc16_4.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance1.WithSelf(constants.%Self) { @@ -1115,8 +1083,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: witness = (@Instance2.WithSelf.%Instance2.WithSelf.G2.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @struct_type.e.as.Instance2.impl: %struct_type.e as %Instance2.ref { @@ -1150,8 +1116,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: fn @struct_type.e.as.Instance2.impl.G2(%self.param: %struct_type.e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InstanceCallFail() { @@ -1162,8 +1126,6 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Instance2.ref: type = name_ref Instance2, file.%Instance2.decl [concrete = constants.%Instance2.type] // CHECK:STDOUT: %G2.ref: %Instance2.assoc_type = name_ref G2, @Instance2.WithSelf.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance2.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/declaration.carbon b/toolchain/check/testdata/impl/declaration.carbon index 123dd25a4671..814b2024116e 100644 --- a/toolchain/check/testdata/impl/declaration.carbon +++ b/toolchain/check/testdata/impl/declaration.carbon @@ -66,8 +66,6 @@ impl i32 as I {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.I.impl: %i32.loc17 as %I.ref.loc17 { diff --git a/toolchain/check/testdata/impl/empty.carbon b/toolchain/check/testdata/impl/empty.carbon index 5af1f993309e..4775ab433109 100644 --- a/toolchain/check/testdata/impl/empty.carbon +++ b/toolchain/check/testdata/impl/empty.carbon @@ -62,8 +62,6 @@ impl i32 as Empty { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.Empty.impl: %i32 as %Empty.ref { diff --git a/toolchain/check/testdata/impl/error_recovery.carbon b/toolchain/check/testdata/impl/error_recovery.carbon index 00cd88233795..b06c0c1e8b8f 100644 --- a/toolchain/check/testdata/impl/error_recovery.carbon +++ b/toolchain/check/testdata/impl/error_recovery.carbon @@ -209,8 +209,6 @@ impl C as I { // CHECK:STDOUT: %F.specific_fn.loc19_3.1: = specific_function %F.ref, @F(constants.%Z.facet) [symbolic = %F.specific_fn.loc19_3.2 (constants.%F.specific_fn)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc19_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -271,8 +269,6 @@ impl C as I { // CHECK:STDOUT: %F.specific_fn.loc19_3.1: = specific_function %F.ref, @F(constants.%Z.facet) [symbolic = %F.specific_fn.loc19_3.2 (constants.%F.specific_fn)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc19_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -314,8 +310,6 @@ impl C as I { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%Z.facet) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_invalid_fn_syntax_in_impl.carbon diff --git a/toolchain/check/testdata/impl/extend_impl.carbon b/toolchain/check/testdata/impl/extend_impl.carbon index 8e90fb11e35c..9c8f27605d41 100644 --- a/toolchain/check/testdata/impl/extend_impl.carbon +++ b/toolchain/check/testdata/impl/extend_impl.carbon @@ -152,7 +152,5 @@ extend impl nonexistent* as I {} // CHECK:STDOUT: fn @C.as.HasF.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/extend_impl_generic.carbon b/toolchain/check/testdata/impl/extend_impl_generic.carbon index 33ae768896e9..f0e48ed0a6ee 100644 --- a/toolchain/check/testdata/impl/extend_impl_generic.carbon +++ b/toolchain/check/testdata/impl/extend_impl_generic.carbon @@ -234,8 +234,6 @@ class X(U: type) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -312,8 +310,6 @@ class X(U: type) { // CHECK:STDOUT: %.loc15_21.5: init %Param to %return.param = class_init (%.loc15_21.4) [concrete = constants.%Param.val] // CHECK:STDOUT: %.loc15_22: init %Param = converted %.loc15_21.1, %.loc15_21.5 [concrete = constants.%Param.val] // CHECK:STDOUT: return %.loc15_22 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%c.param: %C) { @@ -363,8 +359,6 @@ class X(U: type) { // CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %.loc21_27.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc21: init %empty_tuple.type = call %Destroy.Op.bound.loc21(%.loc21_27.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22_27.1(%self.param: ref %i32.builtin) = "no_op"; @@ -372,22 +366,16 @@ class X(U: type) { // CHECK:STDOUT: fn @Destroy.Op.loc22_27.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22_27.3(%self.param: ref %struct_type.x.a15) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22_27.4(%self.param: ref %Param) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF(constants.%T.67d) { @@ -584,8 +572,6 @@ class X(U: type) { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -687,8 +673,6 @@ class X(U: type) { // CHECK:STDOUT: fn(%self.param: @X.as.I.impl.F.%X (%X), %t.param: @X.as.I.impl.F.%U (%U)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/fail_alias.carbon b/toolchain/check/testdata/impl/fail_alias.carbon index d8648fe5fe0b..f76b6488d1fb 100644 --- a/toolchain/check/testdata/impl/fail_alias.carbon +++ b/toolchain/check/testdata/impl/fail_alias.carbon @@ -73,8 +73,6 @@ impl AC as AI {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl.e103db.1: %AC.ref as %AI.ref { diff --git a/toolchain/check/testdata/impl/fail_call_invalid.carbon b/toolchain/check/testdata/impl/fail_call_invalid.carbon index 0d7c77017a2c..dbaf6fcafd8a 100644 --- a/toolchain/check/testdata/impl/fail_call_invalid.carbon +++ b/toolchain/check/testdata/impl/fail_call_invalid.carbon @@ -123,8 +123,6 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: witness = (@Simple.WithSelf.%Simple.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.Simple.impl: %i32 as %Simple.ref { @@ -171,8 +169,6 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: %i32.as.Simple.impl.G.bound: = bound_method %self.param, %G.ref // CHECK:STDOUT: %i32.as.Simple.impl.G.call: init %empty_tuple.type = call %i32.as.Simple.impl.G.bound() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InstanceCall(%n.param: %i32) { @@ -186,8 +182,6 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: %i32.as.Simple.impl.G.bound: = bound_method %n.ref, %G.ref.loc28_16 // CHECK:STDOUT: %i32.as.Simple.impl.G.call: init %empty_tuple.type = call %i32.as.Simple.impl.G.bound() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/fail_extend_impl_forall.carbon b/toolchain/check/testdata/impl/fail_extend_impl_forall.carbon index 1520fec6e7ae..e2bf0cd098a2 100644 --- a/toolchain/check/testdata/impl/fail_extend_impl_forall.carbon +++ b/toolchain/check/testdata/impl/fail_extend_impl_forall.carbon @@ -102,8 +102,6 @@ class C { // CHECK:STDOUT: witness = (@GenericInterface.WithSelf.%GenericInterface.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -181,8 +179,6 @@ class C { // CHECK:STDOUT: fn(%x.param: @C.as.GenericInterface.impl.F.%T (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/fail_extend_impl_scope.carbon b/toolchain/check/testdata/impl/fail_extend_impl_scope.carbon index ad2ac96157cc..f6cb2bd1ab68 100644 --- a/toolchain/check/testdata/impl/fail_extend_impl_scope.carbon +++ b/toolchain/check/testdata/impl/fail_extend_impl_scope.carbon @@ -104,8 +104,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc9_14.2 as %I.ref { @@ -158,8 +156,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as.J.impl: %.loc10_16.2 as %J.ref { @@ -179,8 +175,6 @@ fn F() { // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%Self) {} @@ -263,8 +257,6 @@ fn F() { // CHECK:STDOUT: witness = (@Z.WithSelf.%Z.WithSelf.Zero.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @.as.Z.impl(@Z.%Self: %Z.type) { @@ -319,16 +311,12 @@ fn F() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Point.as.Z.impl.Zero() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -344,8 +332,6 @@ fn F() { // CHECK:STDOUT: %Point.as.Z.impl.Zero.call: init %empty_tuple.type = call %impl.elem0() // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e6b) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc25_7.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -353,8 +339,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc25_7.2(%self.param: ref %Point) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.cb6) { diff --git a/toolchain/check/testdata/impl/fail_extend_impl_type_as.carbon b/toolchain/check/testdata/impl/fail_extend_impl_type_as.carbon index 4ec8419309e2..832ffd65b258 100644 --- a/toolchain/check/testdata/impl/fail_extend_impl_type_as.carbon +++ b/toolchain/check/testdata/impl/fail_extend_impl_type_as.carbon @@ -99,8 +99,6 @@ class E { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @.as.I.impl: as %I.ref { diff --git a/toolchain/check/testdata/impl/fail_extend_partially_defined_interface.carbon b/toolchain/check/testdata/impl/fail_extend_partially_defined_interface.carbon index 395a5d9b084e..21c8f7482fe7 100644 --- a/toolchain/check/testdata/impl/fail_extend_partially_defined_interface.carbon +++ b/toolchain/check/testdata/impl/fail_extend_partially_defined_interface.carbon @@ -58,8 +58,6 @@ interface I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(@I.%Self: %I.type) { diff --git a/toolchain/check/testdata/impl/fail_extend_undefined_interface.carbon b/toolchain/check/testdata/impl/fail_extend_undefined_interface.carbon index ba696eff320f..3b2f4e973f14 100644 --- a/toolchain/check/testdata/impl/fail_extend_undefined_interface.carbon +++ b/toolchain/check/testdata/impl/fail_extend_undefined_interface.carbon @@ -88,7 +88,5 @@ fn F(c: C) { // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %F.ref.loc30: = name_ref F, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/fail_impl_as_scope.carbon b/toolchain/check/testdata/impl/fail_impl_as_scope.carbon index f365a108e1c0..898e9c272834 100644 --- a/toolchain/check/testdata/impl/fail_impl_as_scope.carbon +++ b/toolchain/check/testdata/impl/fail_impl_as_scope.carbon @@ -144,8 +144,6 @@ class X { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @.as.I.impl: as %I.ref { @@ -157,8 +155,6 @@ class X { // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -166,8 +162,6 @@ class X { // CHECK:STDOUT: %G.ref: %G.type = name_ref G, file.%G.decl [concrete = constants.%G] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) {} @@ -213,8 +207,6 @@ class X { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @.as.J.impl: as %J.ref { @@ -226,8 +218,6 @@ class X { // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -238,8 +228,6 @@ class X { // CHECK:STDOUT: %G.ref: %G.type = name_ref G, file.%G.decl [concrete = constants.%G] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%Self) {} @@ -351,8 +339,6 @@ class X { // CHECK:STDOUT: witness = (@Z.WithSelf.%Z.WithSelf.Zero.decl, @Z.WithSelf.%Z.WithSelf.Method.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @.as.Z.impl(@Z.%Self: %Z.type) { @@ -439,8 +425,6 @@ class X { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -457,23 +441,17 @@ class X { // CHECK:STDOUT: fn(%self.param: @.as.Z.impl.Method.%Self.as_type.loc13_22.1 (%Self.as_type.0cf)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Point.as.Z.impl.Zero() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Point.as.Z.impl.Method(%self.param: %Point) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -499,8 +477,6 @@ class X { // CHECK:STDOUT: %Point.as.Z.impl.Method.call: init %empty_tuple.type = call %bound_method(%.loc29_7.3) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e6b) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc29_7.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -508,8 +484,6 @@ class X { // CHECK:STDOUT: fn @Destroy.Op.loc29_7.2(%self.param: ref %Point) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.cb6) { @@ -632,8 +606,6 @@ class X { // CHECK:STDOUT: witness = (@A.WithSelf.%A.WithSelf.B.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @C { @@ -645,8 +617,6 @@ class X { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @X.as.A.impl: %Self.ref as %A.ref { @@ -693,8 +663,6 @@ class X { // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @X.as.A.impl.B() { @@ -702,8 +670,6 @@ class X { // CHECK:STDOUT: %G.ref: %G.type = name_ref G, file.%G.decl [concrete = constants.%G] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { diff --git a/toolchain/check/testdata/impl/fail_impl_bad_assoc_const.carbon b/toolchain/check/testdata/impl/fail_impl_bad_assoc_const.carbon index 47169a52988f..d586af7c6395 100644 --- a/toolchain/check/testdata/impl/fail_impl_bad_assoc_const.carbon +++ b/toolchain/check/testdata/impl/fail_impl_bad_assoc_const.carbon @@ -63,8 +63,6 @@ impl () as I {} // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc24_7.2 as %I.ref { diff --git a/toolchain/check/testdata/impl/fail_impl_bad_assoc_fn.carbon b/toolchain/check/testdata/impl/fail_impl_bad_assoc_fn.carbon index eff6ba5a57a3..9b75f0191808 100644 --- a/toolchain/check/testdata/impl/fail_impl_bad_assoc_fn.carbon +++ b/toolchain/check/testdata/impl/fail_impl_bad_assoc_fn.carbon @@ -532,8 +532,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { @@ -568,8 +566,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: witness = (@J.WithSelf.%J.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @SelfNested { @@ -617,8 +613,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: witness = (@SelfNested.WithSelf.%SelfNested.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @NoF.as.I.impl: %Self.ref as %I.ref { @@ -1261,8 +1255,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %FExtraParam.as.I.impl.F.type.ec7b0b.1 = name_ref F, @FExtraParam.as.I.impl.%FExtraParam.as.I.impl.F.decl.loc69_18.1 [concrete = constants.%FExtraParam.as.I.impl.F.ef9801.1] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FExtraImplicitParam.as.I.impl.F.loc85_15.1(%self.param: %FExtraImplicitParam); @@ -1271,8 +1263,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %FExtraImplicitParam.as.I.impl.F.type.54cac2.1 = name_ref F, @FExtraImplicitParam.as.I.impl.%FExtraImplicitParam.as.I.impl.F.decl.loc85_15.1 [concrete = constants.%FExtraImplicitParam.as.I.impl.F.a42f35.1] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FExtraReturnType.as.I.impl.F() -> out %return.param: bool; @@ -1288,8 +1278,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %F.ref: %FMissingParam.as.J.impl.F.type.aad6ec.1 = name_ref F, @FMissingParam.as.J.impl.%FMissingParam.as.J.impl.F.decl.loc117_29.1 [concrete = constants.%FMissingParam.as.J.impl.F.dd09dc.1] // CHECK:STDOUT: %FMissingParam.as.J.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FMissingImplicitParam.as.J.impl.F.loc130_26.1(%b.param: bool) -> out %return.param: bool; @@ -1299,8 +1287,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %F.ref: %FMissingImplicitParam.as.J.impl.F.type.f666a8.1 = name_ref F, @FMissingImplicitParam.as.J.impl.%FMissingImplicitParam.as.J.impl.F.decl.loc130_26.1 [concrete = constants.%FMissingImplicitParam.as.J.impl.F.620ed1.1] // CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.call: init bool = call %F.ref(%b.param) // CHECK:STDOUT: return %FMissingImplicitParam.as.J.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FMissingReturnType.as.J.impl.F.loc148_30.1(%self.param: bool, %b.param: bool); @@ -1312,8 +1298,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.call: init %empty_tuple.type = call %FMissingReturnType.as.J.impl.F.bound(%self.param, %b.param) // CHECK:STDOUT: %.loc148: bool = converted %FMissingReturnType.as.J.impl.F.call, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FDifferentParamType.as.J.impl.F.loc163_38.1(%self.param: bool, %b.param: %FDifferentParamType) -> out %return.param: bool; @@ -1328,8 +1312,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %.5: %FDifferentParamType = converted %b.param, [concrete = ] // CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.call: init bool = call %FDifferentParamType.as.J.impl.F.bound(%self.param, ) // CHECK:STDOUT: return %FDifferentParamType.as.J.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FDifferentImplicitParamType.as.J.impl.F.loc176_32.1(%self.param: %FDifferentImplicitParamType, %b.param: bool) -> out %return.param: bool; @@ -1344,8 +1326,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %.5: %FDifferentImplicitParamType = converted %self.param, [concrete = ] // CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.call: init bool = call %FDifferentImplicitParamType.as.J.impl.F.bound(, %b.param) // CHECK:STDOUT: return %FDifferentImplicitParamType.as.J.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FDifferentReturnType.as.J.impl.F.loc194_38.1(%self.param: bool, %b.param: bool) -> out %return.param: %FDifferentReturnType; @@ -1358,8 +1338,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.call: init %FDifferentReturnType to %.loc194_38.1 = call %FDifferentReturnType.as.J.impl.F.bound(%self.param, %b.param) // CHECK:STDOUT: %.loc194_38.2: bool = converted %FDifferentReturnType.as.J.impl.F.call, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @SelfNested.WithSelf.F(@SelfNested.%Self: %SelfNested.type) { @@ -1396,8 +1374,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %.6: %i32 = converted %.4, [concrete = ] // CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.call: init %array_type.291 to %.3 = call %F.ref() // CHECK:STDOUT: return %SelfNestedBadParam.as.SelfNested.impl.F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @SelfNestedBadReturnType.as.SelfNested.impl.F.loc227_112.1(%x.param: %tuple.type.829) -> out %return.param: %array_type.291; @@ -1409,8 +1385,6 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.call: init %array_type.291 to %.loc227_112.1 = call %F.ref(%x.param) // CHECK:STDOUT: %.loc227_112.2: %array_type.a08 = converted %SelfNestedBadReturnType.as.SelfNested.impl.F.call, [concrete = ] // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) { diff --git a/toolchain/check/testdata/impl/fail_impl_bad_interface.carbon b/toolchain/check/testdata/impl/fail_impl_bad_interface.carbon index e56bbdf82b0f..9f100ad7a68e 100644 --- a/toolchain/check/testdata/impl/fail_impl_bad_interface.carbon +++ b/toolchain/check/testdata/impl/fail_impl_bad_interface.carbon @@ -244,8 +244,6 @@ impl {.a: bool} as type where .Self impls I {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @struct_type.a.as..impl: %struct_type.a as { diff --git a/toolchain/check/testdata/impl/fail_impl_bad_type.carbon b/toolchain/check/testdata/impl/fail_impl_bad_type.carbon index 80766bc806a6..e3e561e35484 100644 --- a/toolchain/check/testdata/impl/fail_impl_bad_type.carbon +++ b/toolchain/check/testdata/impl/fail_impl_bad_type.carbon @@ -65,8 +65,6 @@ impl true as I {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @.as.I.impl: as %I.ref { diff --git a/toolchain/check/testdata/impl/fail_redefinition.carbon b/toolchain/check/testdata/impl/fail_redefinition.carbon index f7669a540cfa..6f34d01d5cbc 100644 --- a/toolchain/check/testdata/impl/fail_redefinition.carbon +++ b/toolchain/check/testdata/impl/fail_redefinition.carbon @@ -73,8 +73,6 @@ impl i32 as I {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.I.impl.6a2a49.1: %i32 as %I.ref { diff --git a/toolchain/check/testdata/impl/fail_self_type_mismatch.carbon b/toolchain/check/testdata/impl/fail_self_type_mismatch.carbon index cb38d2eb5af8..155e3914d363 100644 --- a/toolchain/check/testdata/impl/fail_self_type_mismatch.carbon +++ b/toolchain/check/testdata/impl/fail_self_type_mismatch.carbon @@ -190,8 +190,6 @@ impl i32 as I { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @bool.as.I.impl: %.loc24 as %I.ref { @@ -292,8 +290,6 @@ impl i32 as I { // CHECK:STDOUT: %.3: %C.8dc = converted %c.param, [concrete = ] // CHECK:STDOUT: %i32.as.I.impl.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T, constants.%X) { diff --git a/toolchain/check/testdata/impl/forward_decls.carbon b/toolchain/check/testdata/impl/forward_decls.carbon index 7f2e94dcc433..676362eb5ce9 100644 --- a/toolchain/check/testdata/impl/forward_decls.carbon +++ b/toolchain/check/testdata/impl/forward_decls.carbon @@ -277,8 +277,6 @@ impl C as Y {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as.I.impl: %.loc4_7.2 as %I.ref.loc4 { @@ -358,8 +356,6 @@ impl C as Y {} // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as.I.impl: %.loc4_7.2 as %I.ref.loc4 { @@ -380,8 +376,6 @@ impl C as Y {} // CHECK:STDOUT: fn @empty_struct_type.as.I.impl.G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { @@ -475,8 +469,6 @@ impl C as Y {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as.I.impl: %.loc4_7.2 as file.%.loc4_14.2 { @@ -592,8 +584,6 @@ impl C as Y {} // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as.I.impl: %.loc6_7.2 as %.loc6_14 { @@ -732,8 +722,6 @@ impl C as Y {} // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref.loc7 as %.loc7_13 { @@ -758,8 +746,6 @@ impl C as Y {} // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc9: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { @@ -890,8 +876,6 @@ impl C as Y {} // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref.loc7 as %.loc7_13 { @@ -916,8 +900,6 @@ impl C as Y {} // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc9: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { @@ -1004,8 +986,6 @@ impl C as Y {} // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref.loc7 as %I.ref.loc7 { @@ -1029,8 +1009,6 @@ impl C as Y {} // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc13: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { @@ -1118,8 +1096,6 @@ impl C as Y {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @D.as..impl: %D.ref.loc13 as { @@ -1282,8 +1258,6 @@ impl C as Y {} // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1460,8 +1434,6 @@ impl C as Y {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @D.as.I.impl: %D.ref.loc5 as %I.ref.loc5 { @@ -1499,8 +1471,6 @@ impl C as Y {} // CHECK:STDOUT: fn @F(%x.param.loc14: %C.fd5) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -1589,8 +1559,6 @@ impl C as Y {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { @@ -1602,8 +1570,6 @@ impl C as Y {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as..impl: %.loc10_7.2 as ; @@ -1714,8 +1680,6 @@ impl C as Y {} // CHECK:STDOUT: witness = (@I.WithSelf.%T, @I.WithSelf.%U) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref.loc9 as %.loc9_13 { @@ -1903,8 +1867,6 @@ impl C as Y {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Y { @@ -1916,8 +1878,6 @@ impl C as Y {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.X.impl: %C.ref.loc12 as %X.ref.loc12 { @@ -1955,8 +1915,6 @@ impl C as Y {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1974,8 +1932,6 @@ impl C as Y {} // CHECK:STDOUT: fn(%u.param.loc35: @G.%U.as_type.loc7_15.1 (%U.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1996,8 +1952,6 @@ impl C as Y {} // CHECK:STDOUT: %G.specific_fn: = specific_function %G.ref, @G(constants.%X.facet) [concrete = constants.%G.specific_fn] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn(%c.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%_) { diff --git a/toolchain/check/testdata/impl/generic_redeclaration.carbon b/toolchain/check/testdata/impl/generic_redeclaration.carbon index 5b3d4913023c..afb2a8c38570 100644 --- a/toolchain/check/testdata/impl/generic_redeclaration.carbon +++ b/toolchain/check/testdata/impl/generic_redeclaration.carbon @@ -296,8 +296,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { @@ -309,8 +307,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { @@ -322,8 +318,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @K { @@ -335,8 +329,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @L { @@ -348,8 +340,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.72f(%T.loc12_15.1: %I.type) { @@ -558,8 +548,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { @@ -571,8 +559,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as_type.as.J.impl.377648.1(%T.loc7_15.1: %I.type) { @@ -688,8 +674,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl.e103db.1: %C.ref as %I.ref { @@ -800,8 +784,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.I.impl.812d8b.1(%T.loc4_15.2: type) { @@ -875,8 +857,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -886,8 +866,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -900,8 +878,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: %.loc19_26.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc19_27: init %empty_tuple.type = converted %.loc19_26.1, %.loc19_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc19_27 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -919,8 +895,6 @@ impl forall [T: type] T as I { // CHECK:STDOUT: %T.as.I.impl.C.specific_fn.loc21_12.1: = specific_function %C.ref, @T.as.I.impl.C(constants.%T) [symbolic = %T.as.I.impl.C.specific_fn.loc21_12.2 (constants.%T.as.I.impl.C.specific_fn)] // CHECK:STDOUT: %T.as.I.impl.C.call: init %empty_tuple.type = call %T.as.I.impl.C.specific_fn.loc21_12.1() // CHECK:STDOUT: return %T.as.I.impl.C.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/impl_as.carbon b/toolchain/check/testdata/impl/impl_as.carbon index 6ab997c1cda1..bd8b679ccd7c 100644 --- a/toolchain/check/testdata/impl/impl_as.carbon +++ b/toolchain/check/testdata/impl/impl_as.carbon @@ -89,8 +89,6 @@ class C { // CHECK:STDOUT: witness = (@Simple.WithSelf.%Simple.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.Simple.impl: %Self.ref as %Simple.ref { @@ -139,8 +137,6 @@ class C { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_7.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -148,8 +144,6 @@ class C { // CHECK:STDOUT: fn @Destroy.Op.loc23_7.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf(constants.%Self.f79) { diff --git a/toolchain/check/testdata/impl/impl_assoc_const_with_prelude.carbon b/toolchain/check/testdata/impl/impl_assoc_const_with_prelude.carbon index c23ef035734f..677373941483 100644 --- a/toolchain/check/testdata/impl/impl_assoc_const_with_prelude.carbon +++ b/toolchain/check/testdata/impl/impl_assoc_const_with_prelude.carbon @@ -248,8 +248,6 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: witness = (@I.WithSelf.%X) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc6_7.2 as %.loc6_14 { @@ -454,8 +452,6 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: witness = (@I.WithSelf.%X) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as..impl: %.loc10_7.2 as { diff --git a/toolchain/check/testdata/impl/impl_forall.carbon b/toolchain/check/testdata/impl/impl_forall.carbon index c59af0f33e84..5cd35cddf124 100644 --- a/toolchain/check/testdata/impl/impl_forall.carbon +++ b/toolchain/check/testdata/impl/impl_forall.carbon @@ -74,8 +74,6 @@ impl forall [T: type] T as Simple { // CHECK:STDOUT: witness = (@Simple.WithSelf.%Simple.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.Simple.impl(%T.loc19_15.2: type) { @@ -109,8 +107,6 @@ impl forall [T: type] T as Simple { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/impl_thunk.carbon b/toolchain/check/testdata/impl/impl_thunk.carbon index 182c590175ee..1e8efd0b40ea 100644 --- a/toolchain/check/testdata/impl/impl_thunk.carbon +++ b/toolchain/check/testdata/impl/impl_thunk.carbon @@ -439,8 +439,6 @@ impl () as I({}) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_48.2, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_48.2) // CHECK:STDOUT: return %.loc10_48.14 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_48.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -450,8 +448,6 @@ impl () as I({}) { // CHECK:STDOUT: fn @Destroy.Op.loc10_48.3(%self.param: ref %struct_type.d.c.b36) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- inheritance_conversion.carbon @@ -558,8 +554,6 @@ impl () as I({}) { // CHECK:STDOUT: %bound_method.loc14_37.2: = bound_method %.loc14_37.5, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.432 = call %bound_method.loc14_37.2(%.loc14_37.5) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- inheritance_value_conversion.carbon @@ -619,8 +613,6 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: %B.as.X.impl.F.call: init %empty_tuple.type = call %B.as.X.impl.F.bound(%.6, %.10) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- inheritance_value_conversion_pointer.carbon @@ -727,8 +719,6 @@ impl () as I({}) { // CHECK:STDOUT: %bound_method.loc14_37.2: = bound_method %.loc14_37.5, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.432 = call %bound_method.loc14_37.2(%.loc14_37.5) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- inheritance_value_conversion_pointer_addr.carbon @@ -835,8 +825,6 @@ impl () as I({}) { // CHECK:STDOUT: %bound_method.loc14_37.2: = bound_method %.loc14_37.5, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.432 = call %bound_method.loc14_37.2(%.loc14_37.5) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- inheritance_ref_conversion.carbon @@ -896,8 +884,6 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: %B.as.X.impl.F.call: init %empty_tuple.type = call %B.as.X.impl.F.bound(%.6, %.9) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- form_parameter.carbon @@ -979,8 +965,6 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %F.ref(%x.param, %.5) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_inheritance_value_conversion_copy_return.carbon @@ -1045,8 +1029,6 @@ impl () as I({}) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc23_14.3, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc23_14.3) // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_14.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1054,8 +1036,6 @@ impl () as I({}) { // CHECK:STDOUT: fn @Destroy.Op.loc23_14.2(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_function.carbon @@ -1191,8 +1171,6 @@ impl () as I({}) { // CHECK:STDOUT: %.loc10_31.1: ref @empty_tuple.type.as.I.impl.F.loc10_33.1.%U.as_type.loc10_25.1 (%U.as_type.c1c) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @empty_tuple.type.as.I.impl.F.loc10_33.1.%U.as_type.loc10_25.1 (%U.as_type.c1c) to %.loc10_31.1 = call %bound_method.loc10_42.2(%x.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1216,8 +1194,6 @@ impl () as I({}) { // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn.loc10_33.1: = specific_function %F.ref, @empty_tuple.type.as.I.impl.F.loc10_33.1(constants.%Copy.facet) [symbolic = %empty_tuple.type.as.I.impl.F.specific_fn.loc10_33.2 (constants.%empty_tuple.type.as.I.impl.F.specific_fn)] // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.call: init @empty_tuple.type.as.I.impl.F.loc10_33.2.%ptr (%ptr.e8f) = call %empty_tuple.type.as.I.impl.F.specific_fn.loc10_33.1(%x.param) // CHECK:STDOUT: return %empty_tuple.type.as.I.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1410,8 +1386,6 @@ impl () as I({}) { // CHECK:STDOUT: %.loc10_48.1: ref @empty_tuple.type.as.I.impl.F.loc10_50.1.%U.as_type.loc10_42.1 (%U.as_type.c1c) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @empty_tuple.type.as.I.impl.F.loc10_50.1.%U.as_type.loc10_42.1 (%U.as_type.c1c) to %.loc10_48.1 = call %bound_method.loc10_59.2(%x.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1437,8 +1411,6 @@ impl () as I({}) { // CHECK:STDOUT: %bound_method: = bound_method %self.param, %empty_tuple.type.as.I.impl.F.specific_fn.loc10_50.1 // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.call: init @empty_tuple.type.as.I.impl.F.loc10_50.2.%ptr (%ptr.e8f) = call %bound_method(%self.param, %x.param) // CHECK:STDOUT: return %empty_tuple.type.as.I.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1561,8 +1533,6 @@ impl () as I({}) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_29.2, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_29.2) // CHECK:STDOUT: return %.loc10_29.14 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_29.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1570,7 +1540,5 @@ impl () as I({}) { // CHECK:STDOUT: fn @Destroy.Op.loc10_29.2(%self.param: ref %struct_type.b.a.1b0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/impl_thunk_min_prelude.carbon b/toolchain/check/testdata/impl/impl_thunk_min_prelude.carbon index add98741a6f3..8d6e7a8b1d20 100644 --- a/toolchain/check/testdata/impl/impl_thunk_min_prelude.carbon +++ b/toolchain/check/testdata/impl/impl_thunk_min_prelude.carbon @@ -154,7 +154,5 @@ fn Call() -> i32 { // CHECK:STDOUT: %.loc18_13.2: %i32 = converted %int_2, %.loc18_13.1 [concrete = constants.%int_2.295] // CHECK:STDOUT: %i32.as.Add.impl.Op.call: init %i32 = call %i32.as.Add.impl.Op.specific_fn(%a.ref, %.loc18_13.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/import_builtin_call.carbon b/toolchain/check/testdata/impl/import_builtin_call.carbon index d9d9b3d7af86..b9f118f28db4 100644 --- a/toolchain/check/testdata/impl/import_builtin_call.carbon +++ b/toolchain/check/testdata/impl/import_builtin_call.carbon @@ -107,8 +107,6 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %Double.specific_fn: = specific_function %Double.ref, @Double(constants.%int_64) [concrete = constants.%Double.specific_fn] // CHECK:STDOUT: %Double.call: init %MyInt.9fc = call %Double.specific_fn(%n.ref) // CHECK:STDOUT: return %Double.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_convert_symbolic.carbon @@ -199,7 +197,5 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %MakeFromClass.call: init %i64.builtin = call %MakeFromClass.specific_fn() // CHECK:STDOUT: assign file.%n.var, %MakeFromClass.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/import_compound.carbon b/toolchain/check/testdata/impl/import_compound.carbon index a32060543814..43b78a957c47 100644 --- a/toolchain/check/testdata/impl/import_compound.carbon +++ b/toolchain/check/testdata/impl/import_compound.carbon @@ -182,8 +182,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: witness = (@NonInstance.WithSelf.%NonInstance.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Instance { @@ -211,8 +209,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: witness = (@Instance.WithSelf.%Instance.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @struct_type.i.as.NonInstance.impl: %struct_type.i as %NonInstance.ref { @@ -251,8 +247,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: fn @struct_type.i.as.NonInstance.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Instance.WithSelf.G(@Instance.%Self: %Instance.type) { @@ -268,8 +262,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: fn @struct_type.i.as.Instance.impl.G(%self.param: %struct_type.i) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%Self.a14) { @@ -381,8 +373,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @struct_type.i.as.NonInstance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.282 [from "lib.carbon"] { @@ -402,8 +392,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %impl.elem0: %.a34 = impl_witness_access constants.%NonInstance.impl_witness, element0 [concrete = constants.%struct_type.i.as.NonInstance.impl.F] // CHECK:STDOUT: %struct_type.i.as.NonInstance.impl.F.call: init %empty_tuple.type = call %impl.elem0() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.9ad11e.2: %NonInstance.type) [from "lib.carbon"] { @@ -495,8 +483,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NonInstanceCallImportFail(%n.param: %struct_type.i) { @@ -506,8 +492,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %F.ref: %NonInstance.assoc_type = name_ref F, imports.%Main.import_ref.a5f [concrete = constants.%assoc0.8c6] // CHECK:STDOUT: %.loc13: %NonInstance.type = converted %n.ref, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.9ad11e.2: %NonInstance.type) [from "lib.carbon"] { @@ -592,8 +576,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NonInstanceCallIndirectImport(%p.param: %ptr) { @@ -604,8 +586,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %.loc13_4.1: ref %struct_type.i = deref %p.ref // CHECK:STDOUT: %.loc13_4.2: %NonInstance.type = converted %.loc13_4.1, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.9ad11e.2: %NonInstance.type) [from "lib.carbon"] { @@ -721,8 +701,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: witness = (imports.%Main.G) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @struct_type.i.as.Instance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.fd3 [from "lib.carbon"] { @@ -739,8 +717,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %bound_method: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %struct_type.i.as.Instance.impl.G.call: init %empty_tuple.type = call %bound_method(%n.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Instance.WithSelf.G(imports.%Main.import_ref.a85b8b.2: %Instance.type) [from "lib.carbon"] { @@ -770,8 +746,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %.loc10_4.4: %struct_type.i = converted %.loc10_4.1, %struct [concrete = constants.%struct] // CHECK:STDOUT: %struct_type.i.as.Instance.impl.G.call: init %empty_tuple.type = call %bound_method(%.loc10_4.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance.WithSelf(constants.%Self) { @@ -852,8 +826,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: witness = (imports.%Main.G) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @struct_type.i.as.Instance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.fd3 [from "lib.carbon"] { @@ -869,8 +841,6 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %Instance.ref: type = name_ref Instance, imports.%Main.Instance [concrete = constants.%Instance.type] // CHECK:STDOUT: %G.ref: %Instance.assoc_type = name_ref G, imports.%Main.import_ref.756 [concrete = constants.%assoc0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Instance.WithSelf.G(imports.%Main.import_ref.a85b8b.2: %Instance.type) [from "lib.carbon"] { diff --git a/toolchain/check/testdata/impl/import_extend_impl.carbon b/toolchain/check/testdata/impl/import_extend_impl.carbon index 4ffe87f374cd..c014c2443462 100644 --- a/toolchain/check/testdata/impl/import_extend_impl.carbon +++ b/toolchain/check/testdata/impl/import_extend_impl.carbon @@ -80,8 +80,6 @@ fn G(c: C) { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %Self.ref as %I.ref { @@ -116,8 +114,6 @@ fn G(c: C) { // CHECK:STDOUT: fn @C.as.I.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { @@ -211,8 +207,6 @@ fn G(c: C) { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.5dc as imports.%Main.import_ref.c3f793.2 [from "extend_impl_library.carbon"] { @@ -240,8 +234,6 @@ fn G(c: C) { // CHECK:STDOUT: %impl.elem0.loc8: %.92e = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] // CHECK:STDOUT: %C.as.I.impl.F.call.loc8: init %empty_tuple.type = call %impl.elem0.loc8() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.e59c42.2: %I.type) [from "extend_impl_library.carbon"] { diff --git a/toolchain/check/testdata/impl/import_generic.carbon b/toolchain/check/testdata/impl/import_generic.carbon index 3c2b24fe8143..9d21eecae824 100644 --- a/toolchain/check/testdata/impl/import_generic.carbon +++ b/toolchain/check/testdata/impl/import_generic.carbon @@ -246,8 +246,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -287,8 +285,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: @J.WithSelf.Self.as_type.impls.I.type.require { // CHECK:STDOUT: require @J.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type.loc5_18.1 impls @J.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc5_27.1 // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -413,8 +409,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -436,8 +430,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: @J.WithSelf.Self.as_type.impls.I.type.require { // CHECK:STDOUT: require imports.%Main.import_ref.91b impls imports.%Main.import_ref.e01 // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -619,8 +611,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -772,8 +762,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1013,8 +1001,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1340,8 +1326,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1684,8 +1668,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1916,8 +1898,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2219,8 +2199,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2505,8 +2483,6 @@ impl forall [T: type] D as N(T*) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/import_interface_assoc_const.carbon b/toolchain/check/testdata/impl/import_interface_assoc_const.carbon index ca65698167db..7aa731f29a7c 100644 --- a/toolchain/check/testdata/impl/import_interface_assoc_const.carbon +++ b/toolchain/check/testdata/impl/import_interface_assoc_const.carbon @@ -249,8 +249,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I3 { @@ -276,8 +274,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (@I3.WithSelf.%T1, @I3.WithSelf.%T2, @I3.WithSelf.%T3) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @NonType { @@ -295,8 +291,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (@NonType.WithSelf.%Y) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) {} @@ -377,8 +371,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C1.as.I.impl: %C1.ref as %.loc5_14 { @@ -503,8 +495,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C2.as.I.impl: %C2.ref.loc5 as %.loc5_14 { @@ -613,8 +603,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C3.as.I.impl.a51: %C3.ref as %I.ref; @@ -744,8 +732,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C4.as.I.impl.332: %C4.ref as %.loc9_14; @@ -933,8 +919,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T1, imports.%Main.T2, imports.%Main.T3) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C5.as..impl.f79ae5.1: %C5.ref as ; @@ -1037,8 +1021,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C6.as.I.impl.07b: %C6.ref as %.loc5_14; @@ -1156,8 +1138,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C7.as..impl: %C7.ref as { @@ -1265,8 +1245,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C8.as..impl: %C8.ref as { @@ -1373,8 +1351,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C9.as..impl: %C9.ref as { @@ -1480,8 +1456,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @CA.as..impl: %CA.ref as { @@ -1591,8 +1565,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @CB.as.I.impl: %CB.ref as %.loc6_14 { @@ -1703,8 +1675,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.Y) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @CC.as.NonType.impl: %CC.ref as %.loc6_20 { @@ -1769,8 +1739,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (@IF.WithSelf.%IF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @IF.WithSelf.F(@IF.%Self: %IF.type) { @@ -1859,8 +1827,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @CD.as.IF.impl: %CD.ref as %.loc10_15 { @@ -1889,8 +1855,6 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: fn @CD.as.IF.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IF.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/import_self.carbon b/toolchain/check/testdata/impl/import_self.carbon index 53f2d75a6906..84ce5d2dbc60 100644 --- a/toolchain/check/testdata/impl/import_self.carbon +++ b/toolchain/check/testdata/impl/import_self.carbon @@ -115,8 +115,6 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: witness = (@Add.WithSelf.%Add.WithSelf.Op.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Add.WithSelf.Op(@Add.%Self: %Add.type) { @@ -252,8 +250,6 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.Add.impl: %C.ref as %Add.ref { @@ -324,8 +320,6 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %.loc9_66.3: init %C = as_compatible %.loc9_66.2 [concrete = constants.%empty_tuple.4db] // CHECK:STDOUT: %.loc9_66.4: init %C = converted %.loc9_62.2, %.loc9_66.3 [concrete = constants.%empty_tuple.4db] // CHECK:STDOUT: return %.loc9_66.4 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%x.param: %C, %y.param: %C) -> out %return.param: %C { @@ -338,8 +332,6 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %y.ref: %C = name_ref y, %y // CHECK:STDOUT: %C.as.Add.impl.Op.call: init %C = call %bound_method(%x.ref, %y.ref) // CHECK:STDOUT: return %C.as.Add.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Add.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/import_self_specific.carbon b/toolchain/check/testdata/impl/import_self_specific.carbon index 33a8e7477011..1e9dff1f2959 100644 --- a/toolchain/check/testdata/impl/import_self_specific.carbon +++ b/toolchain/check/testdata/impl/import_self_specific.carbon @@ -161,8 +161,6 @@ impl forall [N: E] D(N) as I where .Assoc = () { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { @@ -174,8 +172,6 @@ impl forall [N: E] D(N) as I where .Assoc = () { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { @@ -215,8 +211,6 @@ impl forall [N: E] D(N) as I where .Assoc = () { // CHECK:STDOUT: witness = (@I.WithSelf.%Assoc, @I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.Y.impl(%T.loc5_15.1: type) { @@ -517,8 +511,6 @@ impl forall [N: E] D(N) as I where .Assoc = () { // CHECK:STDOUT: witness = (imports.%Main.Assoc, imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z [from "impl_def.carbon"] { @@ -527,8 +519,6 @@ impl forall [N: E] D(N) as I where .Assoc = () { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Y [from "impl_def.carbon"] { @@ -537,8 +527,6 @@ impl forall [N: E] D(N) as I where .Assoc = () { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @U.as.Z.impl(imports.%Main.import_ref.b3bc94.1: type) [from "impl_def.carbon"] { @@ -663,8 +651,6 @@ impl forall [N: E] D(N) as I where .Assoc = () { // CHECK:STDOUT: fn(%c.param: %C.00e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/import_thunk.carbon b/toolchain/check/testdata/impl/import_thunk.carbon index 4de32d0f93d6..15ff2f331b3a 100644 --- a/toolchain/check/testdata/impl/import_thunk.carbon +++ b/toolchain/check/testdata/impl/import_thunk.carbon @@ -98,8 +98,6 @@ fn G() { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { @@ -226,8 +224,6 @@ fn G() { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(%Y.loc7_15.2: %empty_tuple.type) { @@ -306,8 +302,6 @@ fn G() { // CHECK:STDOUT: fn(%x.param: @C.as.I.impl.F.loc8_24.1.%C.loc8_21.1 (%C.6b1ed7.2)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -352,8 +346,6 @@ fn G() { // CHECK:STDOUT: %bound_method.2: = bound_method %.5, %specific_impl_fn.1 [symbolic = %bound_method.4 (constants.%bound_method.ef4)] // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.2(%.5) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -535,8 +527,6 @@ fn G() { // CHECK:STDOUT: witness = (imports.%Main.F.006) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(imports.%Main.import_ref.c90e1a.4: %empty_tuple.type) [from "b.carbon"] { @@ -598,8 +588,6 @@ fn G() { // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %C.as.I.impl.F.specific_fn(%.loc7_16.7) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.790) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.e59c42.2: %I.type) [from "a.carbon"] { @@ -646,8 +634,6 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc7_16.2(%self.param: ref %C.2c9) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%X) { diff --git a/toolchain/check/testdata/impl/import_use_generic.carbon b/toolchain/check/testdata/impl/import_use_generic.carbon index bf1c4d22db65..aa6edb0fd3ae 100644 --- a/toolchain/check/testdata/impl/import_use_generic.carbon +++ b/toolchain/check/testdata/impl/import_use_generic.carbon @@ -124,8 +124,6 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(%T.loc10_15.2: type) { @@ -175,8 +173,6 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -333,8 +329,6 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(imports.%Main.import_ref.b3bc94.3: type) [from "import_generic.carbon"] { @@ -373,8 +367,6 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @C.as.I.impl.F(imports.%Main.import_ref.b3bc94.2: type) [from "import_generic.carbon"] { @@ -385,8 +377,6 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: // CHECK:STDOUT: fn @H() -> { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -396,8 +386,6 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: %.loc6_1: init %C.d8e = converted %.loc6_17.1, %.loc6_17.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { diff --git a/toolchain/check/testdata/impl/incomplete.carbon b/toolchain/check/testdata/impl/incomplete.carbon index 52eaf7c5fcc0..07fba630952c 100644 --- a/toolchain/check/testdata/impl/incomplete.carbon +++ b/toolchain/check/testdata/impl/incomplete.carbon @@ -437,8 +437,6 @@ interface B { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Incomplete; @@ -582,8 +580,6 @@ interface B { // CHECK:STDOUT: witness = (@J.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Incomplete; @@ -679,8 +675,6 @@ interface B { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Incomplete; @@ -852,8 +846,6 @@ interface B { // CHECK:STDOUT: @X.WithSelf.Self.as_type.impls.Y.type.require { // CHECK:STDOUT: require @X.WithSelf.Self.as_type.impls.Y.type.require.%Self.as_type.loc12_11.1 impls @X.WithSelf.Self.as_type.impls.Y.type.require.%Y.ref // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Y { @@ -898,8 +890,6 @@ interface B { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -965,8 +955,6 @@ interface B { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @A; diff --git a/toolchain/check/testdata/impl/interface_args.carbon b/toolchain/check/testdata/impl/interface_args.carbon index 1ab52ff04b3e..bf16b075955f 100644 --- a/toolchain/check/testdata/impl/interface_args.carbon +++ b/toolchain/check/testdata/impl/interface_args.carbon @@ -191,8 +191,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: witness = (@ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -360,8 +358,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: witness = (@Action.WithSelf.%Action.WithSelf.Op.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -422,8 +418,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: fn @A.as.Action.impl.Op(%self.param: %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%a.param: %A) { @@ -438,8 +432,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %A.as.Action.impl.Op.call: init %empty_tuple.type = call %bound_method(%a.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action(constants.%T) { @@ -612,8 +604,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -662,8 +652,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %A.as.Action.impl.Op.call: init %empty_tuple.type = call %bound_method(%a.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @A.as.Action.impl.Op [from "action.carbon"]; @@ -823,8 +811,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -877,8 +863,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.loc8: %Action.assoc_type.35c = specific_constant imports.%Main.import_ref.00f, @Action.WithSelf(constants.%C, constants.%Self.ea2) [concrete = constants.%assoc0.940] // CHECK:STDOUT: %Op.ref: %Action.assoc_type.35c = name_ref Op, %.loc8 [concrete = constants.%assoc0.940] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action(constants.%T) { @@ -1074,8 +1058,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: witness = (@Factory.WithSelf.%Factory.WithSelf.Make.decl, @Factory.WithSelf.%Factory.WithSelf.Method.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1401,8 +1383,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: witness = (imports.%Main.Make, imports.%Main.Method) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1468,8 +1448,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.loc4_15.1: ref %B = splice_block %return.param {} // CHECK:STDOUT: %A.as.Factory.impl.Make.call: init %B to %.loc4_15.1 = call %impl.elem0() // CHECK:STDOUT: return %A.as.Factory.impl.Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @A.as.Factory.impl.Make [from "factory.carbon"]; @@ -1487,8 +1465,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.loc7_23.1: ref %B = splice_block %return.param {} // CHECK:STDOUT: %A.as.Factory.impl.Method.call: init %B to %.loc7_23.1 = call %bound_method(%a.ref) // CHECK:STDOUT: return %A.as.Factory.impl.Method.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @A.as.Factory.impl.Method [from "factory.carbon"]; @@ -1703,8 +1679,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: witness = (imports.%Main.Make, imports.%Main.Method) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1773,8 +1747,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.loc13: %Factory.assoc_type.fc0 = specific_constant imports.%Main.import_ref.a26, @Factory.WithSelf(constants.%C, constants.%Self.3e3) [concrete = constants.%assoc0.c53] // CHECK:STDOUT: %Make.ref: %Factory.assoc_type.fc0 = name_ref Make, %.loc13 [concrete = constants.%assoc0.c53] // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InstanceC(%a.param: %A) -> out %return.param: %C { @@ -1786,8 +1758,6 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.loc21: %Factory.assoc_type.fc0 = specific_constant imports.%Main.import_ref.1ef, @Factory.WithSelf(constants.%C, constants.%Self.3e3) [concrete = constants.%assoc1.f6c] // CHECK:STDOUT: %Method.ref: %Factory.assoc_type.fc0 = name_ref Method, %.loc21 [concrete = constants.%assoc1.f6c] // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Factory(constants.%T) { diff --git a/toolchain/check/testdata/impl/lookup/alias.carbon b/toolchain/check/testdata/impl/lookup/alias.carbon index 0ccbc6c1a176..d89b13181bbb 100644 --- a/toolchain/check/testdata/impl/lookup/alias.carbon +++ b/toolchain/check/testdata/impl/lookup/alias.carbon @@ -92,8 +92,6 @@ fn G(c: C) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasF.impl: %C.ref as %HasF.ref { @@ -127,8 +125,6 @@ fn G(c: C) { // CHECK:STDOUT: fn @C.as.HasF.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%c.param: %C) { @@ -142,8 +138,6 @@ fn G(c: C) { // CHECK:STDOUT: %impl.elem0.loc29: %.34f = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] // CHECK:STDOUT: %C.as.HasF.impl.F.call.loc29: init %empty_tuple.type = call %impl.elem0.loc29() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/lookup/canonical_query_self.carbon b/toolchain/check/testdata/impl/lookup/canonical_query_self.carbon index 8a08b6df3391..6b1999d1a590 100644 --- a/toolchain/check/testdata/impl/lookup/canonical_query_self.carbon +++ b/toolchain/check/testdata/impl/lookup/canonical_query_self.carbon @@ -227,8 +227,6 @@ fn G() { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.II.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { @@ -256,8 +254,6 @@ fn G() { // CHECK:STDOUT: witness = (@J.WithSelf.%J.WithSelf.JJ.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %Self.ref as %I.ref { @@ -395,8 +391,6 @@ fn G() { // CHECK:STDOUT: %bound_method.loc26_73: = bound_method %t.ref, %specific_impl_fn.loc26_69.1 // CHECK:STDOUT: %J.WithSelf.JJ.call: init %empty_tuple.type = call %bound_method.loc26_73(%t.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -458,22 +452,16 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.call.loc46: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.5d3) // CHECK:STDOUT: %Destroy.Op.call.loc40: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.5d3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.I.impl.II(%self.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.J.impl.JJ(%self.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc46_11.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -481,8 +469,6 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc46_11.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) { diff --git a/toolchain/check/testdata/impl/lookup/fail_alias_impl_not_found.carbon b/toolchain/check/testdata/impl/lookup/fail_alias_impl_not_found.carbon index 34906f3f75af..95c2253140d5 100644 --- a/toolchain/check/testdata/impl/lookup/fail_alias_impl_not_found.carbon +++ b/toolchain/check/testdata/impl/lookup/fail_alias_impl_not_found.carbon @@ -84,8 +84,6 @@ fn F(c: C) { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C { @@ -112,8 +110,6 @@ fn F(c: C) { // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %F.ref.loc33: %I.assoc_type = name_ref F, @C.%F [concrete = constants.%assoc0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/lookup/fail_todo_undefined_impl.carbon b/toolchain/check/testdata/impl/lookup/fail_todo_undefined_impl.carbon index 6f81bfe642a5..3372a199df97 100644 --- a/toolchain/check/testdata/impl/lookup/fail_todo_undefined_impl.carbon +++ b/toolchain/check/testdata/impl/lookup/fail_todo_undefined_impl.carbon @@ -112,8 +112,6 @@ fn G() { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl.ac9: %Self.ref as %I.ref; @@ -154,15 +152,11 @@ fn G() { // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: %.010 = impl_witness_access constants.%I.impl_witness.4e9, element0 [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.I.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { @@ -171,8 +165,6 @@ fn G() { // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: %.010 = impl_witness_access constants.%I.impl_witness.4e9, element0 [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/lookup/generic.carbon b/toolchain/check/testdata/impl/lookup/generic.carbon index e732df5eb326..a69ca6b219f6 100644 --- a/toolchain/check/testdata/impl/lookup/generic.carbon +++ b/toolchain/check/testdata/impl/lookup/generic.carbon @@ -241,8 +241,6 @@ fn G(x: A) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.HasF.impl(%T.loc8_15.2: type) { @@ -295,8 +293,6 @@ fn G(x: A) { // CHECK:STDOUT: fn(%self.param: @T.as.HasF.impl.F.%T (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -311,8 +307,6 @@ fn G(x: A) { // CHECK:STDOUT: %bound_method.loc13_14: = bound_method %x.ref, %specific_fn // CHECK:STDOUT: %T.as.HasF.impl.F.call: init %empty_tuple.type = call %bound_method.loc13_14(%x.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { @@ -553,8 +547,6 @@ fn G(x: A) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @ptr.as.HasF.impl(%T.loc8_15.2: type) { @@ -640,8 +632,6 @@ fn G(x: A) { // CHECK:STDOUT: %bound_method.loc9_29.2: = bound_method %self.ref, %specific_impl_fn.loc9_29.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @ptr.as.HasF.impl.F.%ptr.loc9_8 (%ptr.e8f) = call %bound_method.loc9_29.2(%self.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -656,8 +646,6 @@ fn G(x: A) { // CHECK:STDOUT: %bound_method.loc13_21: = bound_method %x.ref, %specific_fn // CHECK:STDOUT: %ptr.as.HasF.impl.F.call: init %ptr.c28 = call %bound_method.loc13_21(%x.ref) // CHECK:STDOUT: return %ptr.as.HasF.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self.c62) { @@ -888,8 +876,6 @@ fn G(x: A) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.HasF.impl(%T.loc10_15.2: type) { @@ -959,8 +945,6 @@ fn G(x: A) { // CHECK:STDOUT: fn(%self.param: @C.as.HasF.impl.F.%C (%C.1d0)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -975,8 +959,6 @@ fn G(x: A) { // CHECK:STDOUT: %bound_method.loc15_14: = bound_method %x.ref, %specific_fn // CHECK:STDOUT: %C.as.HasF.impl.F.call: init %empty_tuple.type = call %bound_method.loc15_14(%x.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { @@ -1209,8 +1191,6 @@ fn G(x: A) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1262,8 +1242,6 @@ fn G(x: A) { // CHECK:STDOUT: fn(%self.param: %empty_struct_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1282,8 +1260,6 @@ fn G(x: A) { // CHECK:STDOUT: %bound_method.loc13_18: = bound_method %x.ref, %specific_fn // CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.call: init %empty_tuple.type = call %bound_method.loc13_18(%x.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF(constants.%T) { @@ -1504,8 +1480,6 @@ fn G(x: A) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.HasF.impl(%T.loc12_15.2: type, %U.loc12_24.2: type) { @@ -1560,8 +1534,6 @@ fn G(x: A) { // CHECK:STDOUT: fn(%self.param: @T.as.HasF.impl.F.%T (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1571,8 +1543,6 @@ fn G(x: A) { // CHECK:STDOUT: %HasF.ref: type = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.type] // CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { @@ -1741,8 +1711,6 @@ fn G(x: A) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1816,8 +1784,6 @@ fn G(x: A) { // CHECK:STDOUT: fn(%self.param: @T.as.HasF.impl.F.%T (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1830,8 +1796,6 @@ fn G(x: A) { // CHECK:STDOUT: %.loc22: %HasF.assoc_type.43e = specific_constant @HasF.WithSelf.%assoc0.loc5_13.1, @HasF.WithSelf(constants.%B, constants.%Self.822) [concrete = constants.%assoc0.613] // CHECK:STDOUT: %F.ref: %HasF.assoc_type.43e = name_ref F, %.loc22 [concrete = constants.%assoc0.613] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF(constants.%T) { diff --git a/toolchain/check/testdata/impl/lookup/impl_forall.carbon b/toolchain/check/testdata/impl/lookup/impl_forall.carbon index 9d59c05c98fe..497f1b1eaba6 100644 --- a/toolchain/check/testdata/impl/lookup/impl_forall.carbon +++ b/toolchain/check/testdata/impl/lookup/impl_forall.carbon @@ -250,8 +250,6 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: %bound_method.loc14_12.2: = bound_method %addr, %specific_impl_fn.loc14_12.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @A.as.I.impl.F.%ptr.loc13_22.1 (%ptr.e8f8f9.2) = call %bound_method.loc14_12.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -287,8 +285,6 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: %bound_method.loc21_22: = bound_method %.loc21_11.1, %specific_impl_fn.loc21_11.1 // CHECK:STDOUT: %I.WithSelf.F.call: init @TestGeneric.%ptr.loc19_39.1 (%ptr.e8f8f9.4) = call %bound_method.loc21_22(%.loc21_11.1) // CHECK:STDOUT: return %I.WithSelf.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -308,8 +304,6 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: %bound_method.loc27_23: = bound_method %.loc27_11, %specific_fn // CHECK:STDOUT: %A.as.I.impl.F.call: init %ptr.c28 = call %bound_method.loc27_23(%.loc27_11) // CHECK:STDOUT: return %A.as.I.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as.I.impl(constants.%V.67d) { diff --git a/toolchain/check/testdata/impl/lookup/import.carbon b/toolchain/check/testdata/impl/lookup/import.carbon index 49864a3e6f77..74b02dd3899a 100644 --- a/toolchain/check/testdata/impl/lookup/import.carbon +++ b/toolchain/check/testdata/impl/lookup/import.carbon @@ -298,8 +298,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasF.impl: %C.ref as %HasF.ref { @@ -341,8 +339,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @C.as.HasF.impl.F(%self.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { @@ -498,8 +494,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (@HasG.WithSelf.%HasG.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasF [from "package_a.carbon"] { @@ -509,8 +503,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageA.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasG.impl: %C.ref as %HasG.ref { @@ -595,8 +587,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @C.as.HasG.impl.G(%self.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.b7072f.2: %HasF.type) [from "package_a.carbon"] { @@ -612,15 +602,11 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @D.as.HasF.impl.F(%self.param: %D) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @D.as.HasG.impl.G(%self.param: %D) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasG.WithSelf(constants.%Self.150) { @@ -783,8 +769,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageA.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasF.impl: imports.%PackageA.import_ref.364 as imports.%PackageA.import_ref.e71 [from "package_a.carbon"] { @@ -809,8 +793,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.HasF.impl.F.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.b7072f.2: %HasF.type) [from "package_a.carbon"] { @@ -943,8 +925,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageA.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasF.impl: imports.%PackageA.import_ref.364 as imports.%PackageA.import_ref.e71 [from "package_a.carbon"] { @@ -981,8 +961,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %bound_method: = bound_method %d.ref, %impl.elem0 // CHECK:STDOUT: %D.as.HasF.impl.F.call: init %empty_tuple.type = call %bound_method(%d.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.b7072f.2: %HasF.type) [from "package_a.carbon"] { @@ -1115,8 +1093,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageB.G) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasG.impl: imports.%PackageB.import_ref.473 as imports.%PackageB.import_ref.e35e93.1 [from "package_b.carbon"] { @@ -1153,8 +1129,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.HasG.impl.G.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasG.WithSelf.G(imports.%PackageB.import_ref.10cb76.2: %HasG.type) [from "package_b.carbon"] { @@ -1282,8 +1256,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageB.G) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasG.impl: imports.%PackageB.import_ref.473 as imports.%PackageB.import_ref.e35e93.1 [from "package_b.carbon"] { @@ -1320,8 +1292,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %bound_method: = bound_method %d.ref, %impl.elem0 // CHECK:STDOUT: %D.as.HasG.impl.G.call: init %empty_tuple.type = call %bound_method(%d.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasG.WithSelf.G(imports.%PackageB.import_ref.10cb76.2: %HasG.type) [from "package_b.carbon"] { @@ -1430,8 +1400,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (@Z.WithSelf.%Z.WithSelf.H.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.Z.impl: %.loc8_7.2 as %Z.ref { @@ -1465,8 +1433,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @empty_tuple.type.as.Z.impl.H(%self.param: %empty_tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%Self) { @@ -1566,8 +1532,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageAssociatedInterface.H) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.Z.impl: imports.%PackageAssociatedInterface.import_ref.e5c as imports.%PackageAssociatedInterface.import_ref.72a [from "associated_interface.carbon"] { @@ -1587,8 +1551,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %.loc7_4.2: %empty_tuple.type = converted %.loc7_4.1, %empty_tuple [concrete = constants.%empty_tuple] // CHECK:STDOUT: %empty_tuple.type.as.Z.impl.H.call: init %empty_tuple.type = call %bound_method(%.loc7_4.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Z.WithSelf.H(imports.%PackageAssociatedInterface.import_ref.f4f417.2: %Z.type) [from "associated_interface.carbon"] { @@ -1711,8 +1673,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (@Y.WithSelf.%Y.WithSelf.K.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @AnyParam(%T.loc4_17.2: type, %X.loc4_26.2: @AnyParam.%T.loc4_17.1 (%T)) { @@ -1746,8 +1706,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn(%self.param: @Y.WithSelf.K.%Self.as_type.loc7_15.1 (%Self.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1902,8 +1860,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1914,8 +1870,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageHasParam.K) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @AnyParam.as.Y.impl: %AnyParam as %Y.ref { @@ -1969,8 +1923,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @AnyParam.as.Y.impl.K(%self.param: %AnyParam.591) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @L() { @@ -2002,8 +1954,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%obj.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -2011,8 +1961,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @Destroy.Op.loc13_3.2(%self.param: ref %AnyParam.591) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @GenericInterface(constants.%U) { @@ -2187,8 +2135,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2199,8 +2145,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageHasParam.K) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @AnyParam.as.Y.impl: imports.%PackageGenericInterface.import_ref.82e as imports.%PackageGenericInterface.import_ref.482 [from "has_generic_interface.carbon"] { @@ -2255,8 +2199,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%obj.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.fa191b.2: %Y.type) [from "has_param.carbon"] { @@ -2279,8 +2221,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %AnyParam.591) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AnyParam(constants.%T, constants.%X) { @@ -2447,8 +2387,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageHasParam.K) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @AnyParam.as.Y.impl: %AnyParam as %Y.ref { @@ -2517,8 +2455,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @AnyParam.as.Y.impl.K(%self.param: %AnyParam.21c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @L() { @@ -2550,8 +2486,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%obj.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -2559,8 +2493,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @Destroy.Op.loc13_3.2(%self.param: ref %AnyParam.21c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @GenericClass(constants.%U) { @@ -2725,8 +2657,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%PackageHasParam.K) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @AnyParam.as.Y.impl: imports.%PackageGenericClass.import_ref.c77 as imports.%PackageGenericClass.import_ref.482 [from "has_generic_class.carbon"] { @@ -2795,8 +2725,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%obj.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.fa191b.2: %Y.type) [from "has_param.carbon"] { @@ -2819,8 +2747,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %AnyParam.21c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AnyParam(constants.%T, constants.%X) { @@ -2988,8 +2914,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra2 { @@ -3001,8 +2925,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra3 { @@ -3014,8 +2936,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra4 { @@ -3027,8 +2947,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra5 { @@ -3040,8 +2958,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra6 { @@ -3053,8 +2969,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra7 { @@ -3066,8 +2980,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra8 { @@ -3079,8 +2991,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { @@ -3108,8 +3018,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C as %I.ref { @@ -3158,8 +3066,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @C.as.I.impl.F(%self.param: %C.279) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Extra1.WithSelf(constants.%Self.f48) {} @@ -3329,8 +3235,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = (imports.%HasExtraInterfaces.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra8 [from "has_extra_interfaces.carbon"] { @@ -3339,8 +3243,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra7 [from "has_extra_interfaces.carbon"] { @@ -3349,8 +3251,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra6 [from "has_extra_interfaces.carbon"] { @@ -3359,8 +3259,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra5 [from "has_extra_interfaces.carbon"] { @@ -3369,8 +3267,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra4 [from "has_extra_interfaces.carbon"] { @@ -3379,8 +3275,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra3 [from "has_extra_interfaces.carbon"] { @@ -3389,8 +3283,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra2 [from "has_extra_interfaces.carbon"] { @@ -3399,8 +3291,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra1 [from "has_extra_interfaces.carbon"] { @@ -3409,8 +3299,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: imports.%HasExtraInterfaces.import_ref.f05 as imports.%HasExtraInterfaces.import_ref.d6f [from "has_extra_interfaces.carbon"] { @@ -3439,8 +3327,6 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%HasExtraInterfaces.I [concrete = constants.%I.type] // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%HasExtraInterfaces.import_ref.8f6 [concrete = constants.%assoc0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%HasExtraInterfaces.import_ref.51a236.2: %I.type) [from "has_extra_interfaces.carbon"] { diff --git a/toolchain/check/testdata/impl/lookup/instance_method.carbon b/toolchain/check/testdata/impl/lookup/instance_method.carbon index c2c80b1fd8ca..ebea5992136c 100644 --- a/toolchain/check/testdata/impl/lookup/instance_method.carbon +++ b/toolchain/check/testdata/impl/lookup/instance_method.carbon @@ -140,8 +140,6 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %Self.ref as %I.ref { @@ -203,8 +201,6 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.I.impl.F.call: init %i32 = call %bound_method(%c.ref) // CHECK:STDOUT: return %C.as.I.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/lookup/lookup_interface_with_enclosing_generic_inside_rewrite_constraint.carbon b/toolchain/check/testdata/impl/lookup/lookup_interface_with_enclosing_generic_inside_rewrite_constraint.carbon index eb6d3a6cd2c0..4ae4858775de 100644 --- a/toolchain/check/testdata/impl/lookup/lookup_interface_with_enclosing_generic_inside_rewrite_constraint.carbon +++ b/toolchain/check/testdata/impl/lookup/lookup_interface_with_enclosing_generic_inside_rewrite_constraint.carbon @@ -235,8 +235,6 @@ fn F() { // CHECK:STDOUT: witness = (@Y.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -323,8 +321,6 @@ fn F() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -342,8 +338,6 @@ fn F() { // CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %G.ref, @Outer.G(constants.%empty_tuple.type, constants.%facet_value) [concrete = constants.%Outer.G.specific_fn] // CHECK:STDOUT: %Outer.G.call: init %empty_tuple.type = call %Outer.G.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%OuterParam) { @@ -592,8 +586,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z2 { @@ -605,8 +597,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic interface @Y(@Outer.%OuterParam.loc6_23.2: %Z1.type) { @@ -630,8 +620,6 @@ fn F() { // CHECK:STDOUT: witness = (@Y.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -785,8 +773,6 @@ fn F() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -831,8 +817,6 @@ fn F() { // CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %G.ref, @Outer.G(constants.%Z1.facet, constants.%facet_value.58a) [concrete = constants.%Outer.G.specific_fn] // CHECK:STDOUT: %Outer.G.call: init %empty_tuple.type = call %Outer.G.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z1.WithSelf(constants.%Self.bc4) { diff --git a/toolchain/check/testdata/impl/lookup/specialization_with_symbolic_rewrite.carbon b/toolchain/check/testdata/impl/lookup/specialization_with_symbolic_rewrite.carbon index cf6e934b4a22..97aa46969fdc 100644 --- a/toolchain/check/testdata/impl/lookup/specialization_with_symbolic_rewrite.carbon +++ b/toolchain/check/testdata/impl/lookup/specialization_with_symbolic_rewrite.carbon @@ -299,8 +299,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: witness = (@Z.WithSelf.%X) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -394,8 +392,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %a.patt.loc15_15.1: @F.%pattern_type (%pattern_type.d37) = value_binding_pattern a [symbolic = %a.patt.loc15_15.2 (constants.%a.patt)] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -745,8 +741,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: witness = (@Z.WithSelf.%X) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -759,8 +753,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.Z.impl.447(%T.loc10_15.1: type, %S.loc10_24.1: type) { @@ -864,8 +856,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %a.patt.loc22_15.1: @F.%pattern_type.loc22 (%pattern_type.dc1) = value_binding_pattern a [symbolic = %a.patt.loc22_15.2 (constants.%a.patt)] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1120,8 +1110,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: witness = (@Ptr.WithSelf.%Type) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic final impl @U.as.Ptr.impl(%U.loc7_21.1: type) { @@ -1185,8 +1173,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %bound_method.loc10_10.2: = bound_method %addr, %specific_impl_fn.loc10_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.e8f8f9.2) = call %bound_method.loc10_10.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1384,8 +1370,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: witness = (@Ptr.WithSelf.%Type) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic final impl @U.as.Ptr.impl(%U.loc7_21.1: type) { @@ -1448,8 +1432,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %bound_method.loc10_10.2: = bound_method %addr, %specific_impl_fn.loc10_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.ac4) = call %bound_method.loc10_10.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1645,8 +1627,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: witness = (@Ptr.WithSelf.%Type) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic final impl @U.as.Ptr.impl(%U.loc7_21.1: type) { @@ -1709,8 +1689,6 @@ fn F[T: Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %bound_method.loc10_10.2: = bound_method %addr, %specific_impl_fn.loc10_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.ac4) = call %bound_method.loc10_10.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/lookup/specific_args.carbon b/toolchain/check/testdata/impl/lookup/specific_args.carbon index fe49a2c1345b..5589c8fb2720 100644 --- a/toolchain/check/testdata/impl/lookup/specific_args.carbon +++ b/toolchain/check/testdata/impl/lookup/specific_args.carbon @@ -145,8 +145,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -291,8 +289,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -344,8 +340,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: fn @X.as.I.impl.F(%self.param: %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T) { @@ -507,8 +501,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -543,8 +535,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %bound_method: = bound_method %x.ref, %impl.elem0 // CHECK:STDOUT: %X.as.I.impl.F.call: init %empty_tuple.type = call %bound_method(%x.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.d08dda.2: @I.%I.type (%I.type.3fe)) [from "types.carbon"] { @@ -701,8 +691,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -768,8 +756,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: fn @C.as.I.impl.F(%self.param: %C.165) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -953,8 +939,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1003,8 +987,6 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.d08dda.2: @I.%I.type (%I.type.3fe)) [from "types.carbon"] { diff --git a/toolchain/check/testdata/impl/lookup/transitive.carbon b/toolchain/check/testdata/impl/lookup/transitive.carbon index 50ca8ffd1251..70beb5cdcbb9 100644 --- a/toolchain/check/testdata/impl/lookup/transitive.carbon +++ b/toolchain/check/testdata/impl/lookup/transitive.carbon @@ -104,8 +104,6 @@ fn Call() { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { @@ -187,8 +185,6 @@ fn Call() { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref as %I.ref { @@ -230,8 +226,6 @@ fn Call() { // CHECK:STDOUT: fn @C.as.I.impl.F(%self.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { @@ -391,8 +385,6 @@ fn Call() { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.335 as imports.%Main.import_ref.e90 [from "c.carbon"] { @@ -422,8 +414,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc9_7.2, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc9_7.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Get [from "get.carbon"]; @@ -445,8 +435,6 @@ fn Call() { // CHECK:STDOUT: fn @Destroy.Op.loc9_7.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.dda) { diff --git a/toolchain/check/testdata/impl/multiple_extend.carbon b/toolchain/check/testdata/impl/multiple_extend.carbon index 95e795828c58..fc17c01d8826 100644 --- a/toolchain/check/testdata/impl/multiple_extend.carbon +++ b/toolchain/check/testdata/impl/multiple_extend.carbon @@ -246,8 +246,6 @@ fn P(o: O) { // CHECK:STDOUT: witness = (@HasF.WithSelf.%HasF.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasG { @@ -265,8 +263,6 @@ fn P(o: O) { // CHECK:STDOUT: witness = (@HasG.WithSelf.%HasG.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasF.impl: %Self.ref as %HasF.ref { @@ -324,15 +320,11 @@ fn P(o: O) { // CHECK:STDOUT: fn @C.as.HasF.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.HasG.impl.G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H(%c.param: %C) { @@ -354,8 +346,6 @@ fn P(o: O) { // CHECK:STDOUT: %impl.elem0.loc25: %.ccf = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%C.as.HasG.impl.G] // CHECK:STDOUT: %C.as.HasG.impl.G.call.loc25: init %empty_tuple.type = call %impl.elem0.loc25() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self.c62) { @@ -486,8 +476,6 @@ fn P(o: O) { // CHECK:STDOUT: witness = (@HasA1.WithSelf.%HasA1.WithSelf.A.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasA2 { @@ -504,8 +492,6 @@ fn P(o: O) { // CHECK:STDOUT: witness = (@HasA2.WithSelf.%HasA2.WithSelf.A.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @D.as.HasA1.impl: %Self.ref as %HasA1.ref { @@ -562,15 +548,11 @@ fn P(o: O) { // CHECK:STDOUT: fn @D.as.HasA1.impl.A() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @D.as.HasA2.impl.A() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B(%d.param: %D) { @@ -580,8 +562,6 @@ fn P(o: O) { // CHECK:STDOUT: %d.ref: %D = name_ref d, %d // CHECK:STDOUT: %A.ref.loc31: = name_ref A, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasA1.WithSelf(constants.%Self.1db) { @@ -706,8 +686,6 @@ fn P(o: O) { // CHECK:STDOUT: witness = (@HasI.WithSelf.%HasI.WithSelf.I.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @E.as.HasI.impl: %Self.ref as %HasI.ref { @@ -761,15 +739,11 @@ fn P(o: O) { // CHECK:STDOUT: fn @B.J() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @E.as.HasI.impl.I() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H(%e.param: %E) { @@ -789,8 +763,6 @@ fn P(o: O) { // CHECK:STDOUT: %J.ref.loc23: %B.J.type = name_ref J, @B.%B.J.decl [concrete = constants.%B.J] // CHECK:STDOUT: %B.J.call.loc23: init %empty_tuple.type = call %J.ref.loc23() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasI.WithSelf(constants.%Self) { @@ -887,8 +859,6 @@ fn P(o: O) { // CHECK:STDOUT: witness = (@HasK.WithSelf.%HasK.WithSelf.K.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @L.as.HasK.impl: %Self.ref as %HasK.ref { @@ -936,8 +906,6 @@ fn P(o: O) { // CHECK:STDOUT: fn @Base.K() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasK.WithSelf.K(@HasK.%Self: %HasK.type) { @@ -947,8 +915,6 @@ fn P(o: O) { // CHECK:STDOUT: fn @L.as.HasK.impl.K() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @M(%l.param: %L) { @@ -958,8 +924,6 @@ fn P(o: O) { // CHECK:STDOUT: %l.ref: %L = name_ref l, %l // CHECK:STDOUT: %K.ref.loc29: = name_ref K, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasK.WithSelf(constants.%Self) { @@ -1070,8 +1034,6 @@ fn P(o: O) { // CHECK:STDOUT: witness = (@HasN1.WithSelf.%HasN1.WithSelf.N.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasN2 { @@ -1088,8 +1050,6 @@ fn P(o: O) { // CHECK:STDOUT: witness = (@HasN2.WithSelf.%HasN2.WithSelf.N.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @O.as.HasN1.impl: %Self.ref as %HasN1.ref { @@ -1156,8 +1116,6 @@ fn P(o: O) { // CHECK:STDOUT: fn @NBase.N() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasN1.WithSelf.N(@HasN1.%Self: %HasN1.type) { @@ -1171,15 +1129,11 @@ fn P(o: O) { // CHECK:STDOUT: fn @O.as.HasN1.impl.N() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @O.as.HasN2.impl.N() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @O.N(); @@ -1193,8 +1147,6 @@ fn P(o: O) { // CHECK:STDOUT: %N.ref.loc29: %O.N.type = name_ref N, @O.%O.N.decl [concrete = constants.%O.N] // CHECK:STDOUT: %O.N.call.loc29: init %empty_tuple.type = call %N.ref.loc29() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasN1.WithSelf(constants.%Self.97e) { diff --git a/toolchain/check/testdata/impl/name_lookup_in_impl_definition.carbon b/toolchain/check/testdata/impl/name_lookup_in_impl_definition.carbon index 2a6d17002a88..818156ba9c99 100644 --- a/toolchain/check/testdata/impl/name_lookup_in_impl_definition.carbon +++ b/toolchain/check/testdata/impl/name_lookup_in_impl_definition.carbon @@ -98,8 +98,6 @@ impl forall [T: type] T as I where .U = C { // CHECK:STDOUT: %.loc13_31.3: init %C = as_compatible %.loc13_31.2 [concrete = constants.%C.val] // CHECK:STDOUT: %.loc13_31.4: init %C = converted %.loc13_27.2, %.loc13_31.3 [concrete = constants.%C.val] // CHECK:STDOUT: return %.loc13_31.4 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/no_definition_in_impl_file.carbon b/toolchain/check/testdata/impl/no_definition_in_impl_file.carbon index 4900e79cc5a2..f10e89cd8d64 100644 --- a/toolchain/check/testdata/impl/no_definition_in_impl_file.carbon +++ b/toolchain/check/testdata/impl/no_definition_in_impl_file.carbon @@ -134,8 +134,6 @@ impl () as D; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.A.impl: %.loc10_7.2 as %A.ref; @@ -182,8 +180,6 @@ impl () as D; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.A.impl.f51: imports.%Main.import_ref.e5c as imports.%Main.import_ref.201 [from "fail_decl_in_api_definition_in_impl.carbon"]; @@ -248,8 +244,6 @@ impl () as D; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.B.impl: %.loc10_7.2 as %B.ref; @@ -285,8 +279,6 @@ impl () as D; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.B.impl: imports.%Main.import_ref.e5c as imports.%Main.import_ref.21a [from "fail_decl_only_in_api.carbon"]; @@ -323,8 +315,6 @@ impl () as D; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.C.impl: %.loc10_7.2 as %C.ref; @@ -366,8 +356,6 @@ impl () as D; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.C.impl.4b9: imports.%Main.import_ref.e5c as imports.%Main.import_ref.3f1 [from "fail_decl_in_api_decl_in_impl.carbon"]; @@ -414,8 +402,6 @@ impl () as D; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.D.impl: %.loc10_7.2 as %D.ref; diff --git a/toolchain/check/testdata/impl/self_in_class.carbon b/toolchain/check/testdata/impl/self_in_class.carbon index e99ed6243153..12acf33a1e8d 100644 --- a/toolchain/check/testdata/impl/self_in_class.carbon +++ b/toolchain/check/testdata/impl/self_in_class.carbon @@ -93,8 +93,6 @@ class A { // CHECK:STDOUT: witness = (@DefaultConstructible.WithSelf.%DefaultConstructible.WithSelf.Make.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.DefaultConstructible.impl: %C.ref as %DefaultConstructible.ref { @@ -155,8 +153,6 @@ class A { // CHECK:STDOUT: %.loc25_33.2: init %C to %return.param = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc25_34: init %C = converted %.loc25_33.1, %.loc25_33.2 [concrete = constants.%C.val] // CHECK:STDOUT: return %.loc25_34 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @DefaultConstructible.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/self_in_signature.carbon b/toolchain/check/testdata/impl/self_in_signature.carbon index 53991c4ba8c5..86663c241e98 100644 --- a/toolchain/check/testdata/impl/self_in_signature.carbon +++ b/toolchain/check/testdata/impl/self_in_signature.carbon @@ -211,8 +211,6 @@ impl D as SelfNested { // CHECK:STDOUT: witness = (@UseSelf.WithSelf.%UseSelf.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @SelfNested { @@ -250,8 +248,6 @@ impl D as SelfNested { // CHECK:STDOUT: witness = (@SelfNested.WithSelf.%SelfNested.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.UseSelf.impl: %C.ref as %UseSelf.ref { @@ -405,8 +401,6 @@ impl D as SelfNested { // CHECK:STDOUT: %.loc24_52.2: init %C to %return.param = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc24_53: init %C = converted %.loc24_52.1, %.loc24_52.2 [concrete = constants.%C.val] // CHECK:STDOUT: return %.loc24_53 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @D.as.UseSelf.impl.F(%self.param: %D, %x.param: %D) -> out %return.param: %D { @@ -415,8 +409,6 @@ impl D as SelfNested { // CHECK:STDOUT: %.loc28_55.2: init %D to %return.param = class_init () [concrete = constants.%D.val] // CHECK:STDOUT: %.loc28_56: init %D = converted %.loc28_55.1, %.loc28_55.2 [concrete = constants.%D.val] // CHECK:STDOUT: return %.loc28_56 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @SelfNested.WithSelf.F(@SelfNested.%Self: %SelfNested.type) { diff --git a/toolchain/check/testdata/impl/todo_impl_with_unrelated_fn.carbon b/toolchain/check/testdata/impl/todo_impl_with_unrelated_fn.carbon index e73f7d492177..2044f73fb878 100644 --- a/toolchain/check/testdata/impl/todo_impl_with_unrelated_fn.carbon +++ b/toolchain/check/testdata/impl/todo_impl_with_unrelated_fn.carbon @@ -70,8 +70,6 @@ class X { // CHECK:STDOUT: witness = (@A.WithSelf.%A.WithSelf.B.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @X.as.A.impl: %Self.ref as %A.ref { @@ -107,15 +105,11 @@ class X { // CHECK:STDOUT: fn @X.as.A.impl.B() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @X.as.A.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/impl/use_assoc_entity.carbon b/toolchain/check/testdata/impl/use_assoc_entity.carbon index eabb39311c92..21a4663b77cf 100644 --- a/toolchain/check/testdata/impl/use_assoc_entity.carbon +++ b/toolchain/check/testdata/impl/use_assoc_entity.carbon @@ -626,8 +626,6 @@ fn F() { // CHECK:STDOUT: witness = (@J.WithSelf.%U, @J.WithSelf.%J.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.J.impl: %.loc10_7.2 as %.loc10_14 { @@ -714,8 +712,6 @@ fn F() { // CHECK:STDOUT: %bound_method.loc12_45.2: = bound_method %u.ref, %specific_fn // CHECK:STDOUT: %Int.as.Negate.impl.Op.call: init %i32 = call %bound_method.loc12_45.2(%u.ref) // CHECK:STDOUT: return %Int.as.Negate.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallMethod(%x.param: %empty_tuple.type) -> out %return.param: %i32 { @@ -735,8 +731,6 @@ fn F() { // CHECK:STDOUT: %.loc18_18.2: %i32 = converted %int_40, %.loc18_18.1 [concrete = constants.%int_40.e3d] // CHECK:STDOUT: %empty_tuple.type.as.J.impl.F.call: init %i32 = call %bound_method.loc18_11(%x.ref, %.loc18_18.2) // CHECK:STDOUT: return %empty_tuple.type.as.J.impl.F.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.J.impl.F(%self.param: %C, %u.param: %C) -> out %return.param: %C { @@ -747,8 +741,6 @@ fn F() { // CHECK:STDOUT: %.loc29_45.3: init %C = as_compatible %.loc29_45.2 [concrete = constants.%C.val] // CHECK:STDOUT: %.loc29_45.4: init %C = converted %self.ref, %.loc29_45.3 [concrete = constants.%C.val] // CHECK:STDOUT: return %.loc29_45.4 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%Self.653) { @@ -994,8 +986,6 @@ fn F() { // CHECK:STDOUT: %e5.patt: %pattern_type.6b6 = value_binding_pattern e5 [concrete = constants.%e5.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_associated_fn_in_impl.carbon @@ -1025,8 +1015,6 @@ fn F() { // CHECK:STDOUT: %F.ref: %E.as.J.impl.F.type = name_ref F, @E.as.J.impl.%E.as.J.impl.F.decl [concrete = constants.%E.as.J.impl.F] // CHECK:STDOUT: %E.as.J.impl.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_associated_constant_in_impl.carbon @@ -1115,8 +1103,6 @@ fn F() { // CHECK:STDOUT: %bound_method.loc12_14.2: = bound_method %u.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc12_14.2(%u.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_extend_fn.carbon @@ -1153,8 +1139,6 @@ fn F() { // CHECK:STDOUT: %F.ref: %.b5e = name_ref F, %impl.elem0 [concrete = constants.%E.as.J.impl.F] // CHECK:STDOUT: %E.as.J.impl.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_extend_constant.carbon @@ -1205,8 +1189,6 @@ fn F() { // CHECK:STDOUT: %.loc11_25.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc11_26: init %empty_tuple.type = converted %.loc11_25.1, %.loc11_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc11_26 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- associated_fn_use_in_def_before_decl.carbon @@ -1236,8 +1218,6 @@ fn F() { // CHECK:STDOUT: %G.ref: %A.as.J.impl.G.type = name_ref G, @A.as.J.impl.%A.as.J.impl.G.decl [concrete = constants.%A.as.J.impl.G] // CHECK:STDOUT: %A.as.J.impl.G.call: init %empty_tuple.type = call %G.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_non-type_in_function.carbon @@ -1280,7 +1260,5 @@ fn F() { // CHECK:STDOUT: %.loc11_25.2: init %empty_struct_type = struct_init () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc11_27: init %empty_struct_type = converted %.loc11_25.1, %.loc11_25.2 [concrete = constants.%empty_struct] // CHECK:STDOUT: return %.loc11_27 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/array_element_access.carbon b/toolchain/check/testdata/index/array_element_access.carbon index ff8b03e0bd55..4bdf2c75f650 100644 --- a/toolchain/check/testdata/index/array_element_access.carbon +++ b/toolchain/check/testdata/index/array_element_access.carbon @@ -204,7 +204,5 @@ var d: i32 = a[b]; // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc18: init %i32 = call %bound_method.loc18_17.2(%.loc18_17.2) // CHECK:STDOUT: assign file.%d.var, %Int.as.Copy.impl.Op.call.loc18 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/expr_category.carbon b/toolchain/check/testdata/index/expr_category.carbon index 03e08312c3aa..e08d5bbb335d 100644 --- a/toolchain/check/testdata/index/expr_category.carbon +++ b/toolchain/check/testdata/index/expr_category.carbon @@ -278,8 +278,6 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %a.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc18: init %empty_tuple.type = call %Destroy.Op.bound.loc18(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc21(%self.param: ref %ptr.d08) = "no_op"; @@ -289,15 +287,11 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: fn @Destroy.Op.loc18_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ValueBinding(%b.param: %array_type) { @@ -388,7 +382,5 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %a.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc26: init %empty_tuple.type = call %Destroy.Op.bound.loc26(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/fail_array_large_index.carbon b/toolchain/check/testdata/index/fail_array_large_index.carbon index fd5445064c92..a27d5f031313 100644 --- a/toolchain/check/testdata/index/fail_array_large_index.carbon +++ b/toolchain/check/testdata/index/fail_array_large_index.carbon @@ -187,7 +187,5 @@ var c: i32 = a[0x7FFF_FFFF]; // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc27: init %i32 = call %bound_method.loc27_27.2(%.loc27_27.2) [concrete = ] // CHECK:STDOUT: assign file.%c.var, %Int.as.Copy.impl.Op.call.loc27 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/fail_array_non_int_indexing.carbon b/toolchain/check/testdata/index/fail_array_non_int_indexing.carbon index 07f5ff7a4a63..d94053aba40d 100644 --- a/toolchain/check/testdata/index/fail_array_non_int_indexing.carbon +++ b/toolchain/check/testdata/index/fail_array_non_int_indexing.carbon @@ -144,7 +144,5 @@ var b: i32 = a[2.6]; // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc23_19.2(%.loc23_19.2) [concrete = ] // CHECK:STDOUT: assign file.%b.var, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/fail_array_out_of_bound_access.carbon b/toolchain/check/testdata/index/fail_array_out_of_bound_access.carbon index befede06f87f..0ad91b6c5578 100644 --- a/toolchain/check/testdata/index/fail_array_out_of_bound_access.carbon +++ b/toolchain/check/testdata/index/fail_array_out_of_bound_access.carbon @@ -149,7 +149,5 @@ var b: i32 = a[1]; // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc20_17.2(%.loc20_17.2) [concrete = ] // CHECK:STDOUT: assign file.%b.var, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/fail_expr_category.carbon b/toolchain/check/testdata/index/fail_expr_category.carbon index a058acf90685..5b6e385aeca4 100644 --- a/toolchain/check/testdata/index/fail_expr_category.carbon +++ b/toolchain/check/testdata/index/fail_expr_category.carbon @@ -273,8 +273,6 @@ fn G(b: array(i32, 3)) { // CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %pb.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%pb.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc41_5.1(%self.param: ref %i32.builtin) = "no_op"; @@ -282,15 +280,11 @@ fn G(b: array(i32, 3)) { // CHECK:STDOUT: fn @Destroy.Op.loc41_5.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc41_5.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc36(%self.param: ref %ptr.d08) = "no_op"; diff --git a/toolchain/check/testdata/index/fail_invalid_base.carbon b/toolchain/check/testdata/index/fail_invalid_base.carbon index 3672415dd221..e0d59965b96f 100644 --- a/toolchain/check/testdata/index/fail_invalid_base.carbon +++ b/toolchain/check/testdata/index/fail_invalid_base.carbon @@ -144,7 +144,5 @@ var d: i32 = {.a: i32, .b: i32}[0]; // CHECK:STDOUT: %int_0.loc40: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: assign file.%d.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/fail_name_not_found.carbon b/toolchain/check/testdata/index/fail_name_not_found.carbon index 6cbad170c1c9..fea60545ca46 100644 --- a/toolchain/check/testdata/index/fail_name_not_found.carbon +++ b/toolchain/check/testdata/index/fail_name_not_found.carbon @@ -76,8 +76,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -85,7 +83,5 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc20_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/fail_negative_indexing.carbon b/toolchain/check/testdata/index/fail_negative_indexing.carbon index 433b1ce175dd..b7d131236465 100644 --- a/toolchain/check/testdata/index/fail_negative_indexing.carbon +++ b/toolchain/check/testdata/index/fail_negative_indexing.carbon @@ -181,7 +181,5 @@ var d: i32 = c[-10]; // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc20_19.2(%.loc20_19.2) [concrete = ] // CHECK:STDOUT: assign file.%d.var, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/fail_non_tuple_access.carbon b/toolchain/check/testdata/index/fail_non_tuple_access.carbon index c59e652aa8d0..dfa900b3f3a0 100644 --- a/toolchain/check/testdata/index/fail_non_tuple_access.carbon +++ b/toolchain/check/testdata/index/fail_non_tuple_access.carbon @@ -54,7 +54,5 @@ fn Main() { // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/as_type.carbon b/toolchain/check/testdata/interface/as_type.carbon index 269ef2174bc0..b1b634f2d4b7 100644 --- a/toolchain/check/testdata/interface/as_type.carbon +++ b/toolchain/check/testdata/interface/as_type.carbon @@ -53,15 +53,11 @@ fn F(unused e: Empty) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%e.param: %Empty.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/interface/as_type_of_type.carbon b/toolchain/check/testdata/interface/as_type_of_type.carbon index 5f770a3320f5..c88808b1dc5e 100644 --- a/toolchain/check/testdata/interface/as_type_of_type.carbon +++ b/toolchain/check/testdata/interface/as_type_of_type.carbon @@ -109,8 +109,6 @@ fn F(generic T: Empty) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.Empty.impl: %C.ref as %Empty.ref { @@ -187,8 +185,6 @@ fn F(generic T: Empty) { // CHECK:STDOUT: %bound_method.loc22_3.2: = bound_method %x.var, %specific_impl_fn.loc22_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc22_3.2(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/assoc_const.carbon b/toolchain/check/testdata/interface/assoc_const.carbon index 3fc448012bd1..4f93aa8b47c0 100644 --- a/toolchain/check/testdata/interface/assoc_const.carbon +++ b/toolchain/check/testdata/interface/assoc_const.carbon @@ -75,8 +75,6 @@ interface I { // CHECK:STDOUT: witness = (@I.WithSelf.%T, @I.WithSelf.%N, @I.WithSelf.%Empty) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) {} diff --git a/toolchain/check/testdata/interface/assoc_const_in_generic.carbon b/toolchain/check/testdata/interface/assoc_const_in_generic.carbon index 414dce9b9079..0397e7e9d6bb 100644 --- a/toolchain/check/testdata/interface/assoc_const_in_generic.carbon +++ b/toolchain/check/testdata/interface/assoc_const_in_generic.carbon @@ -130,8 +130,6 @@ fn H() { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -164,8 +162,6 @@ fn H() { // CHECK:STDOUT: %.loc23: @G.%I.assoc_type (%I.assoc_type.b71) = specific_constant @I.WithSelf.%assoc0.loc16_29.1, @I.WithSelf(constants.%T, constants.%Self.191) [symbolic = %assoc0 (constants.%assoc0.13b)] // CHECK:STDOUT: %F.ref: @G.%I.assoc_type (%I.assoc_type.b71) = name_ref F, %.loc23 [symbolic = %assoc0 (constants.%assoc0.13b)] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -177,8 +173,6 @@ fn H() { // CHECK:STDOUT: %G.specific_fn: = specific_function %G.ref, @G(constants.%empty_struct_type) [concrete = constants.%G.specific_fn] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T) { diff --git a/toolchain/check/testdata/interface/basic.carbon b/toolchain/check/testdata/interface/basic.carbon index e62bf7962f63..ae014584f3a8 100644 --- a/toolchain/check/testdata/interface/basic.carbon +++ b/toolchain/check/testdata/interface/basic.carbon @@ -53,8 +53,6 @@ interface ForwardDeclared { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @ForwardDeclared { @@ -71,8 +69,6 @@ interface ForwardDeclared { // CHECK:STDOUT: witness = (@ForwardDeclared.WithSelf.%ForwardDeclared.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @ForwardDeclared.WithSelf.F(@ForwardDeclared.%Self: %ForwardDeclared.type) { diff --git a/toolchain/check/testdata/interface/compound_member_access.carbon b/toolchain/check/testdata/interface/compound_member_access.carbon index fb3a14b336a3..238d736f1133 100644 --- a/toolchain/check/testdata/interface/compound_member_access.carbon +++ b/toolchain/check/testdata/interface/compound_member_access.carbon @@ -291,8 +291,6 @@ fn Works() { // CHECK:STDOUT: witness = (@J.WithSelf.%U) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Simple1(%T.loc8_21.2: %J.type, %S.loc8_42.2: @Simple1.%impl.elem0.loc8_45.1 (%impl.elem0.436176.1)) { @@ -310,8 +308,6 @@ fn Works() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -329,8 +325,6 @@ fn Works() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -453,8 +447,6 @@ fn Works() { // CHECK:STDOUT: witness = (@K1.WithSelf.%K1.WithSelf.Q1.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @K1.WithSelf.Q1(@K1.%Self: %K1.type) { @@ -483,8 +475,6 @@ fn Works() { // CHECK:STDOUT: %specific_impl_fn.loc9_4.1: = specific_impl_function %impl.elem0.loc9_4.1, @K1.WithSelf.Q1(constants.%T) [symbolic = %specific_impl_fn.loc9_4.2 (constants.%specific_impl_fn.747340.1)] // CHECK:STDOUT: %K1.WithSelf.Q1.call: init %empty_tuple.type = call %specific_impl_fn.loc9_4.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -508,8 +498,6 @@ fn Works() { // CHECK:STDOUT: %specific_impl_fn.loc14_4.1: = specific_impl_function %impl.elem0.loc14_4.1, @K1.WithSelf.Q1(constants.%V) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.747340.2)] // CHECK:STDOUT: %K1.WithSelf.Q1.call: init %empty_tuple.type = call %specific_impl_fn.loc14_4.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -661,8 +649,6 @@ fn Works() { // CHECK:STDOUT: witness = (@K2.WithSelf.%K2.WithSelf.Q2.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @K2.WithSelf.Q2(@K2.%Self: %K2.type) { @@ -693,8 +679,6 @@ fn Works() { // CHECK:STDOUT: %specific_impl_fn.loc9_4.1: = specific_impl_function %impl.elem0.loc9_4.1, @K2.WithSelf.Q2(constants.%T) [symbolic = %specific_impl_fn.loc9_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %K2.WithSelf.Q2.call: init %empty_tuple.type = call %specific_impl_fn.loc9_4.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -716,8 +700,6 @@ fn Works() { // CHECK:STDOUT: %Q2.ref: %K2.assoc_type = name_ref Q2, @K2.WithSelf.%assoc0 [concrete = constants.%assoc0.7f8] // CHECK:STDOUT: %.loc22: %K2.type = converted %y.ref, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -952,8 +934,6 @@ fn Works() { // CHECK:STDOUT: witness = (@L1.WithSelf.%L1.WithSelf.R1.decl, @L1.WithSelf.%L1.WithSelf.S1.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @L1.WithSelf.R1(@L1.%Self: %L1.type) { @@ -1023,8 +1003,6 @@ fn Works() { // CHECK:STDOUT: %bound_method.loc11_9: = bound_method %.loc11_4.1, %specific_impl_fn.loc11_4.1 // CHECK:STDOUT: %L1.WithSelf.S1.call: init %empty_tuple.type = call %bound_method.loc11_9(%.loc11_4.1) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1077,8 +1055,6 @@ fn Works() { // CHECK:STDOUT: %bound_method.loc17_14: = bound_method %.loc17_4.1, %specific_impl_fn.loc17_4.1 // CHECK:STDOUT: %L1.WithSelf.S1.call: init %empty_tuple.type = call %bound_method.loc17_14(%.loc17_4.1) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1299,8 +1275,6 @@ fn Works() { // CHECK:STDOUT: witness = (@L2.WithSelf.%L2.WithSelf.R2.decl, @L2.WithSelf.%L2.WithSelf.S2.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @L2.WithSelf.R2(@L2.%Self: %L2.type) { @@ -1350,8 +1324,6 @@ fn Works() { // CHECK:STDOUT: %S2.ref: %L2.assoc_type = name_ref S2, @L2.WithSelf.%assoc1 [concrete = constants.%assoc1] // CHECK:STDOUT: %impl.elem1.loc26_4.1: @Simple5.%.loc26_4.2 (%.451) = impl_witness_access constants.%L2.lookup_impl_witness.d84, element1 [symbolic = %impl.elem1.loc26_4.2 (constants.%impl.elem1)] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1370,8 +1342,6 @@ fn Works() { // CHECK:STDOUT: %L2.ref.loc40: type = name_ref L2, file.%L2.decl [concrete = constants.%L2.type] // CHECK:STDOUT: %S2.ref: %L2.assoc_type = name_ref S2, @L2.WithSelf.%assoc1 [concrete = constants.%assoc1] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1499,8 +1469,6 @@ fn Works() { // CHECK:STDOUT: witness = (@A.WithSelf.%A.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.A.impl: %C.ref as %A.ref { @@ -1529,8 +1497,6 @@ fn Works() { // CHECK:STDOUT: fn @C.as.A.impl.G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Fails() { @@ -1592,8 +1558,6 @@ fn Works() { // CHECK:STDOUT: %G.ref.loc38: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.f27] // CHECK:STDOUT: %.loc38_32: %A.type = converted %.loc38_8, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { @@ -1690,8 +1654,6 @@ fn Works() { // CHECK:STDOUT: witness = (@A.WithSelf.%A.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.A.impl: %C.ref as %A.ref { @@ -1720,8 +1682,6 @@ fn Works() { // CHECK:STDOUT: fn @C.as.A.impl.G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Works() { @@ -1770,8 +1730,6 @@ fn Works() { // CHECK:STDOUT: %impl.elem0.loc15_17: %.282 = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%C.as.A.impl.G] // CHECK:STDOUT: %C.as.A.impl.G.call.loc15: init %empty_tuple.type = call %impl.elem0.loc15_17() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { diff --git a/toolchain/check/testdata/interface/default_fn.carbon b/toolchain/check/testdata/interface/default_fn.carbon index 9b0c7256cb6a..e7155cb30c09 100644 --- a/toolchain/check/testdata/interface/default_fn.carbon +++ b/toolchain/check/testdata/interface/default_fn.carbon @@ -113,8 +113,6 @@ class C { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref as %I.ref { @@ -183,16 +181,12 @@ class C { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.I.impl.F(%self.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_7.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -200,8 +194,6 @@ class C { // CHECK:STDOUT: fn @Destroy.Op.loc20_7.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.4e9) { diff --git a/toolchain/check/testdata/interface/export_name.carbon b/toolchain/check/testdata/interface/export_name.carbon index cc6244b71207..91290937b683 100644 --- a/toolchain/check/testdata/interface/export_name.carbon +++ b/toolchain/check/testdata/interface/export_name.carbon @@ -65,8 +65,6 @@ fn UseEmpty(unused i: I) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) {} @@ -97,8 +95,6 @@ fn UseEmpty(unused i: I) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) {} @@ -142,15 +138,11 @@ fn UseEmpty(unused i: I) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @UseEmpty(%i.param: %I.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/interface/fail_add_member_outside_definition.carbon b/toolchain/check/testdata/interface/fail_add_member_outside_definition.carbon index 1fccaf6d440d..614dfc8963e3 100644 --- a/toolchain/check/testdata/interface/fail_add_member_outside_definition.carbon +++ b/toolchain/check/testdata/interface/fail_add_member_outside_definition.carbon @@ -73,8 +73,6 @@ interface Outer { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Outer { @@ -91,8 +89,6 @@ interface Outer { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic interface @Inner(@Outer.%Self: %Outer.type) { @@ -114,8 +110,6 @@ interface Outer { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -125,8 +119,6 @@ interface Outer { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_assoc_const_alias.carbon b/toolchain/check/testdata/interface/fail_assoc_const_alias.carbon index 8a70a577b64a..9a93bbae2769 100644 --- a/toolchain/check/testdata/interface/fail_assoc_const_alias.carbon +++ b/toolchain/check/testdata/interface/fail_assoc_const_alias.carbon @@ -133,8 +133,6 @@ interface C { // CHECK:STDOUT: witness = (@J2.WithSelf.%J2.WithSelf.F2.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @J2.WithSelf.F2(@J2.%Self: %J2.type) { @@ -202,8 +200,6 @@ interface C { // CHECK:STDOUT: witness = (@C.WithSelf.%C.WithSelf.F.decl, @C.WithSelf.%C.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @C.WithSelf.G(@C.%Self: %C.type) { @@ -238,8 +234,6 @@ interface C { // CHECK:STDOUT: %bound_method.loc9_14: = bound_method %self.ref.loc9, %specific_impl_fn.loc9 // CHECK:STDOUT: %C.WithSelf.F.call.loc9: init %empty_tuple.type = call %bound_method.loc9_14(%self.ref.loc9) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_assoc_const_bad_default.carbon b/toolchain/check/testdata/interface/fail_assoc_const_bad_default.carbon index 972223ec439e..dc275318d7a8 100644 --- a/toolchain/check/testdata/interface/fail_assoc_const_bad_default.carbon +++ b/toolchain/check/testdata/interface/fail_assoc_const_bad_default.carbon @@ -70,8 +70,6 @@ interface I { // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) {} diff --git a/toolchain/check/testdata/interface/fail_assoc_fn_invalid_use.carbon b/toolchain/check/testdata/interface/fail_assoc_fn_invalid_use.carbon index a0a7e4a42e5a..1b9cb8d1dae3 100644 --- a/toolchain/check/testdata/interface/fail_assoc_fn_invalid_use.carbon +++ b/toolchain/check/testdata/interface/fail_assoc_fn_invalid_use.carbon @@ -100,8 +100,6 @@ fn Use(generic T: I) { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { @@ -134,8 +132,6 @@ fn Use(generic T: I) { // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc13_4.1: @Use.%.loc13_4.2 (%.81d) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_definition_imported.carbon b/toolchain/check/testdata/interface/fail_definition_imported.carbon index 576462a65302..bf0c31c0ac0d 100644 --- a/toolchain/check/testdata/interface/fail_definition_imported.carbon +++ b/toolchain/check/testdata/interface/fail_definition_imported.carbon @@ -79,8 +79,6 @@ interface I {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) {} diff --git a/toolchain/check/testdata/interface/fail_duplicate.carbon b/toolchain/check/testdata/interface/fail_duplicate.carbon index eace70ff9b8e..9fbc77449a51 100644 --- a/toolchain/check/testdata/interface/fail_duplicate.carbon +++ b/toolchain/check/testdata/interface/fail_duplicate.carbon @@ -105,8 +105,6 @@ interface Class { } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface.loc13 { @@ -123,8 +121,6 @@ interface Class { } // CHECK:STDOUT: witness = (@Interface.WithSelf.loc13.%Interface.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.loc13.%Self: %Interface.type.283524.2) { @@ -171,8 +167,6 @@ interface Class { } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface.loc13 { @@ -200,8 +194,6 @@ interface Class { } // CHECK:STDOUT: witness = (@Interface.WithSelf.loc13.%Interface.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.loc13.%Self: %Interface.type.283524.2) { @@ -271,8 +263,6 @@ interface Class { } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Class.loc2; diff --git a/toolchain/check/testdata/interface/fail_generic_redeclaration.carbon b/toolchain/check/testdata/interface/fail_generic_redeclaration.carbon index c4b03487d9c5..a021190ae267 100644 --- a/toolchain/check/testdata/interface/fail_generic_redeclaration.carbon +++ b/toolchain/check/testdata/interface/fail_generic_redeclaration.carbon @@ -138,8 +138,6 @@ interface DifferentParams(T: ()) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -159,8 +157,6 @@ interface DifferentParams(T: ()) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic interface @DifferentParams.loc35(%T.loc35_28.2: type) { @@ -187,8 +183,6 @@ interface DifferentParams(T: ()) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_lookup_in_type_type.carbon b/toolchain/check/testdata/interface/fail_lookup_in_type_type.carbon index 38c521c7030b..502e61fbed4e 100644 --- a/toolchain/check/testdata/interface/fail_lookup_in_type_type.carbon +++ b/toolchain/check/testdata/interface/fail_lookup_in_type_type.carbon @@ -54,8 +54,6 @@ let U: (type where .Self impls type).missing = {}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc8: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_lookup_type_where.carbon @@ -104,7 +102,5 @@ let U: (type where .Self impls type).missing = {}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc8: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_lookup_undefined.carbon b/toolchain/check/testdata/interface/fail_lookup_undefined.carbon index dfd8c573b445..231092bd5b77 100644 --- a/toolchain/check/testdata/interface/fail_lookup_undefined.carbon +++ b/toolchain/check/testdata/interface/fail_lookup_undefined.carbon @@ -105,8 +105,6 @@ interface BeingDefined { // CHECK:STDOUT: witness = (@BeingDefined.WithSelf.%BeingDefined.WithSelf.H.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(); @@ -116,8 +114,6 @@ interface BeingDefined { // CHECK:STDOUT: %Undefined.ref: type = name_ref Undefined, file.%Undefined.decl [concrete = constants.%Undefined.type] // CHECK:STDOUT: %G.ref: = name_ref G, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @BeingDefined.WithSelf.H(@BeingDefined.%Self: %BeingDefined.type) { diff --git a/toolchain/check/testdata/interface/fail_member_lookup.carbon b/toolchain/check/testdata/interface/fail_member_lookup.carbon index 6c5166231d29..38932dc91ef0 100644 --- a/toolchain/check/testdata/interface/fail_member_lookup.carbon +++ b/toolchain/check/testdata/interface/fail_member_lookup.carbon @@ -131,8 +131,6 @@ fn G(generic U: Different) -> U.(Interface.T); // CHECK:STDOUT: witness = (@Interface.WithSelf.%Interface.WithSelf.F.decl, @Interface.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Different { @@ -144,8 +142,6 @@ fn G(generic U: Different) -> U.(Interface.T); // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.%Self: %Interface.type) { @@ -169,8 +165,6 @@ fn G(generic U: Different) -> U.(Interface.T); // CHECK:STDOUT: %v.var_patt: = var_pattern %v.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%U.loc32_15.2: %Different.type) { diff --git a/toolchain/check/testdata/interface/fail_modifiers.carbon b/toolchain/check/testdata/interface/fail_modifiers.carbon index fe9ec5f63885..70a7cb763cd9 100644 --- a/toolchain/check/testdata/interface/fail_modifiers.carbon +++ b/toolchain/check/testdata/interface/fail_modifiers.carbon @@ -101,8 +101,6 @@ interface I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Abstract.WithSelf(constants.%Self) {} @@ -145,8 +143,6 @@ interface I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Virtual.WithSelf(constants.%Self) {} @@ -213,8 +209,6 @@ interface I { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { @@ -284,8 +278,6 @@ interface I { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { diff --git a/toolchain/check/testdata/interface/fail_redeclare_member.carbon b/toolchain/check/testdata/interface/fail_redeclare_member.carbon index 61a0cd47dfe8..cb4cb35887d6 100644 --- a/toolchain/check/testdata/interface/fail_redeclare_member.carbon +++ b/toolchain/check/testdata/interface/fail_redeclare_member.carbon @@ -57,8 +57,6 @@ interface Interface { // CHECK:STDOUT: witness = (@Interface.WithSelf.%Interface.WithSelf.F.decl.loc16) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.%Self: %Interface.type) { diff --git a/toolchain/check/testdata/interface/fail_todo_assoc_const_default.carbon b/toolchain/check/testdata/interface/fail_todo_assoc_const_default.carbon index 8dc679f76f62..4d7441c93385 100644 --- a/toolchain/check/testdata/interface/fail_todo_assoc_const_default.carbon +++ b/toolchain/check/testdata/interface/fail_todo_assoc_const_default.carbon @@ -112,8 +112,6 @@ interface I { // CHECK:STDOUT: witness = (@I.WithSelf.%T, @I.WithSelf.%N) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) {} diff --git a/toolchain/check/testdata/interface/fail_todo_define_default_fn_inline.carbon b/toolchain/check/testdata/interface/fail_todo_define_default_fn_inline.carbon index a4b4922bc05b..a3cced1bc30b 100644 --- a/toolchain/check/testdata/interface/fail_todo_define_default_fn_inline.carbon +++ b/toolchain/check/testdata/interface/fail_todo_define_default_fn_inline.carbon @@ -105,8 +105,6 @@ interface Interface { // CHECK:STDOUT: witness = (@Interface.WithSelf.%Interface.WithSelf.F.decl, @Interface.WithSelf.%Interface.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.%Self: %Interface.type) { @@ -115,8 +113,6 @@ interface Interface { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_todo_define_default_fn_out_of_line.carbon b/toolchain/check/testdata/interface/fail_todo_define_default_fn_out_of_line.carbon index b5d214275cdb..7b6483a3c8ce 100644 --- a/toolchain/check/testdata/interface/fail_todo_define_default_fn_out_of_line.carbon +++ b/toolchain/check/testdata/interface/fail_todo_define_default_fn_out_of_line.carbon @@ -154,8 +154,6 @@ fn Interface.C.F(unused self, generic U: type, u: U*) -> U* { return u; } // CHECK:STDOUT: witness = (@Interface.WithSelf.%Interface.WithSelf.F.decl, @Interface.WithSelf.%Interface.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.%Self: %Interface.type) { @@ -164,8 +162,6 @@ fn Interface.C.F(unused self, generic U: type, u: U*) -> U* { return u; } // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -281,8 +277,6 @@ fn Interface.C.F(unused self, generic U: type, u: U*) -> U* { return u; } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(@Interface.%Self: %Interface.type) { @@ -373,8 +367,6 @@ fn Interface.C.F(unused self, generic U: type, u: U*) -> U* { return u; } // CHECK:STDOUT: %bound_method.loc20_70.2: = bound_method %u.ref, %specific_impl_fn.loc20_70.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @C.F.%ptr.loc14_37.1 (%ptr.18e) = call %bound_method.loc20_70.2(%u.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_todo_modifiers.carbon b/toolchain/check/testdata/interface/fail_todo_modifiers.carbon index b811c26ac4b4..ceaca3857975 100644 --- a/toolchain/check/testdata/interface/fail_todo_modifiers.carbon +++ b/toolchain/check/testdata/interface/fail_todo_modifiers.carbon @@ -63,8 +63,6 @@ interface Modifiers { // CHECK:STDOUT: witness = (@Modifiers.WithSelf.%Modifiers.WithSelf.Final.decl, @Modifiers.WithSelf.%Modifiers.WithSelf.Default.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Modifiers.WithSelf.Final(@Modifiers.%Self: %Modifiers.type) { @@ -73,8 +71,6 @@ interface Modifiers { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -84,8 +80,6 @@ interface Modifiers { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/final.carbon b/toolchain/check/testdata/interface/final.carbon index 80d3888a5f7f..308415153568 100644 --- a/toolchain/check/testdata/interface/final.carbon +++ b/toolchain/check/testdata/interface/final.carbon @@ -162,8 +162,6 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { @@ -175,8 +173,6 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic final impl @T.as_type.as.I.impl(%T.loc7_21.2: %J.type) { @@ -228,8 +224,6 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -255,8 +249,6 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: %specific_impl_fn.loc11_26.1: = specific_impl_function %impl.elem0.loc11_26.1, @I.WithSelf.F(constants.%T.dda) [symbolic = %specific_impl_fn.loc11_26.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %I.WithSelf.F.call: init %empty_tuple.type = call %specific_impl_fn.loc11_26.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -281,8 +273,6 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: %UseI.specific_fn.loc12_25.1: = specific_function %UseI.ref, @UseI(constants.%I.facet.39f) [symbolic = %UseI.specific_fn.loc12_25.2 (constants.%UseI.specific_fn.081)] // CHECK:STDOUT: %UseI.call: init %empty_tuple.type = call %UseI.specific_fn.loc12_25.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -295,8 +285,6 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: %UseJ.specific_fn: = specific_function %UseJ.ref, @UseJ(constants.%J.facet) [concrete = constants.%UseJ.specific_fn] // CHECK:STDOUT: %UseJ.call: init %empty_tuple.type = call %UseJ.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) { diff --git a/toolchain/check/testdata/interface/generic.carbon b/toolchain/check/testdata/interface/generic.carbon index 5a078fbee49b..8bd2e258b7c6 100644 --- a/toolchain/check/testdata/interface/generic.carbon +++ b/toolchain/check/testdata/interface/generic.carbon @@ -225,8 +225,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -262,8 +260,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: witness = (@WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -348,8 +344,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: %.loc17_15.2: init %X to %return.param = class_init () [concrete = constants.%X.val] // CHECK:STDOUT: %.loc17_16: init %X = converted %.loc17_15.1, %.loc17_15.2 [concrete = constants.%X.val] // CHECK:STDOUT: return %.loc17_16 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Receive(%T.loc24_28.3: %Simple.type.d50) { @@ -362,8 +356,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -381,8 +373,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: %Receive.specific_fn.loc26_3.1: = specific_function %Receive.ref, @Receive(constants.%T.16788c.1) [symbolic = %Receive.specific_fn.loc26_3.2 (constants.%Receive.specific_fn)] // CHECK:STDOUT: %Receive.call: init %empty_tuple.type = call %Receive.specific_fn.loc26_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -571,8 +561,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -612,8 +600,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: %T.ref: %Generic.type.57d = name_ref T, %T.loc10_15.2 [symbolic = %T.loc10_15.1 (constants.%T.f18)] // CHECK:STDOUT: %T.as_type.loc18_6.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc18_6.2 (constants.%T.as_type)] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -714,8 +700,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -725,8 +709,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/generic_binding_after_assoc_const.carbon b/toolchain/check/testdata/interface/generic_binding_after_assoc_const.carbon index 88865940194a..0a9d3bab3026 100644 --- a/toolchain/check/testdata/interface/generic_binding_after_assoc_const.carbon +++ b/toolchain/check/testdata/interface/generic_binding_after_assoc_const.carbon @@ -84,8 +84,6 @@ interface I { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.%U, @I.WithSelf.%I.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type, %T.loc16_17.2: type) { diff --git a/toolchain/check/testdata/interface/generic_import.carbon b/toolchain/check/testdata/interface/generic_import.carbon index a0b3e83668aa..39d95ba27009 100644 --- a/toolchain/check/testdata/interface/generic_import.carbon +++ b/toolchain/check/testdata/interface/generic_import.carbon @@ -86,8 +86,6 @@ impl C as AddWith(C) { // CHECK:STDOUT: witness = (@AddWith.WithSelf.%AddWith.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -174,8 +172,6 @@ impl C as AddWith(C) { // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -205,8 +201,6 @@ impl C as AddWith(C) { // CHECK:STDOUT: fn @C.as.AddWith.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith(constants.%T) { diff --git a/toolchain/check/testdata/interface/generic_method.carbon b/toolchain/check/testdata/interface/generic_method.carbon index 9b1fba1e1f38..b11514e17f61 100644 --- a/toolchain/check/testdata/interface/generic_method.carbon +++ b/toolchain/check/testdata/interface/generic_method.carbon @@ -386,8 +386,6 @@ fn CallIndirect() { // CHECK:STDOUT: witness = (@A.WithSelf.%A.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -529,8 +527,6 @@ fn CallIndirect() { // CHECK:STDOUT: %.loc17_22.5: init @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.316) to %return.param = tuple_init (%.loc17_22.2, %.loc17_22.3, %.loc17_22.4) // CHECK:STDOUT: %.loc17_23: init @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.316) = converted %.loc17_22.1, %.loc17_22.5 // CHECK:STDOUT: return %.loc17_23 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -574,8 +570,6 @@ fn CallIndirect() { // CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %u.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call.loc22: init %empty_tuple.type = call %Destroy.Op.bound.loc22(%u.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_22.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -583,15 +577,11 @@ fn CallIndirect() { // CHECK:STDOUT: fn @Destroy.Op.loc23_22.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_22.3(%self.param: ref %Y) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_22.4(%self.param: ref %ptr.415) = "no_op"; @@ -599,15 +589,11 @@ fn CallIndirect() { // CHECK:STDOUT: fn @Destroy.Op.loc23_22.5(%self.param: ref %tuple.type.2cd) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22(%self.param: ref %Z) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallGeneric(%T.loc26_25.2: %facet_type) { @@ -673,8 +659,6 @@ fn CallIndirect() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %u.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%u.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -687,8 +671,6 @@ fn CallIndirect() { // CHECK:STDOUT: %CallGeneric.specific_fn: = specific_function %CallGeneric.ref, @CallGeneric(constants.%facet_value) [concrete = constants.%CallGeneric.specific_fn] // CHECK:STDOUT: %CallGeneric.call: init %empty_tuple.type = call %CallGeneric.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A(constants.%T.67d) { @@ -1209,8 +1191,6 @@ fn CallIndirect() { // CHECK:STDOUT: witness = (@A.WithSelf.%A.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1360,8 +1340,6 @@ fn CallIndirect() { // CHECK:STDOUT: %.loc17_49.1: ref @tuple.type.as.A.impl.F.%tuple.type.loc17_49.2 (%tuple.type.897) = splice_block %return.param {} // CHECK:STDOUT: %tuple.type.as.A.impl.F.call: init @tuple.type.as.A.impl.F.%tuple.type.loc17_49.2 (%tuple.type.897) to %.loc17_49.1 = call %tuple.type.as.A.impl.F.specific_fn.loc18_12.1(%u.ref) // CHECK:STDOUT: return %tuple.type.as.A.impl.F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1397,8 +1375,6 @@ fn CallIndirect() { // CHECK:STDOUT: %Destroy.Op.call.loc24_39: init %empty_tuple.type = call %Destroy.Op.bound(%.loc24_39.2) // CHECK:STDOUT: %Destroy.Op.call.loc24_38: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.7dc) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_39.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1406,43 +1382,31 @@ fn CallIndirect() { // CHECK:STDOUT: fn @Destroy.Op.loc24_39.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_39.3(%self.param: ref %Y1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_39.4(%self.param: ref %Y2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_39.5(%self.param: ref %tuple.type.59f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_39.6(%self.param: ref %Z) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_39.7(%self.param: ref %tuple.type.d40) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallGeneric(%T.loc27_25.2: %facet_type) { @@ -1496,8 +1460,6 @@ fn CallIndirect() { // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc28_12.2(%.loc28_12.2) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.7dc) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1514,8 +1476,6 @@ fn CallIndirect() { // CHECK:STDOUT: %CallGeneric.specific_fn: = specific_function %CallGeneric.ref, @CallGeneric(constants.%facet_value) [concrete = constants.%CallGeneric.specific_fn] // CHECK:STDOUT: %CallGeneric.call: init %empty_tuple.type = call %CallGeneric.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A(constants.%T.67d) { diff --git a/toolchain/check/testdata/interface/generic_vs_params.carbon b/toolchain/check/testdata/interface/generic_vs_params.carbon index 369c649f663f..b6a1d06bdb66 100644 --- a/toolchain/check/testdata/interface/generic_vs_params.carbon +++ b/toolchain/check/testdata/interface/generic_vs_params.carbon @@ -198,8 +198,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @NotGenericButParams { @@ -211,8 +209,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic interface @GenericAndParams.loc6(%T.loc6_29.2: type) { @@ -232,8 +228,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -252,8 +246,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -275,8 +267,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -487,8 +477,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%Self) {} @@ -518,8 +506,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%Self) {} @@ -549,8 +535,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Bar.WithSelf(constants.%Self) {} @@ -601,8 +585,6 @@ interface Bar[T: type] {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/import.carbon b/toolchain/check/testdata/interface/import.carbon index c82efec33518..5d84b4174db4 100644 --- a/toolchain/check/testdata/interface/import.carbon +++ b/toolchain/check/testdata/interface/import.carbon @@ -130,8 +130,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Basic { @@ -152,8 +150,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: witness = (@Basic.WithSelf.%T, @Basic.WithSelf.%Basic.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @ForwardDeclared { @@ -174,8 +170,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: witness = (@ForwardDeclared.WithSelf.%T, @ForwardDeclared.WithSelf.%ForwardDeclared.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Basic.WithSelf.F(@Basic.%Self: %Basic.type) { @@ -196,8 +190,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %struct_type.f = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%f_ref.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.d44) {} @@ -379,8 +371,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Basic [from "a.carbon"] { @@ -391,8 +381,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: witness = (imports.%Main.T.e1d, imports.%Main.F.a88) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @ForwardDeclared [from "a.carbon"] { @@ -403,15 +391,11 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: witness = (imports.%Main.T.c9b, imports.%Main.F.511) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @UseEmpty(%e.param: %Empty.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Basic.WithSelf.F(imports.%Main.import_ref.316a0d.2: %Basic.type) [from "a.carbon"] { @@ -421,8 +405,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: fn @UseBasic(%e.param: %Basic.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @ForwardDeclared.WithSelf.F(imports.%Main.import_ref.a75fa2.2: %ForwardDeclared.type) [from "a.carbon"] { @@ -432,8 +414,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: fn @UseForwardDeclared(%f.param: %ForwardDeclared.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -448,8 +428,6 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.b71 = call %bound_method.loc16_27.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%f.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.4e8) { diff --git a/toolchain/check/testdata/interface/import_access.carbon b/toolchain/check/testdata/interface/import_access.carbon index 5b4600d776ce..cef997c94087 100644 --- a/toolchain/check/testdata/interface/import_access.carbon +++ b/toolchain/check/testdata/interface/import_access.carbon @@ -175,8 +175,6 @@ private interface Redecl {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Def.WithSelf(constants.%Self) {} @@ -205,8 +203,6 @@ private interface Redecl {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ForwardWithDef.WithSelf(constants.%Self) {} @@ -257,15 +253,11 @@ private interface Redecl {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%i.param: %Def.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Def.WithSelf(constants.%Self) { @@ -298,8 +290,6 @@ private interface Redecl {} // CHECK:STDOUT: fn @F(%i.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_def.carbon @@ -338,8 +328,6 @@ private interface Redecl {} // CHECK:STDOUT: fn @F(%i.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forward_with_def.impl.carbon @@ -382,15 +370,11 @@ private interface Redecl {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%i.param: %ForwardWithDef.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ForwardWithDef.WithSelf(constants.%Self) { @@ -423,8 +407,6 @@ private interface Redecl {} // CHECK:STDOUT: fn @F(%i.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_forward_with_def.carbon @@ -463,8 +445,6 @@ private interface Redecl {} // CHECK:STDOUT: fn @F(%i.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_forward.impl.carbon @@ -506,15 +486,11 @@ private interface Redecl {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%i.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Forward.WithSelf(constants.%Self) {} @@ -548,8 +524,6 @@ private interface Redecl {} // CHECK:STDOUT: fn @F(%i.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_forward.carbon @@ -588,8 +562,6 @@ private interface Redecl {} // CHECK:STDOUT: fn @F(%i.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- todo_fail_private_on_redecl.carbon @@ -616,8 +588,6 @@ private interface Redecl {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Redecl.WithSelf(constants.%Self) {} diff --git a/toolchain/check/testdata/interface/import_interface_decl.carbon b/toolchain/check/testdata/interface/import_interface_decl.carbon index f66d1e9572d1..278f2237b2eb 100644 --- a/toolchain/check/testdata/interface/import_interface_decl.carbon +++ b/toolchain/check/testdata/interface/import_interface_decl.carbon @@ -74,8 +74,6 @@ impl library "[[@TEST_NAME]]"; // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.B.impl: imports.%Main.import_ref.e5c as imports.%Main.import_ref.21a [from "fail_b.carbon"]; diff --git a/toolchain/check/testdata/interface/incomplete.carbon b/toolchain/check/testdata/interface/incomplete.carbon index 70d71b30afd1..30cd7f20fc67 100644 --- a/toolchain/check/testdata/interface/incomplete.carbon +++ b/toolchain/check/testdata/interface/incomplete.carbon @@ -133,8 +133,6 @@ interface A(T: type) { // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C; @@ -207,8 +205,6 @@ interface A(T: type) { // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as..impl: %.loc16_7.2 as { @@ -296,8 +292,6 @@ interface A(T: type) { // CHECK:STDOUT: witness = (@I.WithSelf.%T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C; @@ -321,8 +315,6 @@ interface A(T: type) { // CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, @T.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc11_4.1: %C = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -372,8 +364,6 @@ interface A(T: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @A; @@ -414,8 +404,6 @@ interface A(T: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @A.WithSelf.Self.as_type.impls.A.type.require(@A.%Self: %A.type) { @@ -493,8 +481,6 @@ interface A(T: type) { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/local.carbon b/toolchain/check/testdata/interface/local.carbon index 5a44c8cc1f12..fc71f562c446 100644 --- a/toolchain/check/testdata/interface/local.carbon +++ b/toolchain/check/testdata/interface/local.carbon @@ -84,8 +84,6 @@ fn F() { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.G.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc19_9.2 as %I.ref { @@ -123,8 +121,6 @@ fn F() { // CHECK:STDOUT: %.loc22_4.2: %empty_tuple.type = converted %.loc22_4.1, %empty_tuple [concrete = constants.%empty_tuple] // CHECK:STDOUT: %empty_tuple.type.as.I.impl.G.call: init %empty_tuple.type = call %bound_method(%.loc22_4.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.G(@I.%Self: %I.type) { @@ -140,8 +136,6 @@ fn F() { // CHECK:STDOUT: fn @empty_tuple.type.as.I.impl.G(%self.param: %empty_tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/interface/member_lookup.carbon b/toolchain/check/testdata/interface/member_lookup.carbon index cf6a57475381..e5044f3bb9f6 100644 --- a/toolchain/check/testdata/interface/member_lookup.carbon +++ b/toolchain/check/testdata/interface/member_lookup.carbon @@ -225,8 +225,6 @@ fn AccessMissingConcrete(generic I: Interface(i32)) -> i32 { // CHECK:STDOUT: witness = (@Interface.WithSelf.%X) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -279,8 +277,6 @@ fn AccessMissingConcrete(generic I: Interface(i32)) -> i32 { // CHECK:STDOUT: %bound_method.loc9_11.2: = bound_method %impl.elem0.loc9_11.1, %specific_impl_fn.loc9_11.1 [symbolic = %bound_method.loc9_11.4 (constants.%bound_method.060)] // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @AccessGeneric.%ptr.loc8_56.1 (%ptr.e8f) = call %bound_method.loc9_11.2(%impl.elem0.loc9_11.1) // CHECK:STDOUT: return %Copy.WithSelf.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -309,8 +305,6 @@ fn AccessMissingConcrete(generic I: Interface(i32)) -> i32 { // CHECK:STDOUT: %bound_method.loc13_11.2: = bound_method %impl.elem0.loc13_11.1, %specific_fn [symbolic = %bound_method.loc13_11.3 (constants.%bound_method.195)] // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d08 = call %bound_method.loc13_11.2(%impl.elem0.loc13_11.1) [symbolic = %impl.elem0.loc13_11.3 (constants.%impl.elem0.3b7)] // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -525,8 +519,6 @@ fn AccessMissingConcrete(generic I: Interface(i32)) -> i32 { // CHECK:STDOUT: witness = (@Interface.WithSelf.%X) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -554,8 +546,6 @@ fn AccessMissingConcrete(generic I: Interface(i32)) -> i32 { // CHECK:STDOUT: %.loc13: type = converted %I.ref, %I.as_type.loc13_11.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.3c3)] // CHECK:STDOUT: %nonesuch.ref: = name_ref nonesuch, [concrete = ] // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -573,8 +563,6 @@ fn AccessMissingConcrete(generic I: Interface(i32)) -> i32 { // CHECK:STDOUT: %.loc21: type = converted %I.ref, %I.as_type.loc21_11.1 [symbolic = %I.as_type.loc21_11.2 (constants.%I.as_type.307)] // CHECK:STDOUT: %nonesuch.ref: = name_ref nonesuch, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/observe.carbon b/toolchain/check/testdata/interface/observe.carbon index 658930b9a3d9..18af6c0f0da3 100644 --- a/toolchain/check/testdata/interface/observe.carbon +++ b/toolchain/check/testdata/interface/observe.carbon @@ -3,7 +3,6 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // INCLUDE-FILE: toolchain/testing/testdata/min_prelude/convert.carbon -// EXTRA-ARGS: --dump-sem-ir-ranges=if-present // // AUTOUPDATE // TIP: To test this file alone, run: @@ -18,6 +17,7 @@ interface P { fn InP(self); } interface Q { fn InQ(self); } interface R { fn InR(self); } +//@dump-sem-ir-begin interface Transitive { let A: P & Core.Destroy; let B: (Q where .Self == A) & Core.Destroy; @@ -28,6 +28,7 @@ interface Transitive { observe A == B == C; } +//@dump-sem-ir-end // --- fail_todo_equivalent.carbon library "[[@TEST_NAME]]"; @@ -174,6 +175,7 @@ impl forall [T: C] T as D { } fn RequiresB[T: B](unused x: T) {} fn RequiresD[T: D](unused x: T) {} +//@dump-sem-ir-begin fn RequiresA[T: A](x: T) { RequiresB(x); @@ -181,6 +183,7 @@ fn RequiresA[T: A](x: T) { observe T impls C; RequiresD(x); } +//@dump-sem-ir-end // --- fail_todo_nested_functions_in_outer.carbon library "[[@TEST_NAME]]"; @@ -188,6 +191,7 @@ library "[[@TEST_NAME]]"; interface A {} interface B {} +//@dump-sem-ir-begin fn RequiresA[T: A](unused x: T) {} fn F[T: A, U: B where .Self == T]() { observe T == U; @@ -203,6 +207,7 @@ fn F[T: A, U: B where .Self == T]() { RequiresA(x); } } +//@dump-sem-ir-end // --- fail_todo_nested_functions_in_inner.carbon library "[[@TEST_NAME]]"; @@ -353,6 +358,7 @@ library "[[@TEST_NAME]]"; interface A {} interface B {} +//@dump-sem-ir-begin interface I(T: A & Core.Destroy) { let U: (B where .Self == T) & Core.Destroy; @@ -361,6 +367,7 @@ interface I(T: A & Core.Destroy) { observe T == U; } +//@dump-sem-ir-end // --- fail_todo_generic_import.carbon library "[[@TEST_NAME]]"; @@ -377,7 +384,7 @@ fn F[T: I(C)](t: T) { // CHECK:STDERR: t.TakesT(u); // CHECK:STDERR: ^~~~~~~~~~~ // CHECK:STDERR: fail_todo_generic_import.carbon:[[@LINE-11]]:1: in import [InImport] - // CHECK:STDERR: generic_observe.carbon:9:3: note: while deducing parameters of generic declared here [DeductionGenericHere] + // CHECK:STDERR: generic_observe.carbon:10:3: note: while deducing parameters of generic declared here [DeductionGenericHere] // CHECK:STDERR: fn TakesT(self, t: T); // CHECK:STDERR: ^~~~~~~~~~~~~~~~~~~~~~ // CHECK:STDERR: @@ -387,41 +394,8 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: --- transitive.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %P.type: type = facet_type <@P> [concrete] -// CHECK:STDOUT: %Self.801: %P.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.b49: type = facet_access_type %Self.801 [symbolic] -// CHECK:STDOUT: %pattern_type.fc0: type = pattern_type %Self.as_type.b49 [symbolic] -// CHECK:STDOUT: %self.param_patt.97c: %pattern_type.fc0 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.090: %pattern_type.fc0 = at_binding_pattern self, %self.param_patt.97c [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP.type: type = fn_type @P.WithSelf.InP, @P.WithSelf(%Self.801) [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP: %P.WithSelf.InP.type = struct_value () [symbolic] -// CHECK:STDOUT: %P.assoc_type: type = assoc_entity_type @P [concrete] -// CHECK:STDOUT: %assoc0.1ba: %P.assoc_type = assoc_entity element0, @P.WithSelf.%P.WithSelf.InP.decl [concrete] -// CHECK:STDOUT: %Q.type: type = facet_type <@Q> [concrete] -// CHECK:STDOUT: %Self.ca9: %Q.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.7c9: type = facet_access_type %Self.ca9 [symbolic] -// CHECK:STDOUT: %pattern_type.684: type = pattern_type %Self.as_type.7c9 [symbolic] -// CHECK:STDOUT: %self.param_patt.9cf: %pattern_type.684 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.f63: %pattern_type.684 = at_binding_pattern self, %self.param_patt.9cf [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.type: type = fn_type @Q.WithSelf.InQ, @Q.WithSelf(%Self.ca9) [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ: %Q.WithSelf.InQ.type = struct_value () [symbolic] -// CHECK:STDOUT: %Q.assoc_type: type = assoc_entity_type @Q [concrete] -// CHECK:STDOUT: %assoc0.26a: %Q.assoc_type = assoc_entity element0, @Q.WithSelf.%Q.WithSelf.InQ.decl [concrete] -// CHECK:STDOUT: %R.type: type = facet_type <@R> [concrete] -// CHECK:STDOUT: %Self.9c1: %R.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.85f: type = facet_access_type %Self.9c1 [symbolic] -// CHECK:STDOUT: %pattern_type.ebd: type = pattern_type %Self.as_type.85f [symbolic] -// CHECK:STDOUT: %self.param_patt.659: %pattern_type.ebd = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.da0: %pattern_type.ebd = at_binding_pattern self, %self.param_patt.659 [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.type: type = fn_type @R.WithSelf.InR, @R.WithSelf(%Self.9c1) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR: %R.WithSelf.InR.type = struct_value () [symbolic] -// CHECK:STDOUT: %R.assoc_type: type = assoc_entity_type @R [concrete] -// CHECK:STDOUT: %assoc0.782: %R.assoc_type = assoc_entity element0, @R.WithSelf.%R.WithSelf.InR.decl [concrete] // CHECK:STDOUT: %Transitive.type: type = facet_type <@Transitive> [concrete] // CHECK:STDOUT: %Self.77c: %Transitive.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %BitAndWith.type.a06: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.a06 = struct_value () [concrete] // CHECK:STDOUT: %facet_type.b1b: type = facet_type <@P & @Destroy> [concrete] // CHECK:STDOUT: %Transitive.assoc_type: type = assoc_entity_type @Transitive [concrete] // CHECK:STDOUT: %assoc0.1be: %Transitive.assoc_type = assoc_entity element0, @Transitive.WithSelf.%A [concrete] @@ -455,119 +429,10 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: %as_type.aed: type = facet_access_type %impl.elem1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .Destroy = %Core.Destroy -// CHECK:STDOUT: .BitAndWith = %Core.BitAndWith -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.a06 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: } -// CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .P = %P.decl -// CHECK:STDOUT: .Q = %Q.decl -// CHECK:STDOUT: .R = %R.decl -// CHECK:STDOUT: .Transitive = %Transitive.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %P.decl: type = interface_decl @P [concrete = constants.%P.type] {} {} -// CHECK:STDOUT: %Q.decl: type = interface_decl @Q [concrete = constants.%Q.type] {} {} -// CHECK:STDOUT: %R.decl: type = interface_decl @R [concrete = constants.%R.type] {} {} // CHECK:STDOUT: %Transitive.decl: type = interface_decl @Transitive [concrete = constants.%Transitive.type] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: interface @P { -// CHECK:STDOUT: %Self: %P.type = symbolic_binding Self, 0 [symbolic = constants.%Self.801] -// CHECK:STDOUT: %P.WithSelf.decl = interface_with_self_decl @P [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %P.WithSelf.InP.decl: @P.WithSelf.%P.WithSelf.InP.type (%P.WithSelf.InP.type) = fn_decl @P.WithSelf.InP [symbolic = @P.WithSelf.%P.WithSelf.InP (constants.%P.WithSelf.InP)] { -// CHECK:STDOUT: %self.param_patt.loc3_22.1: @P.WithSelf.InP.%pattern_type (%pattern_type.fc0) = value_param_pattern [symbolic = %self.param_patt.loc3_22.2 (constants.%self.param_patt.97c)] -// CHECK:STDOUT: %self.patt.loc3_22.1: @P.WithSelf.InP.%pattern_type (%pattern_type.fc0) = at_binding_pattern self, %self.param_patt.loc3_22.1 [symbolic = %self.patt.loc3_22.2 (constants.%self.patt.090)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @P.WithSelf.InP.%Self.as_type.loc3_22.1 (%Self.as_type.b49) = value_param call_param0 -// CHECK:STDOUT: %.loc3_22.1: type = splice_block %.loc3_22.2 [symbolic = %Self.as_type.loc3_22.1 (constants.%Self.as_type.b49)] { -// CHECK:STDOUT: %Self.ref: %P.type = name_ref Self, @P.%Self [symbolic = %Self (constants.%Self.801)] -// CHECK:STDOUT: %Self.as_type.loc3_22.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc3_22.1 (constants.%Self.as_type.b49)] -// CHECK:STDOUT: %.loc3_22.2: type = converted %Self.ref, %Self.as_type.loc3_22.2 [symbolic = %Self.as_type.loc3_22.1 (constants.%Self.as_type.b49)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %self: @P.WithSelf.InP.%Self.as_type.loc3_22.1 (%Self.as_type.b49) = wrapper_binding self, %self.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %P.assoc_type = assoc_entity element0, %P.WithSelf.InP.decl [concrete = constants.%assoc0.1ba] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: .InP = @P.WithSelf.%assoc0 -// CHECK:STDOUT: witness = (@P.WithSelf.%P.WithSelf.InP.decl) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Q { -// CHECK:STDOUT: %Self: %Q.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ca9] -// CHECK:STDOUT: %Q.WithSelf.decl = interface_with_self_decl @Q [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Q.WithSelf.InQ.decl: @Q.WithSelf.%Q.WithSelf.InQ.type (%Q.WithSelf.InQ.type) = fn_decl @Q.WithSelf.InQ [symbolic = @Q.WithSelf.%Q.WithSelf.InQ (constants.%Q.WithSelf.InQ)] { -// CHECK:STDOUT: %self.param_patt.loc4_22.1: @Q.WithSelf.InQ.%pattern_type (%pattern_type.684) = value_param_pattern [symbolic = %self.param_patt.loc4_22.2 (constants.%self.param_patt.9cf)] -// CHECK:STDOUT: %self.patt.loc4_22.1: @Q.WithSelf.InQ.%pattern_type (%pattern_type.684) = at_binding_pattern self, %self.param_patt.loc4_22.1 [symbolic = %self.patt.loc4_22.2 (constants.%self.patt.f63)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @Q.WithSelf.InQ.%Self.as_type.loc4_22.1 (%Self.as_type.7c9) = value_param call_param0 -// CHECK:STDOUT: %.loc4_22.1: type = splice_block %.loc4_22.2 [symbolic = %Self.as_type.loc4_22.1 (constants.%Self.as_type.7c9)] { -// CHECK:STDOUT: %Self.ref: %Q.type = name_ref Self, @Q.%Self [symbolic = %Self (constants.%Self.ca9)] -// CHECK:STDOUT: %Self.as_type.loc4_22.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc4_22.1 (constants.%Self.as_type.7c9)] -// CHECK:STDOUT: %.loc4_22.2: type = converted %Self.ref, %Self.as_type.loc4_22.2 [symbolic = %Self.as_type.loc4_22.1 (constants.%Self.as_type.7c9)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %self: @Q.WithSelf.InQ.%Self.as_type.loc4_22.1 (%Self.as_type.7c9) = wrapper_binding self, %self.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %Q.assoc_type = assoc_entity element0, %Q.WithSelf.InQ.decl [concrete = constants.%assoc0.26a] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: .InQ = @Q.WithSelf.%assoc0 -// CHECK:STDOUT: witness = (@Q.WithSelf.%Q.WithSelf.InQ.decl) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @R { -// CHECK:STDOUT: %Self: %R.type = symbolic_binding Self, 0 [symbolic = constants.%Self.9c1] -// CHECK:STDOUT: %R.WithSelf.decl = interface_with_self_decl @R [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %R.WithSelf.InR.decl: @R.WithSelf.%R.WithSelf.InR.type (%R.WithSelf.InR.type) = fn_decl @R.WithSelf.InR [symbolic = @R.WithSelf.%R.WithSelf.InR (constants.%R.WithSelf.InR)] { -// CHECK:STDOUT: %self.param_patt.loc5_22.1: @R.WithSelf.InR.%pattern_type (%pattern_type.ebd) = value_param_pattern [symbolic = %self.param_patt.loc5_22.2 (constants.%self.param_patt.659)] -// CHECK:STDOUT: %self.patt.loc5_22.1: @R.WithSelf.InR.%pattern_type (%pattern_type.ebd) = at_binding_pattern self, %self.param_patt.loc5_22.1 [symbolic = %self.patt.loc5_22.2 (constants.%self.patt.da0)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @R.WithSelf.InR.%Self.as_type.loc5_22.1 (%Self.as_type.85f) = value_param call_param0 -// CHECK:STDOUT: %.loc5_22.1: type = splice_block %.loc5_22.2 [symbolic = %Self.as_type.loc5_22.1 (constants.%Self.as_type.85f)] { -// CHECK:STDOUT: %Self.ref: %R.type = name_ref Self, @R.%Self [symbolic = %Self (constants.%Self.9c1)] -// CHECK:STDOUT: %Self.as_type.loc5_22.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_22.1 (constants.%Self.as_type.85f)] -// CHECK:STDOUT: %.loc5_22.2: type = converted %Self.ref, %Self.as_type.loc5_22.2 [symbolic = %Self.as_type.loc5_22.1 (constants.%Self.as_type.85f)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %self: @R.WithSelf.InR.%Self.as_type.loc5_22.1 (%Self.as_type.85f) = wrapper_binding self, %self.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %R.assoc_type = assoc_entity element0, %R.WithSelf.InR.decl [concrete = constants.%assoc0.782] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: .InR = @R.WithSelf.%assoc0 -// CHECK:STDOUT: witness = (@R.WithSelf.%R.WithSelf.InR.decl) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: // CHECK:STDOUT: interface @Transitive { // CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = constants.%Self.77c] // CHECK:STDOUT: %Transitive.WithSelf.decl = interface_with_self_decl @Transitive [concrete] @@ -583,64 +448,64 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: %assoc2: %Transitive.assoc_type = assoc_entity element2, @Transitive.WithSelf.%C [concrete = constants.%assoc2] // CHECK:STDOUT: } // CHECK:STDOUT: %Transitive.WithSelf.GetA.decl: @Transitive.WithSelf.%Transitive.WithSelf.GetA.type (%Transitive.WithSelf.GetA.type) = fn_decl @Transitive.WithSelf.GetA [symbolic = @Transitive.WithSelf.%Transitive.WithSelf.GetA (constants.%Transitive.WithSelf.GetA)] { -// CHECK:STDOUT: %self.param_patt.loc12_11.1: @Transitive.WithSelf.GetA.%pattern_type.loc12_11 (%pattern_type.b5c) = value_param_pattern [symbolic = %self.param_patt.loc12_11.2 (constants.%self.param_patt.ae9)] -// CHECK:STDOUT: %self.patt.loc12_11.1: @Transitive.WithSelf.GetA.%pattern_type.loc12_11 (%pattern_type.b5c) = at_binding_pattern self, %self.param_patt.loc12_11.1 [symbolic = %self.patt.loc12_11.2 (constants.%self.patt.12b)] -// CHECK:STDOUT: %return.param_patt.loc12_20.1: @Transitive.WithSelf.GetA.%pattern_type.loc12_20 (%pattern_type.51a) = out_param_pattern [symbolic = %return.param_patt.loc12_20.2 (constants.%return.param_patt.931)] -// CHECK:STDOUT: %return.patt.loc12_17.1: @Transitive.WithSelf.GetA.%pattern_type.loc12_20 (%pattern_type.51a) = return_slot_pattern %return.param_patt.loc12_20.1, %.loc12_20.2 [symbolic = %return.patt.loc12_17.2 (constants.%return.patt.680)] +// CHECK:STDOUT: %self.param_patt.loc13_11.1: @Transitive.WithSelf.GetA.%pattern_type.loc13_11 (%pattern_type.b5c) = value_param_pattern [symbolic = %self.param_patt.loc13_11.2 (constants.%self.param_patt.ae9)] +// CHECK:STDOUT: %self.patt.loc13_11.1: @Transitive.WithSelf.GetA.%pattern_type.loc13_11 (%pattern_type.b5c) = at_binding_pattern self, %self.param_patt.loc13_11.1 [symbolic = %self.patt.loc13_11.2 (constants.%self.patt.12b)] +// CHECK:STDOUT: %return.param_patt.loc13_20.1: @Transitive.WithSelf.GetA.%pattern_type.loc13_20 (%pattern_type.51a) = out_param_pattern [symbolic = %return.param_patt.loc13_20.2 (constants.%return.param_patt.931)] +// CHECK:STDOUT: %return.patt.loc13_17.1: @Transitive.WithSelf.GetA.%pattern_type.loc13_20 (%pattern_type.51a) = return_slot_pattern %return.param_patt.loc13_20.1, %.loc13_20.2 [symbolic = %return.patt.loc13_17.2 (constants.%return.patt.680)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %impl.elem0.loc12_20.2: %facet_type.b1b = impl_witness_access constants.%Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_20.1 (constants.%impl.elem0)] -// CHECK:STDOUT: %A.ref: %facet_type.b1b = name_ref A, %impl.elem0.loc12_20.2 [symbolic = %impl.elem0.loc12_20.1 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc13_20.2: %facet_type.b1b = impl_witness_access constants.%Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_20.1 (constants.%impl.elem0)] +// CHECK:STDOUT: %A.ref: %facet_type.b1b = name_ref A, %impl.elem0.loc13_20.2 [symbolic = %impl.elem0.loc13_20.1 (constants.%impl.elem0)] // CHECK:STDOUT: %A.as_type: type = facet_access_type %A.ref [symbolic = %as_type (constants.%as_type.d30)] -// CHECK:STDOUT: %.loc12_20.2: type = converted %A.ref, %A.as_type [symbolic = %as_type (constants.%as_type.d30)] -// CHECK:STDOUT: %.loc12_20.3: Core.Form = init_form %.loc12_20.2 [symbolic = %.loc12_20.1 (constants.%.117)] -// CHECK:STDOUT: %self.param: @Transitive.WithSelf.GetA.%Self.as_type.loc12_11.1 (%Self.as_type.7f2) = value_param call_param0 -// CHECK:STDOUT: %.loc12_11.1: type = splice_block %.loc12_11.2 [symbolic = %Self.as_type.loc12_11.1 (constants.%Self.as_type.7f2)] { +// CHECK:STDOUT: %.loc13_20.2: type = converted %A.ref, %A.as_type [symbolic = %as_type (constants.%as_type.d30)] +// CHECK:STDOUT: %.loc13_20.3: Core.Form = init_form %.loc13_20.2 [symbolic = %.loc13_20.1 (constants.%.117)] +// CHECK:STDOUT: %self.param: @Transitive.WithSelf.GetA.%Self.as_type.loc13_11.1 (%Self.as_type.7f2) = value_param call_param0 +// CHECK:STDOUT: %.loc13_11.1: type = splice_block %.loc13_11.2 [symbolic = %Self.as_type.loc13_11.1 (constants.%Self.as_type.7f2)] { // CHECK:STDOUT: %Self.ref: %Transitive.type = name_ref Self, @Transitive.%Self [symbolic = %Self (constants.%Self.77c)] -// CHECK:STDOUT: %Self.as_type.loc12_11.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc12_11.1 (constants.%Self.as_type.7f2)] -// CHECK:STDOUT: %.loc12_11.2: type = converted %Self.ref, %Self.as_type.loc12_11.2 [symbolic = %Self.as_type.loc12_11.1 (constants.%Self.as_type.7f2)] +// CHECK:STDOUT: %Self.as_type.loc13_11.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc13_11.1 (constants.%Self.as_type.7f2)] +// CHECK:STDOUT: %.loc13_11.2: type = converted %Self.ref, %Self.as_type.loc13_11.2 [symbolic = %Self.as_type.loc13_11.1 (constants.%Self.as_type.7f2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @Transitive.WithSelf.GetA.%Self.as_type.loc12_11.1 (%Self.as_type.7f2) = wrapper_binding self, %self.param +// CHECK:STDOUT: %self: @Transitive.WithSelf.GetA.%Self.as_type.loc13_11.1 (%Self.as_type.7f2) = wrapper_binding self, %self.param // CHECK:STDOUT: %return.param: ref @Transitive.WithSelf.GetA.%as_type (%as_type.d30) = out_param call_param1 // CHECK:STDOUT: %return: ref @Transitive.WithSelf.GetA.%as_type (%as_type.d30) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %assoc3: %Transitive.assoc_type = assoc_entity element3, %Transitive.WithSelf.GetA.decl [concrete = constants.%assoc3] // CHECK:STDOUT: %Transitive.WithSelf.TakesC.decl: @Transitive.WithSelf.%Transitive.WithSelf.TakesC.type (%Transitive.WithSelf.TakesC.type) = fn_decl @Transitive.WithSelf.TakesC [symbolic = @Transitive.WithSelf.%Transitive.WithSelf.TakesC (constants.%Transitive.WithSelf.TakesC)] { -// CHECK:STDOUT: %self.param_patt.loc13_13.1: @Transitive.WithSelf.TakesC.%pattern_type.loc13_13 (%pattern_type.b5c) = value_param_pattern [symbolic = %self.param_patt.loc13_13.2 (constants.%self.param_patt.ae9)] -// CHECK:STDOUT: %self.patt.loc13_13.1: @Transitive.WithSelf.TakesC.%pattern_type.loc13_13 (%pattern_type.b5c) = at_binding_pattern self, %self.param_patt.loc13_13.1 [symbolic = %self.patt.loc13_13.2 (constants.%self.patt.12b)] -// CHECK:STDOUT: %c.param_patt.loc13_20.1: @Transitive.WithSelf.TakesC.%pattern_type.loc13_20 (%pattern_type.007) = value_param_pattern [symbolic = %c.param_patt.loc13_20.2 (constants.%c.param_patt)] -// CHECK:STDOUT: %c.patt.loc13_20.1: @Transitive.WithSelf.TakesC.%pattern_type.loc13_20 (%pattern_type.007) = at_binding_pattern c, %c.param_patt.loc13_20.1 [symbolic = %c.patt.loc13_20.2 (constants.%c.patt)] +// CHECK:STDOUT: %self.param_patt.loc14_13.1: @Transitive.WithSelf.TakesC.%pattern_type.loc14_13 (%pattern_type.b5c) = value_param_pattern [symbolic = %self.param_patt.loc14_13.2 (constants.%self.param_patt.ae9)] +// CHECK:STDOUT: %self.patt.loc14_13.1: @Transitive.WithSelf.TakesC.%pattern_type.loc14_13 (%pattern_type.b5c) = at_binding_pattern self, %self.param_patt.loc14_13.1 [symbolic = %self.patt.loc14_13.2 (constants.%self.patt.12b)] +// CHECK:STDOUT: %c.param_patt.loc14_20.1: @Transitive.WithSelf.TakesC.%pattern_type.loc14_20 (%pattern_type.007) = value_param_pattern [symbolic = %c.param_patt.loc14_20.2 (constants.%c.param_patt)] +// CHECK:STDOUT: %c.patt.loc14_20.1: @Transitive.WithSelf.TakesC.%pattern_type.loc14_20 (%pattern_type.007) = at_binding_pattern c, %c.param_patt.loc14_20.1 [symbolic = %c.patt.loc14_20.2 (constants.%c.patt)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @Transitive.WithSelf.TakesC.%Self.as_type.loc13_13.1 (%Self.as_type.7f2) = value_param call_param0 -// CHECK:STDOUT: %.loc13_13.1: type = splice_block %.loc13_13.2 [symbolic = %Self.as_type.loc13_13.1 (constants.%Self.as_type.7f2)] { +// CHECK:STDOUT: %self.param: @Transitive.WithSelf.TakesC.%Self.as_type.loc14_13.1 (%Self.as_type.7f2) = value_param call_param0 +// CHECK:STDOUT: %.loc14_13.1: type = splice_block %.loc14_13.2 [symbolic = %Self.as_type.loc14_13.1 (constants.%Self.as_type.7f2)] { // CHECK:STDOUT: %Self.ref: %Transitive.type = name_ref Self, @Transitive.%Self [symbolic = %Self (constants.%Self.77c)] -// CHECK:STDOUT: %Self.as_type.loc13_13.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc13_13.1 (constants.%Self.as_type.7f2)] -// CHECK:STDOUT: %.loc13_13.2: type = converted %Self.ref, %Self.as_type.loc13_13.2 [symbolic = %Self.as_type.loc13_13.1 (constants.%Self.as_type.7f2)] +// CHECK:STDOUT: %Self.as_type.loc14_13.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc14_13.1 (constants.%Self.as_type.7f2)] +// CHECK:STDOUT: %.loc14_13.2: type = converted %Self.ref, %Self.as_type.loc14_13.2 [symbolic = %Self.as_type.loc14_13.1 (constants.%Self.as_type.7f2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @Transitive.WithSelf.TakesC.%Self.as_type.loc13_13.1 (%Self.as_type.7f2) = wrapper_binding self, %self.param +// CHECK:STDOUT: %self: @Transitive.WithSelf.TakesC.%Self.as_type.loc14_13.1 (%Self.as_type.7f2) = wrapper_binding self, %self.param // CHECK:STDOUT: %c.param: @Transitive.WithSelf.TakesC.%as_type (%as_type.472) = value_param call_param1 -// CHECK:STDOUT: %.loc13_22.1: type = splice_block %.loc13_22.2 [symbolic = %as_type (constants.%as_type.472)] { -// CHECK:STDOUT: %impl.elem2.loc13_22.2: %facet_type.4c8 = impl_witness_access constants.%Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc13_22.1 (constants.%impl.elem2)] -// CHECK:STDOUT: %C.ref: %facet_type.4c8 = name_ref C, %impl.elem2.loc13_22.2 [symbolic = %impl.elem2.loc13_22.1 (constants.%impl.elem2)] +// CHECK:STDOUT: %.loc14_22.1: type = splice_block %.loc14_22.2 [symbolic = %as_type (constants.%as_type.472)] { +// CHECK:STDOUT: %impl.elem2.loc14_22.2: %facet_type.4c8 = impl_witness_access constants.%Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc14_22.1 (constants.%impl.elem2)] +// CHECK:STDOUT: %C.ref: %facet_type.4c8 = name_ref C, %impl.elem2.loc14_22.2 [symbolic = %impl.elem2.loc14_22.1 (constants.%impl.elem2)] // CHECK:STDOUT: %C.as_type: type = facet_access_type %C.ref [symbolic = %as_type (constants.%as_type.472)] -// CHECK:STDOUT: %.loc13_22.2: type = converted %C.ref, %C.as_type [symbolic = %as_type (constants.%as_type.472)] +// CHECK:STDOUT: %.loc14_22.2: type = converted %C.ref, %C.as_type [symbolic = %as_type (constants.%as_type.472)] // CHECK:STDOUT: } // CHECK:STDOUT: %c: @Transitive.WithSelf.TakesC.%as_type (%as_type.472) = wrapper_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: %assoc4: %Transitive.assoc_type = assoc_entity element4, %Transitive.WithSelf.TakesC.decl [concrete = constants.%assoc4] -// CHECK:STDOUT: %impl.elem0.loc15: %facet_type.b1b = impl_witness_access constants.%Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9 (constants.%impl.elem0)] -// CHECK:STDOUT: %A.ref: %facet_type.b1b = name_ref A, %impl.elem0.loc15 [symbolic = %impl.elem0.loc9 (constants.%impl.elem0)] -// CHECK:STDOUT: %impl.elem1.loc15: %facet_type.130 = impl_witness_access constants.%Transitive.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc10 (constants.%impl.elem1)] -// CHECK:STDOUT: %B.ref: %facet_type.130 = name_ref B, %impl.elem1.loc15 [symbolic = %impl.elem1.loc10 (constants.%impl.elem1)] -// CHECK:STDOUT: %B.as_type.loc15_16.1: type = facet_access_type %B.ref [symbolic = %as_type.loc15_16 (constants.%as_type.aed)] -// CHECK:STDOUT: %.loc15_16.1: type = converted %B.ref, %B.as_type.loc15_16.1 [symbolic = %as_type.loc15_16 (constants.%as_type.aed)] -// CHECK:STDOUT: %A.as_type: type = facet_access_type %A.ref [symbolic = %as_type.loc15_11 (constants.%as_type.d30)] -// CHECK:STDOUT: %.loc15_11: type = converted %A.ref, %A.as_type [symbolic = %as_type.loc15_11 (constants.%as_type.d30)] -// CHECK:STDOUT: %impl.elem2.loc15_21.1: %facet_type.4c8 = impl_witness_access constants.%Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc15_21.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %C.ref: %facet_type.4c8 = name_ref C, %impl.elem2.loc15_21.1 [symbolic = %impl.elem2.loc15_21.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %C.as_type: type = facet_access_type %C.ref [symbolic = %as_type.loc15_21 (constants.%as_type.472)] -// CHECK:STDOUT: %.loc15_21: type = converted %C.ref, %C.as_type [symbolic = %as_type.loc15_21 (constants.%as_type.472)] -// CHECK:STDOUT: %B.as_type.loc15_16.2: type = facet_access_type %B.ref [symbolic = %as_type.loc15_16 (constants.%as_type.aed)] -// CHECK:STDOUT: %.loc15_16.2: type = converted %B.ref, %B.as_type.loc15_16.2 [symbolic = %as_type.loc15_16 (constants.%as_type.aed)] +// CHECK:STDOUT: %impl.elem0.loc16: %facet_type.b1b = impl_witness_access constants.%Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10 (constants.%impl.elem0)] +// CHECK:STDOUT: %A.ref: %facet_type.b1b = name_ref A, %impl.elem0.loc16 [symbolic = %impl.elem0.loc10 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem1.loc16: %facet_type.130 = impl_witness_access constants.%Transitive.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc11 (constants.%impl.elem1)] +// CHECK:STDOUT: %B.ref: %facet_type.130 = name_ref B, %impl.elem1.loc16 [symbolic = %impl.elem1.loc11 (constants.%impl.elem1)] +// CHECK:STDOUT: %B.as_type.loc16_16.1: type = facet_access_type %B.ref [symbolic = %as_type.loc16_16 (constants.%as_type.aed)] +// CHECK:STDOUT: %.loc16_16.1: type = converted %B.ref, %B.as_type.loc16_16.1 [symbolic = %as_type.loc16_16 (constants.%as_type.aed)] +// CHECK:STDOUT: %A.as_type: type = facet_access_type %A.ref [symbolic = %as_type.loc16_11 (constants.%as_type.d30)] +// CHECK:STDOUT: %.loc16_11: type = converted %A.ref, %A.as_type [symbolic = %as_type.loc16_11 (constants.%as_type.d30)] +// CHECK:STDOUT: %impl.elem2.loc16_21.1: %facet_type.4c8 = impl_witness_access constants.%Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc16_21.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %C.ref: %facet_type.4c8 = name_ref C, %impl.elem2.loc16_21.1 [symbolic = %impl.elem2.loc16_21.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %C.as_type: type = facet_access_type %C.ref [symbolic = %as_type.loc16_21 (constants.%as_type.472)] +// CHECK:STDOUT: %.loc16_21: type = converted %C.ref, %C.as_type [symbolic = %as_type.loc16_21 (constants.%as_type.472)] +// CHECK:STDOUT: %B.as_type.loc16_16.2: type = facet_access_type %B.ref [symbolic = %as_type.loc16_16 (constants.%as_type.aed)] +// CHECK:STDOUT: %.loc16_16.2: type = converted %B.ref, %B.as_type.loc16_16.2 [symbolic = %as_type.loc16_16 (constants.%as_type.aed)] // CHECK:STDOUT: %Transitive.observe.decl = observe_decl @Transitive.observe [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -666,2984 +531,88 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @P.WithSelf.InP(@P.%Self: %P.type) { -// CHECK:STDOUT: %Self: %P.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.801)] -// CHECK:STDOUT: %Self.as_type.loc3_22.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc3_22.1 (constants.%Self.as_type.b49)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc3_22.1 [symbolic = %pattern_type (constants.%pattern_type.fc0)] -// CHECK:STDOUT: %self.param_patt.loc3_22.2: @P.WithSelf.InP.%pattern_type (%pattern_type.fc0) = value_param_pattern [symbolic = %self.param_patt.loc3_22.2 (constants.%self.param_patt.97c)] -// CHECK:STDOUT: %self.patt.loc3_22.2: @P.WithSelf.InP.%pattern_type (%pattern_type.fc0) = at_binding_pattern self, %self.param_patt.loc3_22.2 [symbolic = %self.patt.loc3_22.2 (constants.%self.patt.090)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @P.WithSelf.InP.%Self.as_type.loc3_22.1 (%Self.as_type.b49)); -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Q.WithSelf.InQ(@Q.%Self: %Q.type) { -// CHECK:STDOUT: %Self: %Q.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.ca9)] -// CHECK:STDOUT: %Self.as_type.loc4_22.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc4_22.1 (constants.%Self.as_type.7c9)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_22.1 [symbolic = %pattern_type (constants.%pattern_type.684)] -// CHECK:STDOUT: %self.param_patt.loc4_22.2: @Q.WithSelf.InQ.%pattern_type (%pattern_type.684) = value_param_pattern [symbolic = %self.param_patt.loc4_22.2 (constants.%self.param_patt.9cf)] -// CHECK:STDOUT: %self.patt.loc4_22.2: @Q.WithSelf.InQ.%pattern_type (%pattern_type.684) = at_binding_pattern self, %self.param_patt.loc4_22.2 [symbolic = %self.patt.loc4_22.2 (constants.%self.patt.f63)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @Q.WithSelf.InQ.%Self.as_type.loc4_22.1 (%Self.as_type.7c9)); -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @R.WithSelf.InR(@R.%Self: %R.type) { -// CHECK:STDOUT: %Self: %R.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.9c1)] -// CHECK:STDOUT: %Self.as_type.loc5_22.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_22.1 (constants.%Self.as_type.85f)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_22.1 [symbolic = %pattern_type (constants.%pattern_type.ebd)] -// CHECK:STDOUT: %self.param_patt.loc5_22.2: @R.WithSelf.InR.%pattern_type (%pattern_type.ebd) = value_param_pattern [symbolic = %self.param_patt.loc5_22.2 (constants.%self.param_patt.659)] -// CHECK:STDOUT: %self.patt.loc5_22.2: @R.WithSelf.InR.%pattern_type (%pattern_type.ebd) = at_binding_pattern self, %self.param_patt.loc5_22.2 [symbolic = %self.patt.loc5_22.2 (constants.%self.patt.da0)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @R.WithSelf.InR.%Self.as_type.loc5_22.1 (%Self.as_type.85f)); -// CHECK:STDOUT: } -// CHECK:STDOUT: // CHECK:STDOUT: generic fn @Transitive.WithSelf.GetA(@Transitive.%Self: %Transitive.type) { // CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.77c)] -// CHECK:STDOUT: %Self.as_type.loc12_11.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc12_11.1 (constants.%Self.as_type.7f2)] -// CHECK:STDOUT: %pattern_type.loc12_11: type = pattern_type %Self.as_type.loc12_11.1 [symbolic = %pattern_type.loc12_11 (constants.%pattern_type.b5c)] -// CHECK:STDOUT: %self.param_patt.loc12_11.2: @Transitive.WithSelf.GetA.%pattern_type.loc12_11 (%pattern_type.b5c) = value_param_pattern [symbolic = %self.param_patt.loc12_11.2 (constants.%self.param_patt.ae9)] -// CHECK:STDOUT: %self.patt.loc12_11.2: @Transitive.WithSelf.GetA.%pattern_type.loc12_11 (%pattern_type.b5c) = at_binding_pattern self, %self.param_patt.loc12_11.2 [symbolic = %self.patt.loc12_11.2 (constants.%self.patt.12b)] +// CHECK:STDOUT: %Self.as_type.loc13_11.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc13_11.1 (constants.%Self.as_type.7f2)] +// CHECK:STDOUT: %pattern_type.loc13_11: type = pattern_type %Self.as_type.loc13_11.1 [symbolic = %pattern_type.loc13_11 (constants.%pattern_type.b5c)] +// CHECK:STDOUT: %self.param_patt.loc13_11.2: @Transitive.WithSelf.GetA.%pattern_type.loc13_11 (%pattern_type.b5c) = value_param_pattern [symbolic = %self.param_patt.loc13_11.2 (constants.%self.param_patt.ae9)] +// CHECK:STDOUT: %self.patt.loc13_11.2: @Transitive.WithSelf.GetA.%pattern_type.loc13_11 (%pattern_type.b5c) = at_binding_pattern self, %self.param_patt.loc13_11.2 [symbolic = %self.patt.loc13_11.2 (constants.%self.patt.12b)] // CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc12_20.1: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_20.1 (constants.%impl.elem0)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0.loc12_20.1 [symbolic = %as_type (constants.%as_type.d30)] -// CHECK:STDOUT: %.loc12_20.1: Core.Form = init_form %as_type [symbolic = %.loc12_20.1 (constants.%.117)] -// CHECK:STDOUT: %pattern_type.loc12_20: type = pattern_type %as_type [symbolic = %pattern_type.loc12_20 (constants.%pattern_type.51a)] -// CHECK:STDOUT: %return.param_patt.loc12_20.2: @Transitive.WithSelf.GetA.%pattern_type.loc12_20 (%pattern_type.51a) = out_param_pattern [symbolic = %return.param_patt.loc12_20.2 (constants.%return.param_patt.931)] -// CHECK:STDOUT: %return.patt.loc12_17.2: @Transitive.WithSelf.GetA.%pattern_type.loc12_20 (%pattern_type.51a) = return_slot_pattern %return.param_patt.loc12_20.2, %as_type [symbolic = %return.patt.loc12_17.2 (constants.%return.patt.680)] +// CHECK:STDOUT: %impl.elem0.loc13_20.1: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_20.1 (constants.%impl.elem0)] +// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0.loc13_20.1 [symbolic = %as_type (constants.%as_type.d30)] +// CHECK:STDOUT: %.loc13_20.1: Core.Form = init_form %as_type [symbolic = %.loc13_20.1 (constants.%.117)] +// CHECK:STDOUT: %pattern_type.loc13_20: type = pattern_type %as_type [symbolic = %pattern_type.loc13_20 (constants.%pattern_type.51a)] +// CHECK:STDOUT: %return.param_patt.loc13_20.2: @Transitive.WithSelf.GetA.%pattern_type.loc13_20 (%pattern_type.51a) = out_param_pattern [symbolic = %return.param_patt.loc13_20.2 (constants.%return.param_patt.931)] +// CHECK:STDOUT: %return.patt.loc13_17.2: @Transitive.WithSelf.GetA.%pattern_type.loc13_20 (%pattern_type.51a) = return_slot_pattern %return.param_patt.loc13_20.2, %as_type [symbolic = %return.patt.loc13_17.2 (constants.%return.patt.680)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @Transitive.WithSelf.GetA.%Self.as_type.loc12_11.1 (%Self.as_type.7f2)) -> out %return.param: @Transitive.WithSelf.GetA.%as_type (%as_type.d30); +// CHECK:STDOUT: fn(%self.param: @Transitive.WithSelf.GetA.%Self.as_type.loc13_11.1 (%Self.as_type.7f2)) -> out %return.param: @Transitive.WithSelf.GetA.%as_type (%as_type.d30); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Transitive.WithSelf.TakesC(@Transitive.%Self: %Transitive.type) { // CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.77c)] -// CHECK:STDOUT: %Self.as_type.loc13_13.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc13_13.1 (constants.%Self.as_type.7f2)] -// CHECK:STDOUT: %pattern_type.loc13_13: type = pattern_type %Self.as_type.loc13_13.1 [symbolic = %pattern_type.loc13_13 (constants.%pattern_type.b5c)] -// CHECK:STDOUT: %self.param_patt.loc13_13.2: @Transitive.WithSelf.TakesC.%pattern_type.loc13_13 (%pattern_type.b5c) = value_param_pattern [symbolic = %self.param_patt.loc13_13.2 (constants.%self.param_patt.ae9)] -// CHECK:STDOUT: %self.patt.loc13_13.2: @Transitive.WithSelf.TakesC.%pattern_type.loc13_13 (%pattern_type.b5c) = at_binding_pattern self, %self.param_patt.loc13_13.2 [symbolic = %self.patt.loc13_13.2 (constants.%self.patt.12b)] +// CHECK:STDOUT: %Self.as_type.loc14_13.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc14_13.1 (constants.%Self.as_type.7f2)] +// CHECK:STDOUT: %pattern_type.loc14_13: type = pattern_type %Self.as_type.loc14_13.1 [symbolic = %pattern_type.loc14_13 (constants.%pattern_type.b5c)] +// CHECK:STDOUT: %self.param_patt.loc14_13.2: @Transitive.WithSelf.TakesC.%pattern_type.loc14_13 (%pattern_type.b5c) = value_param_pattern [symbolic = %self.param_patt.loc14_13.2 (constants.%self.param_patt.ae9)] +// CHECK:STDOUT: %self.patt.loc14_13.2: @Transitive.WithSelf.TakesC.%pattern_type.loc14_13 (%pattern_type.b5c) = at_binding_pattern self, %self.param_patt.loc14_13.2 [symbolic = %self.patt.loc14_13.2 (constants.%self.patt.12b)] // CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem2.loc13_22.1: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc13_22.1 (constants.%impl.elem2)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem2.loc13_22.1 [symbolic = %as_type (constants.%as_type.472)] -// CHECK:STDOUT: %pattern_type.loc13_20: type = pattern_type %as_type [symbolic = %pattern_type.loc13_20 (constants.%pattern_type.007)] -// CHECK:STDOUT: %c.param_patt.loc13_20.2: @Transitive.WithSelf.TakesC.%pattern_type.loc13_20 (%pattern_type.007) = value_param_pattern [symbolic = %c.param_patt.loc13_20.2 (constants.%c.param_patt)] -// CHECK:STDOUT: %c.patt.loc13_20.2: @Transitive.WithSelf.TakesC.%pattern_type.loc13_20 (%pattern_type.007) = at_binding_pattern c, %c.param_patt.loc13_20.2 [symbolic = %c.patt.loc13_20.2 (constants.%c.patt)] +// CHECK:STDOUT: %impl.elem2.loc14_22.1: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc14_22.1 (constants.%impl.elem2)] +// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem2.loc14_22.1 [symbolic = %as_type (constants.%as_type.472)] +// CHECK:STDOUT: %pattern_type.loc14_20: type = pattern_type %as_type [symbolic = %pattern_type.loc14_20 (constants.%pattern_type.007)] +// CHECK:STDOUT: %c.param_patt.loc14_20.2: @Transitive.WithSelf.TakesC.%pattern_type.loc14_20 (%pattern_type.007) = value_param_pattern [symbolic = %c.param_patt.loc14_20.2 (constants.%c.param_patt)] +// CHECK:STDOUT: %c.patt.loc14_20.2: @Transitive.WithSelf.TakesC.%pattern_type.loc14_20 (%pattern_type.007) = at_binding_pattern c, %c.param_patt.loc14_20.2 [symbolic = %c.patt.loc14_20.2 (constants.%c.patt)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @Transitive.WithSelf.TakesC.%Self.as_type.loc13_13.1 (%Self.as_type.7f2), %c.param: @Transitive.WithSelf.TakesC.%as_type (%as_type.472)); -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf(constants.%Self.801) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.801 -// CHECK:STDOUT: %P.WithSelf.InP.type => constants.%P.WithSelf.InP.type -// CHECK:STDOUT: %P.WithSelf.InP => constants.%P.WithSelf.InP -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf.InP(constants.%Self.801) { -// CHECK:STDOUT: %Self => constants.%Self.801 -// CHECK:STDOUT: %Self.as_type.loc3_22.1 => constants.%Self.as_type.b49 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fc0 -// CHECK:STDOUT: %self.param_patt.loc3_22.2 => constants.%self.param_patt.97c -// CHECK:STDOUT: %self.patt.loc3_22.2 => constants.%self.patt.090 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf(constants.%Self.ca9) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.ca9 -// CHECK:STDOUT: %Q.WithSelf.InQ.type => constants.%Q.WithSelf.InQ.type -// CHECK:STDOUT: %Q.WithSelf.InQ => constants.%Q.WithSelf.InQ -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf.InQ(constants.%Self.ca9) { -// CHECK:STDOUT: %Self => constants.%Self.ca9 -// CHECK:STDOUT: %Self.as_type.loc4_22.1 => constants.%Self.as_type.7c9 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.684 -// CHECK:STDOUT: %self.param_patt.loc4_22.2 => constants.%self.param_patt.9cf -// CHECK:STDOUT: %self.patt.loc4_22.2 => constants.%self.patt.f63 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%Self.9c1) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.9c1 -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf.InR(constants.%Self.9c1) { -// CHECK:STDOUT: %Self => constants.%Self.9c1 -// CHECK:STDOUT: %Self.as_type.loc5_22.1 => constants.%Self.as_type.85f -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ebd -// CHECK:STDOUT: %self.param_patt.loc5_22.2 => constants.%self.param_patt.659 -// CHECK:STDOUT: %self.patt.loc5_22.2 => constants.%self.patt.da0 +// CHECK:STDOUT: fn(%self.param: @Transitive.WithSelf.TakesC.%Self.as_type.loc14_13.1 (%Self.as_type.7f2), %c.param: @Transitive.WithSelf.TakesC.%as_type (%as_type.472)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Transitive.WithSelf(constants.%Self.77c) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%Self.77c) { // CHECK:STDOUT: %Self => constants.%Self.77c -// CHECK:STDOUT: %Self.as_type.loc12_11.1 => constants.%Self.as_type.7f2 -// CHECK:STDOUT: %pattern_type.loc12_11 => constants.%pattern_type.b5c -// CHECK:STDOUT: %self.param_patt.loc12_11.2 => constants.%self.param_patt.ae9 -// CHECK:STDOUT: %self.patt.loc12_11.2 => constants.%self.patt.12b +// CHECK:STDOUT: %Self.as_type.loc13_11.1 => constants.%Self.as_type.7f2 +// CHECK:STDOUT: %pattern_type.loc13_11 => constants.%pattern_type.b5c +// CHECK:STDOUT: %self.param_patt.loc13_11.2 => constants.%self.param_patt.ae9 +// CHECK:STDOUT: %self.patt.loc13_11.2 => constants.%self.patt.12b // CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness -// CHECK:STDOUT: %impl.elem0.loc12_20.1 => constants.%impl.elem0 +// CHECK:STDOUT: %impl.elem0.loc13_20.1 => constants.%impl.elem0 // CHECK:STDOUT: %as_type => constants.%as_type.d30 -// CHECK:STDOUT: %.loc12_20.1 => constants.%.117 -// CHECK:STDOUT: %pattern_type.loc12_20 => constants.%pattern_type.51a -// CHECK:STDOUT: %return.param_patt.loc12_20.2 => constants.%return.param_patt.931 -// CHECK:STDOUT: %return.patt.loc12_17.2 => constants.%return.patt.680 +// CHECK:STDOUT: %.loc13_20.1 => constants.%.117 +// CHECK:STDOUT: %pattern_type.loc13_20 => constants.%pattern_type.51a +// CHECK:STDOUT: %return.param_patt.loc13_20.2 => constants.%return.param_patt.931 +// CHECK:STDOUT: %return.patt.loc13_17.2 => constants.%return.patt.680 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Transitive.WithSelf.TakesC(constants.%Self.77c) { // CHECK:STDOUT: %Self => constants.%Self.77c -// CHECK:STDOUT: %Self.as_type.loc13_13.1 => constants.%Self.as_type.7f2 -// CHECK:STDOUT: %pattern_type.loc13_13 => constants.%pattern_type.b5c -// CHECK:STDOUT: %self.param_patt.loc13_13.2 => constants.%self.param_patt.ae9 -// CHECK:STDOUT: %self.patt.loc13_13.2 => constants.%self.patt.12b +// CHECK:STDOUT: %Self.as_type.loc14_13.1 => constants.%Self.as_type.7f2 +// CHECK:STDOUT: %pattern_type.loc14_13 => constants.%pattern_type.b5c +// CHECK:STDOUT: %self.param_patt.loc14_13.2 => constants.%self.param_patt.ae9 +// CHECK:STDOUT: %self.patt.loc14_13.2 => constants.%self.patt.12b // CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness -// CHECK:STDOUT: %impl.elem2.loc13_22.1 => constants.%impl.elem2 +// CHECK:STDOUT: %impl.elem2.loc14_22.1 => constants.%impl.elem2 // CHECK:STDOUT: %as_type => constants.%as_type.472 -// CHECK:STDOUT: %pattern_type.loc13_20 => constants.%pattern_type.007 -// CHECK:STDOUT: %c.param_patt.loc13_20.2 => constants.%c.param_patt -// CHECK:STDOUT: %c.patt.loc13_20.2 => constants.%c.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_todo_equivalent.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Transitive.type: type = facet_type <@Transitive> [concrete] -// CHECK:STDOUT: %Self.744: %Transitive.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Transitive.lookup_impl_witness.ab0b8d.1: = lookup_impl_witness %Self.744, @Transitive [symbolic] -// CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %R.type: type = facet_type <@R> [concrete] -// CHECK:STDOUT: %Self.be6: %R.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.type.4bf: type = fn_type @R.WithSelf.InR, @R.WithSelf(%Self.be6) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.345: %R.WithSelf.InR.type.4bf = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.b02: type = facet_access_type %Self.be6 [symbolic] -// CHECK:STDOUT: %pattern_type.60e: type = pattern_type %Self.as_type.b02 [symbolic] -// CHECK:STDOUT: %self.param_patt.640: %pattern_type.60e = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.894: %pattern_type.60e = at_binding_pattern self, %self.param_patt.640 [symbolic] -// CHECK:STDOUT: %facet_type.0e9: type = facet_type <@Destroy & @R where TODO> [concrete] -// CHECK:STDOUT: %impl.elem2.279493.1: %facet_type.0e9 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element2 [symbolic] -// CHECK:STDOUT: %Q.type: type = facet_type <@Q> [concrete] -// CHECK:STDOUT: %Self.afd: %Q.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.type.fb9: type = fn_type @Q.WithSelf.InQ, @Q.WithSelf(%Self.afd) [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.daf: %Q.WithSelf.InQ.type.fb9 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.430: type = facet_access_type %Self.afd [symbolic] -// CHECK:STDOUT: %pattern_type.ade: type = pattern_type %Self.as_type.430 [symbolic] -// CHECK:STDOUT: %self.param_patt.271: %pattern_type.ade = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.b5e: %pattern_type.ade = at_binding_pattern self, %self.param_patt.271 [symbolic] -// CHECK:STDOUT: %facet_type.1b9: type = facet_type <@Destroy & @Q where TODO> [concrete] -// CHECK:STDOUT: %impl.elem1.1413d6.1: %facet_type.1b9 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element1 [symbolic] -// CHECK:STDOUT: %eq.be77bc.1 = observe_equivalent %impl.elem1.1413d6.1, %impl.elem2.279493.1 [symbolic] -// CHECK:STDOUT: %as_type.b2aa43.1: type = facet_access_type %impl.elem2.279493.1 [symbolic] -// CHECK:STDOUT: %P.type: type = facet_type <@P> [concrete] -// CHECK:STDOUT: %Self.104: %P.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP.type: type = fn_type @P.WithSelf.InP, @P.WithSelf(%Self.104) [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP: %P.WithSelf.InP.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.cc3: type = facet_access_type %Self.104 [symbolic] -// CHECK:STDOUT: %pattern_type.3ef: type = pattern_type %Self.as_type.cc3 [symbolic] -// CHECK:STDOUT: %self.param_patt.88d: %pattern_type.3ef = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.6de: %pattern_type.3ef = at_binding_pattern self, %self.param_patt.88d [symbolic] -// CHECK:STDOUT: %facet_type.1ff: type = facet_type <@Destroy & @P> [concrete] -// CHECK:STDOUT: %impl.elem0.8aa205.1: %facet_type.1ff = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element0 [symbolic] -// CHECK:STDOUT: %eq.20ba2e.1 = observe_equivalent %impl.elem0.8aa205.1, %impl.elem1.1413d6.1 [symbolic] -// CHECK:STDOUT: %as_type.a0914b.1: type = facet_access_type %impl.elem0.8aa205.1 [symbolic] -// CHECK:STDOUT: %as_type.f86e2d.1: type = facet_access_type %impl.elem1.1413d6.1 [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type.d86d9f.1: type = fn_type @Transitive.WithSelf.TakesC, @Transitive.WithSelf(%Self.744) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.f276cd.1: %Transitive.WithSelf.TakesC.type.d86d9f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.56c: type = facet_access_type %Self.744 [symbolic] -// CHECK:STDOUT: %pattern_type.68e728.1: type = pattern_type %Self.as_type.56c [symbolic] -// CHECK:STDOUT: %self.param_patt.e90fff.1: %pattern_type.68e728.1 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.d2dab3.1: %pattern_type.68e728.1 = at_binding_pattern self, %self.param_patt.e90fff.1 [symbolic] -// CHECK:STDOUT: %pattern_type.d96: type = pattern_type %as_type.b2aa43.1 [symbolic] -// CHECK:STDOUT: %c.param_patt: %pattern_type.d96 = value_param_pattern [symbolic] -// CHECK:STDOUT: %c.patt: %pattern_type.d96 = at_binding_pattern c, %c.param_patt [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type.0b3c58.1: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%Self.744) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.e3e09c.1: %Transitive.WithSelf.GetA.type.0b3c58.1 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.77f685.1: type = pattern_type %as_type.a0914b.1 [symbolic] -// CHECK:STDOUT: %return.param_patt.11f0b9.1: %pattern_type.77f685.1 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.87a9a6.1: %pattern_type.77f685.1 = return_slot_pattern %return.param_patt.11f0b9.1, invalid [symbolic] -// CHECK:STDOUT: %.3ef823.1: Core.Form = init_form %as_type.a0914b.1 [symbolic] -// CHECK:STDOUT: %pattern_type.bd9: type = pattern_type %Transitive.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %Transitive.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.68e728.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %t.param_patt: %pattern_type.68e728.2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %t.patt: %pattern_type.68e728.2 = at_binding_pattern t, %t.param_patt [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.fbd: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Transitive.lookup_impl_witness.ab0b8d.2: = lookup_impl_witness %T, @Transitive [symbolic] -// CHECK:STDOUT: %impl.elem0.8aa205.2: %facet_type.1ff = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.1413d6.2: %facet_type.1b9 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element1 [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type.0b3c58.2: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.e3e09c.2: %Transitive.WithSelf.GetA.type.0b3c58.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type.d86d9f.2: type = fn_type @Transitive.WithSelf.TakesC, @Transitive.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.f276cd.2: %Transitive.WithSelf.TakesC.type.d86d9f.2 = struct_value () [symbolic] -// CHECK:STDOUT: %as_type.f86e2d.2: type = facet_access_type %impl.elem1.1413d6.2 [symbolic] -// CHECK:STDOUT: %as_type.a0914b.2: type = facet_access_type %impl.elem0.8aa205.2 [symbolic] -// CHECK:STDOUT: %eq.20ba2e.2 = observe_equivalent %impl.elem0.8aa205.2, %impl.elem1.1413d6.2 [symbolic] -// CHECK:STDOUT: %impl.elem2.279493.2: %facet_type.0e9 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic] -// CHECK:STDOUT: %as_type.b2aa43.2: type = facet_access_type %impl.elem2.279493.2 [symbolic] -// CHECK:STDOUT: %eq.be77bc.2 = observe_equivalent %impl.elem1.1413d6.2, %impl.elem2.279493.2 [symbolic] -// CHECK:STDOUT: %Transitive.assoc_type: type = assoc_entity_type @Transitive [concrete] -// CHECK:STDOUT: %assoc0.e77: %Transitive.assoc_type = assoc_entity element0, imports.%Main.import_ref.0a7 [concrete] -// CHECK:STDOUT: %require_complete.6cf: = require_complete_type %as_type.a0914b.2 [symbolic] -// CHECK:STDOUT: %pattern_type.77f685.2: type = pattern_type %as_type.a0914b.2 [symbolic] -// CHECK:STDOUT: %a.patt: %pattern_type.77f685.2 = ref_binding_pattern a [symbolic] -// CHECK:STDOUT: %a.var_patt: %pattern_type.77f685.2 = var_pattern %a.patt [symbolic] -// CHECK:STDOUT: %assoc3: %Transitive.assoc_type = assoc_entity element3, imports.%Main.import_ref.06c [concrete] -// CHECK:STDOUT: %.657: type = fn_type_with_self_type %Transitive.WithSelf.GetA.type.0b3c58.2, %T [symbolic] -// CHECK:STDOUT: %impl.elem3: %.657 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element3 [symbolic] -// CHECK:STDOUT: %self.param_patt.e90fff.2: %pattern_type.68e728.2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.d2dab3.2: %pattern_type.68e728.2 = at_binding_pattern self, %self.param_patt.e90fff.2 [symbolic] -// CHECK:STDOUT: %.3ef823.2: Core.Form = init_form %as_type.a0914b.2 [symbolic] -// CHECK:STDOUT: %return.param_patt.11f0b9.2: %pattern_type.77f685.2 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.87a9a6.2: %pattern_type.77f685.2 = return_slot_pattern %return.param_patt.11f0b9.2, invalid [symbolic] -// CHECK:STDOUT: %specific_impl_fn.72f: = specific_impl_function %impl.elem3, @Transitive.WithSelf.GetA(%T) [symbolic] -// CHECK:STDOUT: %assoc1: %Transitive.assoc_type = assoc_entity element1, imports.%Main.import_ref.dae [concrete] -// CHECK:STDOUT: %require_complete.0ea: = require_complete_type %as_type.f86e2d.2 [symbolic] -// CHECK:STDOUT: %pattern_type.86a: type = pattern_type %as_type.f86e2d.2 [symbolic] -// CHECK:STDOUT: %b.patt: %pattern_type.86a = ref_binding_pattern b [symbolic] -// CHECK:STDOUT: %b.var_patt: %pattern_type.86a = var_pattern %b.patt [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.0ff: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.0ff = struct_value () [concrete] -// CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.3aa: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] -// CHECK:STDOUT: %Self.294: %ImplicitAs.type.3aa = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.fcc: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.97e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.294) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.945: %ImplicitAs.WithSelf.Convert.type.97e = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.368: type = facet_type <@ImplicitAs, @ImplicitAs(%as_type.f86e2d.2)> [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.869: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%as_type.f86e2d.2) [symbolic] -// CHECK:STDOUT: %assoc0.c45: %ImplicitAs.assoc_type.869 = assoc_entity element0, imports.%Core.import_ref.cb2 [symbolic] -// CHECK:STDOUT: %require_complete.a65: = require_complete_type %ImplicitAs.type.368 [symbolic] -// CHECK:STDOUT: %assoc0.0ac: %ImplicitAs.assoc_type.fcc = assoc_entity element0, imports.%Core.import_ref.f9d [symbolic] -// CHECK:STDOUT: %facet_type.aa5: type = facet_type <@Destroy & @Q> [concrete] -// CHECK:STDOUT: %Q.WithSelf.InQ.type.c89: type = fn_type @Q.WithSelf.InQ, @Q.WithSelf(%impl.elem1.1413d6.2) [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.aef: %Q.WithSelf.InQ.type.c89 = struct_value () [symbolic] -// CHECK:STDOUT: %Q.assoc_type: type = assoc_entity_type @Q [concrete] -// CHECK:STDOUT: %assoc0.6a1: %Q.assoc_type = assoc_entity element0, imports.%Main.import_ref.636 [concrete] -// CHECK:STDOUT: %Q.lookup_impl_witness: = lookup_impl_witness %impl.elem1.1413d6.2, @Q [symbolic] -// CHECK:STDOUT: %Q.facet: %Q.type = facet_value %as_type.f86e2d.2, (%Q.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.type.0c5: type = fn_type @Q.WithSelf.InQ, @Q.WithSelf(%Q.facet) [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.9e5: %Q.WithSelf.InQ.type.0c5 = struct_value () [symbolic] -// CHECK:STDOUT: %.786: type = fn_type_with_self_type %Q.WithSelf.InQ.type.0c5, %Q.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.8e3: %.786 = impl_witness_access %Q.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %self.param_patt.321: %pattern_type.86a = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.7e6: %pattern_type.86a = at_binding_pattern self, %self.param_patt.321 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.957: = specific_impl_function %impl.elem0.8e3, @Q.WithSelf.InQ(%Q.facet) [symbolic] -// CHECK:STDOUT: %assoc2: %Transitive.assoc_type = assoc_entity element2, imports.%Main.import_ref.56a [concrete] -// CHECK:STDOUT: %R.WithSelf.InR.type.a87: type = fn_type @R.WithSelf.InR, @R.WithSelf(%impl.elem2.279493.2) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.704: %R.WithSelf.InR.type.a87 = struct_value () [symbolic] -// CHECK:STDOUT: %R.assoc_type: type = assoc_entity_type @R [concrete] -// CHECK:STDOUT: %assoc0.e94: %R.assoc_type = assoc_entity element0, imports.%Main.import_ref.8ad [concrete] -// CHECK:STDOUT: %facet_type.fcc: type = facet_type <@Destroy & @R> [concrete] -// CHECK:STDOUT: %R.lookup_impl_witness.aa0: = lookup_impl_witness %impl.elem2.279493.2, @R [symbolic] -// CHECK:STDOUT: %R.facet: %R.type = facet_value %as_type.b2aa43.2, (%R.lookup_impl_witness.aa0) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.type.56d: type = fn_type @R.WithSelf.InR, @R.WithSelf(%R.facet) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.9a8: %R.WithSelf.InR.type.56d = struct_value () [symbolic] -// CHECK:STDOUT: %.f43: type = fn_type_with_self_type %R.WithSelf.InR.type.56d, %R.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.8cc: %.f43 = impl_witness_access %R.lookup_impl_witness.aa0, element0 [symbolic] -// CHECK:STDOUT: %require_complete.6e3: = require_complete_type %as_type.b2aa43.2 [symbolic] -// CHECK:STDOUT: %As.type.116: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.116 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5f: type = facet_type <@As, @As(%Dest)> [symbolic] -// CHECK:STDOUT: %Self.37a: %As.type.c5f = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %As.assoc_type.b40: type = assoc_entity_type @As, @As(%Dest) [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.type.ff8: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Dest, %Self.37a) [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.87d: %As.WithSelf.Convert.type.ff8 = struct_value () [symbolic] -// CHECK:STDOUT: %As.type.ccf: type = facet_type <@As, @As(%as_type.b2aa43.2)> [symbolic] -// CHECK:STDOUT: %As.assoc_type.60e: type = assoc_entity_type @As, @As(%as_type.b2aa43.2) [symbolic] -// CHECK:STDOUT: %assoc0.fb9: %As.assoc_type.60e = assoc_entity element0, imports.%Core.import_ref.967 [symbolic] -// CHECK:STDOUT: %require_complete.ee4: = require_complete_type %As.type.ccf [symbolic] -// CHECK:STDOUT: %assoc0.4ec: %As.assoc_type.b40 = assoc_entity element0, imports.%Core.import_ref.47a [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.32f: = lookup_impl_witness %impl.elem1.1413d6.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.853: %Destroy.type = facet_value %as_type.f86e2d.2, (%Destroy.lookup_impl_witness.32f) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.bb2: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.853) [symbolic] -// CHECK:STDOUT: %.ee0: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.bb2, %Destroy.facet.853 [symbolic] -// CHECK:STDOUT: %impl.elem0.087: %.ee0 = impl_witness_access %Destroy.lookup_impl_witness.32f, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.ef3: = specific_impl_function %impl.elem0.087, @Destroy.WithSelf.Op(%Destroy.facet.853) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.1c9: = lookup_impl_witness %impl.elem0.8aa205.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.27e: %Destroy.type = facet_value %as_type.a0914b.2, (%Destroy.lookup_impl_witness.1c9) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.74e: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.27e) [symbolic] -// CHECK:STDOUT: %.569: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.74e, %Destroy.facet.27e [symbolic] -// CHECK:STDOUT: %impl.elem0.95f: %.569 = impl_witness_access %Destroy.lookup_impl_witness.1c9, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.584: = specific_impl_function %impl.elem0.95f, @Destroy.WithSelf.Op(%Destroy.facet.27e) [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.P = import_ref Main//transitive, P, unloaded -// CHECK:STDOUT: %Main.Q = import_ref Main//transitive, Q, unloaded -// CHECK:STDOUT: %Main.R = import_ref Main//transitive, R, unloaded -// CHECK:STDOUT: %Main.Transitive: type = import_ref Main//transitive, Transitive, loaded [concrete = constants.%Transitive.type] -// CHECK:STDOUT: %Core.048aa3.1: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs -// CHECK:STDOUT: .As = %Core.As -// CHECK:STDOUT: .Destroy = %Core.Destroy -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.72c: %Transitive.assoc_type = import_ref Main//transitive, loc8_8, loaded [concrete = constants.%assoc0.e77] -// CHECK:STDOUT: %Main.import_ref.e5e: %Transitive.assoc_type = import_ref Main//transitive, loc9_8, loaded [concrete = constants.%assoc1] -// CHECK:STDOUT: %Main.import_ref.c9c: %Transitive.assoc_type = import_ref Main//transitive, loc10_8, loaded [concrete = constants.%assoc2] -// CHECK:STDOUT: %Main.import_ref.5c5: %Transitive.assoc_type = import_ref Main//transitive, loc12_21, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Main.import_ref.ae2 = import_ref Main//transitive, loc13_24, unloaded -// CHECK:STDOUT: %Main.A = import_ref Main//transitive, A, unloaded -// CHECK:STDOUT: %Main.B = import_ref Main//transitive, B, unloaded -// CHECK:STDOUT: %Main.C = import_ref Main//transitive, C, unloaded -// CHECK:STDOUT: %Main.GetA = import_ref Main//transitive, GetA, unloaded -// CHECK:STDOUT: %Main.TakesC = import_ref Main//transitive, TakesC, unloaded -// CHECK:STDOUT: %Main.import_ref.682: %R.assoc_type = import_ref Main//transitive, loc5_27, loaded [concrete = constants.%assoc0.e94] -// CHECK:STDOUT: %Main.InR = import_ref Main//transitive, InR, unloaded -// CHECK:STDOUT: %Main.import_ref.f6968b.2: %R.type = import_ref Main//transitive, loc5_13, loaded [symbolic = constants.%Self.be6] -// CHECK:STDOUT: %Main.import_ref.659 = import_ref Main//transitive, loc5_13, unloaded -// CHECK:STDOUT: %Main.import_ref.e2a: %Q.assoc_type = import_ref Main//transitive, loc4_27, loaded [concrete = constants.%assoc0.6a1] -// CHECK:STDOUT: %Main.InQ = import_ref Main//transitive, InQ, unloaded -// CHECK:STDOUT: %Main.import_ref.c0a1f5.2: %Q.type = import_ref Main//transitive, loc4_13, loaded [symbolic = constants.%Self.afd] -// CHECK:STDOUT: %Main.import_ref.4f3 = import_ref Main//transitive, loc4_13, unloaded -// CHECK:STDOUT: %Main.import_ref.fec = import_ref Main//transitive, loc3_27, unloaded -// CHECK:STDOUT: %Main.InP = import_ref Main//transitive, InP, unloaded -// CHECK:STDOUT: %Main.import_ref.aef2fa.2: %P.type = import_ref Main//transitive, loc3_13, loaded [symbolic = constants.%Self.104] -// CHECK:STDOUT: %Main.import_ref.96f = import_ref Main//transitive, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.df6636.2: %Transitive.type = import_ref Main//transitive, loc7_22, loaded [symbolic = constants.%Self.744] -// CHECK:STDOUT: %Main.import_ref.df6636.3: %Transitive.type = import_ref Main//transitive, loc7_22, loaded [symbolic = constants.%Self.744] -// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//transitive, loc7_22, unloaded -// CHECK:STDOUT: %Main.import_ref.0a7: %facet_type.1ff = import_ref Main//transitive, loc8_8, loaded [concrete = %A] -// CHECK:STDOUT: %A: %facet_type.1ff = assoc_const_decl @A [concrete] {} -// CHECK:STDOUT: %Main.import_ref.06c: @Transitive.WithSelf.%Transitive.WithSelf.GetA.type (%Transitive.WithSelf.GetA.type.0b3c58.1) = import_ref Main//transitive, loc12_21, loaded [symbolic = @Transitive.WithSelf.%Transitive.WithSelf.GetA (constants.%Transitive.WithSelf.GetA.e3e09c.1)] -// CHECK:STDOUT: %Main.import_ref.dae: %facet_type.1b9 = import_ref Main//transitive, loc9_8, loaded [concrete = %B] -// CHECK:STDOUT: %B: %facet_type.1b9 = assoc_const_decl @B [concrete] {} -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.0ff = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.484: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.fcc) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.0ac)] -// CHECK:STDOUT: %Core.import_ref.cb2: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.97e) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.945)] -// CHECK:STDOUT: %Core.import_ref.f9d = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Main.import_ref.636: @Q.WithSelf.%Q.WithSelf.InQ.type (%Q.WithSelf.InQ.type.fb9) = import_ref Main//transitive, loc4_27, loaded [symbolic = @Q.WithSelf.%Q.WithSelf.InQ (constants.%Q.WithSelf.InQ.daf)] -// CHECK:STDOUT: %Main.import_ref.56a: %facet_type.0e9 = import_ref Main//transitive, loc10_8, loaded [concrete = %C] -// CHECK:STDOUT: %C: %facet_type.0e9 = assoc_const_decl @C [concrete] {} -// CHECK:STDOUT: %Main.import_ref.8ad: @R.WithSelf.%R.WithSelf.InR.type (%R.WithSelf.InR.type.4bf) = import_ref Main//transitive, loc5_27, loaded [symbolic = @R.WithSelf.%R.WithSelf.InR (constants.%R.WithSelf.InR.345)] -// CHECK:STDOUT: %Core.As: %As.type.116 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.e36: @As.WithSelf.%As.assoc_type (%As.assoc_type.b40) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @As.WithSelf.%assoc0 (constants.%assoc0.4ec)] -// CHECK:STDOUT: %Core.import_ref.967: @As.WithSelf.%As.WithSelf.Convert.type (%As.WithSelf.Convert.type.ff8) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @As.WithSelf.%As.WithSelf.Convert (constants.%As.WithSelf.Convert.87d)] -// CHECK:STDOUT: %Core.import_ref.47a = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .P = imports.%Main.P -// CHECK:STDOUT: .Q = imports.%Main.Q -// CHECK:STDOUT: .R = imports.%Main.R -// CHECK:STDOUT: .Transitive = imports.%Main.Transitive -// CHECK:STDOUT: .Core = imports.%Core.048aa3.1 -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %default.import = import -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc5_7.1: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc5_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %t.param_patt.loc5_22.1: @F.%pattern_type.loc5 (%pattern_type.68e728.2) = value_param_pattern [symbolic = %t.param_patt.loc5_22.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc5_22.1: @F.%pattern_type.loc5 (%pattern_type.68e728.2) = at_binding_pattern t, %t.param_patt.loc5_22.1 [symbolic = %t.patt.loc5_22.2 (constants.%t.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc5_9: type = splice_block %Transitive.ref [concrete = constants.%Transitive.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %Transitive.ref: type = name_ref Transitive, imports.%Main.Transitive [concrete = constants.%Transitive.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc5_7.2: %Transitive.type = symbolic_binding T, 0 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %t.param: @F.%T.as_type.loc5_24.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc5_24.1: type = splice_block %.loc5_24.2 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc5: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc5_24.2: type = facet_access_type %T.ref.loc5 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc5_24.2: type = converted %T.ref.loc5, %T.as_type.loc5_24.2 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %t: @F.%T.as_type.loc5_24.1 (%T.as_type) = wrapper_binding t, %t.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Transitive [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.0d5 -// CHECK:STDOUT: .A = imports.%Main.import_ref.72c -// CHECK:STDOUT: .B = imports.%Main.import_ref.e5e -// CHECK:STDOUT: .C = imports.%Main.import_ref.c9c -// CHECK:STDOUT: .GetA = imports.%Main.import_ref.5c5 -// CHECK:STDOUT: .TakesC = imports.%Main.import_ref.ae2 -// CHECK:STDOUT: witness = (imports.%Main.A, imports.%Main.B, imports.%Main.C, imports.%Main.GetA, imports.%Main.TakesC) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @Transitive.observe { -// CHECK:STDOUT: observe constants.%impl.elem0.8aa205.1 == constants.%impl.elem1.1413d6.1 == constants.%impl.elem2.279493.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @R [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.659 -// CHECK:STDOUT: .InR = imports.%Main.import_ref.682 -// CHECK:STDOUT: witness = (imports.%Main.InR) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Q [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.4f3 -// CHECK:STDOUT: .InQ = imports.%Main.import_ref.e2a -// CHECK:STDOUT: witness = (imports.%Main.InQ) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @P [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.96f -// CHECK:STDOUT: .InP = imports.%Main.import_ref.fec -// CHECK:STDOUT: witness = (imports.%Main.InP) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @R.WithSelf.InR(imports.%Main.import_ref.f6968b.2: %R.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %R.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.be6)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.b02)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.60e)] -// CHECK:STDOUT: %self.param_patt: @R.WithSelf.InR.%pattern_type (%pattern_type.60e) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.640)] -// CHECK:STDOUT: %self.patt: @R.WithSelf.InR.%pattern_type (%pattern_type.60e) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.894)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Q.WithSelf.InQ(imports.%Main.import_ref.c0a1f5.2: %Q.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Q.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.afd)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.430)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.ade)] -// CHECK:STDOUT: %self.param_patt: @Q.WithSelf.InQ.%pattern_type (%pattern_type.ade) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.271)] -// CHECK:STDOUT: %self.patt: @Q.WithSelf.InQ.%pattern_type (%pattern_type.ade) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.b5e)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @P.WithSelf.InP(imports.%Main.import_ref.aef2fa.2: %P.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %P.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.104)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.cc3)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3ef)] -// CHECK:STDOUT: %self.param_patt: @P.WithSelf.InP.%pattern_type (%pattern_type.3ef) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.88d)] -// CHECK:STDOUT: %self.patt: @P.WithSelf.InP.%pattern_type (%pattern_type.3ef) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.6de)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Transitive.WithSelf.TakesC(imports.%Main.import_ref.df6636.2: %Transitive.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.744)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.56c)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.68e728.1)] -// CHECK:STDOUT: %self.param_patt: @Transitive.WithSelf.TakesC.%pattern_type.1 (%pattern_type.68e728.1) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.e90fff.1)] -// CHECK:STDOUT: %self.patt: @Transitive.WithSelf.TakesC.%pattern_type.1 (%pattern_type.68e728.1) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.d2dab3.1)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.1)] -// CHECK:STDOUT: %impl.elem2: %facet_type.0e9 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2 (constants.%impl.elem2.279493.1)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem2 [symbolic = %as_type (constants.%as_type.b2aa43.1)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.d96)] -// CHECK:STDOUT: %c.param_patt: @Transitive.WithSelf.TakesC.%pattern_type.2 (%pattern_type.d96) = value_param_pattern [symbolic = %c.param_patt (constants.%c.param_patt)] -// CHECK:STDOUT: %c.patt: @Transitive.WithSelf.TakesC.%pattern_type.2 (%pattern_type.d96) = at_binding_pattern c, %c.param_patt [symbolic = %c.patt (constants.%c.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Transitive.WithSelf.GetA(imports.%Main.import_ref.df6636.3: %Transitive.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.744)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.56c)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.68e728.1)] -// CHECK:STDOUT: %self.param_patt: @Transitive.WithSelf.GetA.%pattern_type.1 (%pattern_type.68e728.1) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.e90fff.1)] -// CHECK:STDOUT: %self.patt: @Transitive.WithSelf.GetA.%pattern_type.1 (%pattern_type.68e728.1) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.d2dab3.1)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.1)] -// CHECK:STDOUT: %impl.elem0: %facet_type.1ff = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.8aa205.1)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0 [symbolic = %as_type (constants.%as_type.a0914b.1)] -// CHECK:STDOUT: %.1: Core.Form = init_form %as_type [symbolic = %.1 (constants.%.3ef823.1)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.77f685.1)] -// CHECK:STDOUT: %return.param_patt: @Transitive.WithSelf.GetA.%pattern_type.2 (%pattern_type.77f685.1) = out_param_pattern [symbolic = %return.param_patt (constants.%return.param_patt.11f0b9.1)] -// CHECK:STDOUT: %return.patt: @Transitive.WithSelf.GetA.%pattern_type.2 (%pattern_type.77f685.1) = return_slot_pattern %return.param_patt, invalid [symbolic = %return.patt (constants.%return.patt.87a9a6.1)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc5_7.2: %Transitive.type) { -// CHECK:STDOUT: %T.patt.loc5_7.2: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc5_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc5_7.1: %Transitive.type = symbolic_binding T, 0 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc5_24.1: type = facet_access_type %T.loc5_7.1 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type.loc5: type = pattern_type %T.as_type.loc5_24.1 [symbolic = %pattern_type.loc5 (constants.%pattern_type.68e728.2)] -// CHECK:STDOUT: %t.param_patt.loc5_22.2: @F.%pattern_type.loc5 (%pattern_type.68e728.2) = value_param_pattern [symbolic = %t.param_patt.loc5_22.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc5_22.2: @F.%pattern_type.loc5 (%pattern_type.68e728.2) = at_binding_pattern t, %t.param_patt.loc5_22.2 [symbolic = %t.patt.loc5_22.2 (constants.%t.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc5: = require_complete_type %T.as_type.loc5_24.1 [symbolic = %require_complete.loc5 (constants.%require_complete.fbd)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %T.loc5_7.1, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.2)] -// CHECK:STDOUT: %impl.elem0.loc6_11.2: %facet_type.1ff = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_11.2 (constants.%impl.elem0.8aa205.2)] -// CHECK:STDOUT: %as_type.loc6_11.2: type = facet_access_type %impl.elem0.loc6_11.2 [symbolic = %as_type.loc6_11.2 (constants.%as_type.a0914b.2)] -// CHECK:STDOUT: %require_complete.loc6: = require_complete_type %as_type.loc6_11.2 [symbolic = %require_complete.loc6 (constants.%require_complete.6cf)] -// CHECK:STDOUT: %pattern_type.loc6: type = pattern_type %as_type.loc6_11.2 [symbolic = %pattern_type.loc6 (constants.%pattern_type.77f685.2)] -// CHECK:STDOUT: %a.patt.loc6_8.2: @F.%pattern_type.loc6 (%pattern_type.77f685.2) = ref_binding_pattern a [symbolic = %a.patt.loc6_8.2 (constants.%a.patt)] -// CHECK:STDOUT: %a.var_patt.loc6_3.2: @F.%pattern_type.loc6 (%pattern_type.77f685.2) = var_pattern %a.patt.loc6_8.2 [symbolic = %a.var_patt.loc6_3.2 (constants.%a.var_patt)] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%T.loc5_7.1) [symbolic = %Transitive.WithSelf.GetA.type (constants.%Transitive.WithSelf.GetA.type.0b3c58.2)] -// CHECK:STDOUT: %.loc6_17: type = fn_type_with_self_type %Transitive.WithSelf.GetA.type, %T.loc5_7.1 [symbolic = %.loc6_17 (constants.%.657)] -// CHECK:STDOUT: %impl.elem3.loc6_17.2: @F.%.loc6_17 (%.657) = impl_witness_access %Transitive.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc6_17.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc6_17.2: = specific_impl_function %impl.elem3.loc6_17.2, @Transitive.WithSelf.GetA(%T.loc5_7.1) [symbolic = %specific_impl_fn.loc6_17.2 (constants.%specific_impl_fn.72f)] -// CHECK:STDOUT: %impl.elem1.loc15_11.2: %facet_type.1b9 = impl_witness_access %Transitive.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc15_11.2 (constants.%impl.elem1.1413d6.2)] -// CHECK:STDOUT: %as_type.loc15_11.2: type = facet_access_type %impl.elem1.loc15_11.2 [symbolic = %as_type.loc15_11.2 (constants.%as_type.f86e2d.2)] -// CHECK:STDOUT: %require_complete.loc15_11: = require_complete_type %as_type.loc15_11.2 [symbolic = %require_complete.loc15_11 (constants.%require_complete.0ea)] -// CHECK:STDOUT: %pattern_type.loc15: type = pattern_type %as_type.loc15_11.2 [symbolic = %pattern_type.loc15 (constants.%pattern_type.86a)] -// CHECK:STDOUT: %b.patt.loc15_8.2: @F.%pattern_type.loc15 (%pattern_type.86a) = ref_binding_pattern b [symbolic = %b.patt.loc15_8.2 (constants.%b.patt)] -// CHECK:STDOUT: %b.var_patt.loc15_3.2: @F.%pattern_type.loc15 (%pattern_type.86a) = var_pattern %b.patt.loc15_8.2 [symbolic = %b.var_patt.loc15_3.2 (constants.%b.var_patt)] -// CHECK:STDOUT: %ImplicitAs.type.loc15_3.2: type = facet_type <@ImplicitAs, @ImplicitAs(%as_type.loc15_11.2)> [symbolic = %ImplicitAs.type.loc15_3.2 (constants.%ImplicitAs.type.368)] -// CHECK:STDOUT: %require_complete.loc15_3: = require_complete_type %ImplicitAs.type.loc15_3.2 [symbolic = %require_complete.loc15_3 (constants.%require_complete.a65)] -// CHECK:STDOUT: %ImplicitAs.assoc_type: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%as_type.loc15_11.2) [symbolic = %ImplicitAs.assoc_type (constants.%ImplicitAs.assoc_type.869)] -// CHECK:STDOUT: %assoc0.loc15: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.869) = assoc_entity element0, imports.%Core.import_ref.cb2 [symbolic = %assoc0.loc15 (constants.%assoc0.c45)] -// CHECK:STDOUT: %Q.lookup_impl_witness: = lookup_impl_witness %impl.elem1.loc15_11.2, @Q [symbolic = %Q.lookup_impl_witness (constants.%Q.lookup_impl_witness)] -// CHECK:STDOUT: %Q.facet.loc16_4: %Q.type = facet_value %as_type.loc15_11.2, (%Q.lookup_impl_witness) [symbolic = %Q.facet.loc16_4 (constants.%Q.facet)] -// CHECK:STDOUT: %Q.WithSelf.InQ.type: type = fn_type @Q.WithSelf.InQ, @Q.WithSelf(%Q.facet.loc16_4) [symbolic = %Q.WithSelf.InQ.type (constants.%Q.WithSelf.InQ.type.0c5)] -// CHECK:STDOUT: %.loc16_4: type = fn_type_with_self_type %Q.WithSelf.InQ.type, %Q.facet.loc16_4 [symbolic = %.loc16_4 (constants.%.786)] -// CHECK:STDOUT: %impl.elem0.loc16_4.2: @F.%.loc16_4 (%.786) = impl_witness_access %Q.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.8e3)] -// CHECK:STDOUT: %specific_impl_fn.loc16_4.2: = specific_impl_function %impl.elem0.loc16_4.2, @Q.WithSelf.InQ(%Q.facet.loc16_4) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.957)] -// CHECK:STDOUT: %impl.elem2.loc26_7.2: %facet_type.0e9 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc26_7.2 (constants.%impl.elem2.279493.2)] -// CHECK:STDOUT: %as_type.loc26_9.2: type = facet_access_type %impl.elem2.loc26_7.2 [symbolic = %as_type.loc26_9.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %R.lookup_impl_witness: = lookup_impl_witness %impl.elem2.loc26_7.2, @R [symbolic = %R.lookup_impl_witness (constants.%R.lookup_impl_witness.aa0)] -// CHECK:STDOUT: %R.facet: %R.type = facet_value %as_type.loc26_9.2, (%R.lookup_impl_witness) [symbolic = %R.facet (constants.%R.facet)] -// CHECK:STDOUT: %R.WithSelf.InR.type: type = fn_type @R.WithSelf.InR, @R.WithSelf(%R.facet) [symbolic = %R.WithSelf.InR.type (constants.%R.WithSelf.InR.type.56d)] -// CHECK:STDOUT: %.loc26_9.2: type = fn_type_with_self_type %R.WithSelf.InR.type, %R.facet [symbolic = %.loc26_9.2 (constants.%.f43)] -// CHECK:STDOUT: %impl.elem0.loc26_9.2: @F.%.loc26_9.2 (%.f43) = impl_witness_access %R.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_9.2 (constants.%impl.elem0.8cc)] -// CHECK:STDOUT: %require_complete.loc34_6.1: = require_complete_type %as_type.loc26_9.2 [symbolic = %require_complete.loc34_6.1 (constants.%require_complete.6e3)] -// CHECK:STDOUT: %As.type.loc34_6.2: type = facet_type <@As, @As(%as_type.loc26_9.2)> [symbolic = %As.type.loc34_6.2 (constants.%As.type.ccf)] -// CHECK:STDOUT: %require_complete.loc34_6.2: = require_complete_type %As.type.loc34_6.2 [symbolic = %require_complete.loc34_6.2 (constants.%require_complete.ee4)] -// CHECK:STDOUT: %As.assoc_type: type = assoc_entity_type @As, @As(%as_type.loc26_9.2) [symbolic = %As.assoc_type (constants.%As.assoc_type.60e)] -// CHECK:STDOUT: %assoc0.loc34: @F.%As.assoc_type (%As.assoc_type.60e) = assoc_entity element0, imports.%Core.import_ref.967 [symbolic = %assoc0.loc34 (constants.%assoc0.fb9)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc15: = lookup_impl_witness %impl.elem1.loc15_11.2, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc15 (constants.%Destroy.lookup_impl_witness.32f)] -// CHECK:STDOUT: %Destroy.facet.loc15_3.3: %Destroy.type = facet_value %as_type.loc15_11.2, (%Destroy.lookup_impl_witness.loc15) [symbolic = %Destroy.facet.loc15_3.3 (constants.%Destroy.facet.853)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc15: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc15_3.3) [symbolic = %Destroy.WithSelf.Op.type.loc15 (constants.%Destroy.WithSelf.Op.type.bb2)] -// CHECK:STDOUT: %.loc15_3.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc15, %Destroy.facet.loc15_3.3 [symbolic = %.loc15_3.5 (constants.%.ee0)] -// CHECK:STDOUT: %impl.elem0.loc15_3.2: @F.%.loc15_3.5 (%.ee0) = impl_witness_access %Destroy.lookup_impl_witness.loc15, element0 [symbolic = %impl.elem0.loc15_3.2 (constants.%impl.elem0.087)] -// CHECK:STDOUT: %specific_impl_fn.loc15_3.2: = specific_impl_function %impl.elem0.loc15_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc15_3.3) [symbolic = %specific_impl_fn.loc15_3.2 (constants.%specific_impl_fn.ef3)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc6: = lookup_impl_witness %impl.elem0.loc6_11.2, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc6 (constants.%Destroy.lookup_impl_witness.1c9)] -// CHECK:STDOUT: %Destroy.facet.loc6_3.3: %Destroy.type = facet_value %as_type.loc6_11.2, (%Destroy.lookup_impl_witness.loc6) [symbolic = %Destroy.facet.loc6_3.3 (constants.%Destroy.facet.27e)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc6: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc6_3.3) [symbolic = %Destroy.WithSelf.Op.type.loc6 (constants.%Destroy.WithSelf.Op.type.74e)] -// CHECK:STDOUT: %.loc6_3.4: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc6, %Destroy.facet.loc6_3.3 [symbolic = %.loc6_3.4 (constants.%.569)] -// CHECK:STDOUT: %impl.elem0.loc6_3.2: @F.%.loc6_3.4 (%.569) = impl_witness_access %Destroy.lookup_impl_witness.loc6, element0 [symbolic = %impl.elem0.loc6_3.2 (constants.%impl.elem0.95f)] -// CHECK:STDOUT: %specific_impl_fn.loc6_3.2: = specific_impl_function %impl.elem0.loc6_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc6_3.3) [symbolic = %specific_impl_fn.loc6_3.2 (constants.%specific_impl_fn.584)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%t.param: @F.%T.as_type.loc5_24.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.var: ref @F.%as_type.loc6_11.2 (%as_type.a0914b.2) = var_storage %a.var_patt.loc6_3.1 -// CHECK:STDOUT: %t.ref: @F.%T.as_type.loc5_24.1 (%T.as_type) = name_ref t, %t -// CHECK:STDOUT: %GetA.ref: %Transitive.assoc_type = name_ref GetA, imports.%Main.import_ref.5c5 [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc6_17.1: @F.%.loc6_17 (%.657) = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element3 [symbolic = %impl.elem3.loc6_17.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %bound_method.loc6_17: = bound_method %t.ref, %impl.elem3.loc6_17.1 -// CHECK:STDOUT: %.loc6_23.1: %Transitive.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc6_23.2: %Transitive.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %specific_impl_fn.loc6_17.1: = specific_impl_function %impl.elem3.loc6_17.1, @Transitive.WithSelf.GetA(constants.%T) [symbolic = %specific_impl_fn.loc6_17.2 (constants.%specific_impl_fn.72f)] -// CHECK:STDOUT: %bound_method.loc6_23: = bound_method %t.ref, %specific_impl_fn.loc6_17.1 -// CHECK:STDOUT: %.loc6_3.1: ref @F.%as_type.loc6_11.2 (%as_type.a0914b.2) = splice_block %a.var {} -// CHECK:STDOUT: %Transitive.WithSelf.GetA.call: init @F.%as_type.loc6_11.2 (%as_type.a0914b.2) to %.loc6_3.1 = call %bound_method.loc6_23(%t.ref) -// CHECK:STDOUT: assign %a.var, %Transitive.WithSelf.GetA.call -// CHECK:STDOUT: %.loc6_11.1: type = splice_block %.loc6_11.3 [symbolic = %as_type.loc6_11.2 (constants.%as_type.a0914b.2)] { -// CHECK:STDOUT: %T.ref.loc6: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6: type = facet_access_type %T.ref.loc6 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_11.2: type = converted %T.ref.loc6, %T.as_type.loc6 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %A.ref: %Transitive.assoc_type = name_ref A, imports.%Main.import_ref.72c [concrete = constants.%assoc0.e77] -// CHECK:STDOUT: %impl.elem0.loc6_11.1: %facet_type.1ff = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic = %impl.elem0.loc6_11.2 (constants.%impl.elem0.8aa205.2)] -// CHECK:STDOUT: %as_type.loc6_11.1: type = facet_access_type %impl.elem0.loc6_11.1 [symbolic = %as_type.loc6_11.2 (constants.%as_type.a0914b.2)] -// CHECK:STDOUT: %.loc6_11.3: type = converted %impl.elem0.loc6_11.1, %as_type.loc6_11.1 [symbolic = %as_type.loc6_11.2 (constants.%as_type.a0914b.2)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref @F.%as_type.loc6_11.2 (%as_type.a0914b.2) = wrapper_binding a, %a.var -// CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt.loc6_8.1: @F.%pattern_type.loc6 (%pattern_type.77f685.2) = ref_binding_pattern a [symbolic = %a.patt.loc6_8.2 (constants.%a.patt)] -// CHECK:STDOUT: %a.var_patt.loc6_3.1: @F.%pattern_type.loc6 (%pattern_type.77f685.2) = var_pattern %a.patt.loc6_8.1 [symbolic = %a.var_patt.loc6_3.2 (constants.%a.var_patt)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %b.var: ref @F.%as_type.loc15_11.2 (%as_type.f86e2d.2) = var_storage %b.var_patt.loc15_3.1 -// CHECK:STDOUT: %a.ref.loc15: ref @F.%as_type.loc6_11.2 (%as_type.a0914b.2) = name_ref a, %a -// CHECK:STDOUT: %ImplicitAs.type.loc15_3.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%as_type.f86e2d.2)> [symbolic = %ImplicitAs.type.loc15_3.2 (constants.%ImplicitAs.type.368)] -// CHECK:STDOUT: %.loc15_3.1: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.869) = specific_constant imports.%Core.import_ref.484, @ImplicitAs.WithSelf(constants.%as_type.f86e2d.2, constants.%Self.294) [symbolic = %assoc0.loc15 (constants.%assoc0.c45)] -// CHECK:STDOUT: %Convert.ref.loc15: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.869) = name_ref Convert, %.loc15_3.1 [symbolic = %assoc0.loc15 (constants.%assoc0.c45)] -// CHECK:STDOUT: %facet_type.loc15: type = facet_type <@Destroy & @Q> [concrete = constants.%facet_type.aa5] -// CHECK:STDOUT: %.loc15_3.2: @F.%as_type.loc15_11.2 (%as_type.f86e2d.2) = converted %a.ref.loc15, [concrete = ] -// CHECK:STDOUT: assign %b.var, -// CHECK:STDOUT: %.loc15_11.1: type = splice_block %.loc15_11.3 [symbolic = %as_type.loc15_11.2 (constants.%as_type.f86e2d.2)] { -// CHECK:STDOUT: %T.ref.loc15: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc15: type = facet_access_type %T.ref.loc15 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc15_11.2: type = converted %T.ref.loc15, %T.as_type.loc15 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %B.ref: %Transitive.assoc_type = name_ref B, imports.%Main.import_ref.e5e [concrete = constants.%assoc1] -// CHECK:STDOUT: %impl.elem1.loc15_11.1: %facet_type.1b9 = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element1 [symbolic = %impl.elem1.loc15_11.2 (constants.%impl.elem1.1413d6.2)] -// CHECK:STDOUT: %as_type.loc15_11.1: type = facet_access_type %impl.elem1.loc15_11.1 [symbolic = %as_type.loc15_11.2 (constants.%as_type.f86e2d.2)] -// CHECK:STDOUT: %.loc15_11.3: type = converted %impl.elem1.loc15_11.1, %as_type.loc15_11.1 [symbolic = %as_type.loc15_11.2 (constants.%as_type.f86e2d.2)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %b: ref @F.%as_type.loc15_11.2 (%as_type.f86e2d.2) = wrapper_binding b, %b.var -// CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt.loc15_8.1: @F.%pattern_type.loc15 (%pattern_type.86a) = ref_binding_pattern b [symbolic = %b.patt.loc15_8.2 (constants.%b.patt)] -// CHECK:STDOUT: %b.var_patt.loc15_3.1: @F.%pattern_type.loc15 (%pattern_type.86a) = var_pattern %b.patt.loc15_8.1 [symbolic = %b.var_patt.loc15_3.2 (constants.%b.var_patt)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %b.ref: ref @F.%as_type.loc15_11.2 (%as_type.f86e2d.2) = name_ref b, %b -// CHECK:STDOUT: %InQ.ref: %Q.assoc_type = name_ref InQ, imports.%Main.import_ref.e2a [concrete = constants.%assoc0.6a1] -// CHECK:STDOUT: %impl.elem0.loc16_4.1: @F.%.loc16_4 (%.786) = impl_witness_access constants.%Q.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.8e3)] -// CHECK:STDOUT: %bound_method.loc16_4: = bound_method %b.ref, %impl.elem0.loc16_4.1 -// CHECK:STDOUT: %Q.facet.loc16_9.1: %Q.type = facet_value constants.%as_type.f86e2d.2, (constants.%Q.lookup_impl_witness) [symbolic = %Q.facet.loc16_4 (constants.%Q.facet)] -// CHECK:STDOUT: %.loc16_9.1: %Q.type = converted constants.%as_type.f86e2d.2, %Q.facet.loc16_9.1 [symbolic = %Q.facet.loc16_4 (constants.%Q.facet)] -// CHECK:STDOUT: %Q.facet.loc16_9.2: %Q.type = facet_value constants.%as_type.f86e2d.2, (constants.%Q.lookup_impl_witness) [symbolic = %Q.facet.loc16_4 (constants.%Q.facet)] -// CHECK:STDOUT: %.loc16_9.2: %Q.type = converted constants.%as_type.f86e2d.2, %Q.facet.loc16_9.2 [symbolic = %Q.facet.loc16_4 (constants.%Q.facet)] -// CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Q.WithSelf.InQ(constants.%Q.facet) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.957)] -// CHECK:STDOUT: %bound_method.loc16_9: = bound_method %b.ref, %specific_impl_fn.loc16_4.1 -// CHECK:STDOUT: %.loc16_3: @F.%as_type.loc15_11.2 (%as_type.f86e2d.2) = acquire_value %b.ref -// CHECK:STDOUT: %Q.WithSelf.InQ.call: init %empty_tuple.type = call %bound_method.loc16_9(%.loc16_3) -// CHECK:STDOUT: %a.ref.loc26: ref @F.%as_type.loc6_11.2 (%as_type.a0914b.2) = name_ref a, %a -// CHECK:STDOUT: %T.ref.loc26: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc26: type = facet_access_type %T.ref.loc26 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc26_7: type = converted %T.ref.loc26, %T.as_type.loc26 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %C.ref.loc26: %Transitive.assoc_type = name_ref C, imports.%Main.import_ref.c9c [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc26_7.1: %facet_type.0e9 = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic = %impl.elem2.loc26_7.2 (constants.%impl.elem2.279493.2)] -// CHECK:STDOUT: %as_type.loc26_9.1: type = facet_access_type %impl.elem2.loc26_7.1 [symbolic = %as_type.loc26_9.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %.loc26_9.1: type = converted %impl.elem2.loc26_7.1, %as_type.loc26_9.1 [symbolic = %as_type.loc26_9.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %InR.ref.loc26: %R.assoc_type = name_ref InR, imports.%Main.import_ref.682 [concrete = constants.%assoc0.e94] -// CHECK:STDOUT: %facet_type.loc26: type = facet_type <@Destroy & @R> [concrete = constants.%facet_type.fcc] -// CHECK:STDOUT: %impl.elem0.loc26_9.1: @F.%.loc26_9.2 (%.f43) = impl_witness_access constants.%R.lookup_impl_witness.aa0, element0 [symbolic = %impl.elem0.loc26_9.2 (constants.%impl.elem0.8cc)] -// CHECK:STDOUT: %bound_method.loc26: = bound_method %a.ref.loc26, %impl.elem0.loc26_9.1 -// CHECK:STDOUT: %a.ref.loc34: ref @F.%as_type.loc6_11.2 (%as_type.a0914b.2) = name_ref a, %a -// CHECK:STDOUT: %T.ref.loc34: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc34: type = facet_access_type %T.ref.loc34 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc34_10.1: type = converted %T.ref.loc34, %T.as_type.loc34 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %C.ref.loc34: %Transitive.assoc_type = name_ref C, imports.%Main.import_ref.c9c [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc34: %facet_type.0e9 = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic = %impl.elem2.loc26_7.2 (constants.%impl.elem2.279493.2)] -// CHECK:STDOUT: %as_type.loc34: type = facet_access_type %impl.elem2.loc34 [symbolic = %as_type.loc26_9.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %.loc34_10.2: type = converted %impl.elem2.loc34, %as_type.loc34 [symbolic = %as_type.loc26_9.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %As.type.loc34_6.1: type = facet_type <@As, @As(constants.%as_type.b2aa43.2)> [symbolic = %As.type.loc34_6.2 (constants.%As.type.ccf)] -// CHECK:STDOUT: %.loc34_6.1: @F.%As.assoc_type (%As.assoc_type.60e) = specific_constant imports.%Core.import_ref.e36, @As.WithSelf(constants.%as_type.b2aa43.2, constants.%Self.37a) [symbolic = %assoc0.loc34 (constants.%assoc0.fb9)] -// CHECK:STDOUT: %Convert.ref.loc34: @F.%As.assoc_type (%As.assoc_type.60e) = name_ref Convert, %.loc34_6.1 [symbolic = %assoc0.loc34 (constants.%assoc0.fb9)] -// CHECK:STDOUT: %.loc34_6.2: @F.%as_type.loc26_9.2 (%as_type.b2aa43.2) = converted %a.ref.loc34, [concrete = ] -// CHECK:STDOUT: %InR.ref.loc34: = name_ref InR, [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc15_3.1: @F.%.loc15_3.5 (%.ee0) = impl_witness_access constants.%Destroy.lookup_impl_witness.32f, element0 [symbolic = %impl.elem0.loc15_3.2 (constants.%impl.elem0.087)] -// CHECK:STDOUT: %bound_method.loc15_3.1: = bound_method %b.var, %impl.elem0.loc15_3.1 -// CHECK:STDOUT: %Destroy.facet.loc15_3.1: %Destroy.type = facet_value constants.%as_type.f86e2d.2, (constants.%Destroy.lookup_impl_witness.32f) [symbolic = %Destroy.facet.loc15_3.3 (constants.%Destroy.facet.853)] -// CHECK:STDOUT: %.loc15_3.3: %Destroy.type = converted constants.%as_type.f86e2d.2, %Destroy.facet.loc15_3.1 [symbolic = %Destroy.facet.loc15_3.3 (constants.%Destroy.facet.853)] -// CHECK:STDOUT: %Destroy.facet.loc15_3.2: %Destroy.type = facet_value constants.%as_type.f86e2d.2, (constants.%Destroy.lookup_impl_witness.32f) [symbolic = %Destroy.facet.loc15_3.3 (constants.%Destroy.facet.853)] -// CHECK:STDOUT: %.loc15_3.4: %Destroy.type = converted constants.%as_type.f86e2d.2, %Destroy.facet.loc15_3.2 [symbolic = %Destroy.facet.loc15_3.3 (constants.%Destroy.facet.853)] -// CHECK:STDOUT: %specific_impl_fn.loc15_3.1: = specific_impl_function %impl.elem0.loc15_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.853) [symbolic = %specific_impl_fn.loc15_3.2 (constants.%specific_impl_fn.ef3)] -// CHECK:STDOUT: %bound_method.loc15_3.2: = bound_method %b.var, %specific_impl_fn.loc15_3.1 -// CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc15: init %empty_tuple.type = call %bound_method.loc15_3.2(%b.var) -// CHECK:STDOUT: %impl.elem0.loc6_3.1: @F.%.loc6_3.4 (%.569) = impl_witness_access constants.%Destroy.lookup_impl_witness.1c9, element0 [symbolic = %impl.elem0.loc6_3.2 (constants.%impl.elem0.95f)] -// CHECK:STDOUT: %bound_method.loc6_3.1: = bound_method %a.var, %impl.elem0.loc6_3.1 -// CHECK:STDOUT: %Destroy.facet.loc6_3.1: %Destroy.type = facet_value constants.%as_type.a0914b.2, (constants.%Destroy.lookup_impl_witness.1c9) [symbolic = %Destroy.facet.loc6_3.3 (constants.%Destroy.facet.27e)] -// CHECK:STDOUT: %.loc6_3.2: %Destroy.type = converted constants.%as_type.a0914b.2, %Destroy.facet.loc6_3.1 [symbolic = %Destroy.facet.loc6_3.3 (constants.%Destroy.facet.27e)] -// CHECK:STDOUT: %Destroy.facet.loc6_3.2: %Destroy.type = facet_value constants.%as_type.a0914b.2, (constants.%Destroy.lookup_impl_witness.1c9) [symbolic = %Destroy.facet.loc6_3.3 (constants.%Destroy.facet.27e)] -// CHECK:STDOUT: %.loc6_3.3: %Destroy.type = converted constants.%as_type.a0914b.2, %Destroy.facet.loc6_3.2 [symbolic = %Destroy.facet.loc6_3.3 (constants.%Destroy.facet.27e)] -// CHECK:STDOUT: %specific_impl_fn.loc6_3.1: = specific_impl_function %impl.elem0.loc6_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.27e) [symbolic = %specific_impl_fn.loc6_3.2 (constants.%specific_impl_fn.584)] -// CHECK:STDOUT: %bound_method.loc6_3.2: = bound_method %a.var, %specific_impl_fn.loc6_3.1 -// CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc6: init %empty_tuple.type = call %bound_method.loc6_3.2(%a.var) -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%Self.be6) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.be6 -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type.4bf -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR.345 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf.InR(constants.%Self.be6) { -// CHECK:STDOUT: %Self => constants.%Self.be6 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.b02 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.60e -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.640 -// CHECK:STDOUT: %self.patt => constants.%self.patt.894 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf(constants.%Self.afd) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.afd -// CHECK:STDOUT: %Q.WithSelf.InQ.type => constants.%Q.WithSelf.InQ.type.fb9 -// CHECK:STDOUT: %Q.WithSelf.InQ => constants.%Q.WithSelf.InQ.daf -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf.InQ(constants.%Self.afd) { -// CHECK:STDOUT: %Self => constants.%Self.afd -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.430 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ade -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.271 -// CHECK:STDOUT: %self.patt => constants.%self.patt.b5e -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf(constants.%Self.104) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.104 -// CHECK:STDOUT: %P.WithSelf.InP.type => constants.%P.WithSelf.InP.type -// CHECK:STDOUT: %P.WithSelf.InP => constants.%P.WithSelf.InP -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf.InP(constants.%Self.104) { -// CHECK:STDOUT: %Self => constants.%Self.104 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.cc3 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3ef -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.88d -// CHECK:STDOUT: %self.patt => constants.%self.patt.6de -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf(constants.%Self.744) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.8aa205.1 -// CHECK:STDOUT: %impl.elem1 => constants.%impl.elem1.1413d6.1 -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type => constants.%Transitive.WithSelf.GetA.type.0b3c58.1 -// CHECK:STDOUT: %Transitive.WithSelf.GetA => constants.%Transitive.WithSelf.GetA.e3e09c.1 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type => constants.%Transitive.WithSelf.TakesC.type.d86d9f.1 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC => constants.%Transitive.WithSelf.TakesC.f276cd.1 -// CHECK:STDOUT: %as_type.1 => constants.%as_type.f86e2d.1 -// CHECK:STDOUT: %as_type.2 => constants.%as_type.a0914b.1 -// CHECK:STDOUT: %eq.1 => constants.%eq.20ba2e.1 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.279493.1 -// CHECK:STDOUT: %as_type.3 => constants.%as_type.b2aa43.1 -// CHECK:STDOUT: %eq.2 => constants.%eq.be77bc.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.TakesC(constants.%Self.744) { -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.56c -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.1 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.1 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.1 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.279493.1 -// CHECK:STDOUT: %as_type => constants.%as_type.b2aa43.1 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.d96 -// CHECK:STDOUT: %c.param_patt => constants.%c.param_patt -// CHECK:STDOUT: %c.patt => constants.%c.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%Self.744) { -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.56c -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.1 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.1 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.1 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.8aa205.1 -// CHECK:STDOUT: %as_type => constants.%as_type.a0914b.1 -// CHECK:STDOUT: %.1 => constants.%.3ef823.1 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.77f685.1 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.11f0b9.1 -// CHECK:STDOUT: %return.patt => constants.%return.patt.87a9a6.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T) { -// CHECK:STDOUT: %T.patt.loc5_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc5_7.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc5_24.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc5 => constants.%pattern_type.68e728.2 -// CHECK:STDOUT: %t.param_patt.loc5_22.2 => constants.%t.param_patt -// CHECK:STDOUT: %t.patt.loc5_22.2 => constants.%t.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf(constants.%T) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.2 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.8aa205.2 -// CHECK:STDOUT: %impl.elem1 => constants.%impl.elem1.1413d6.2 -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type => constants.%Transitive.WithSelf.GetA.type.0b3c58.2 -// CHECK:STDOUT: %Transitive.WithSelf.GetA => constants.%Transitive.WithSelf.GetA.e3e09c.2 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type => constants.%Transitive.WithSelf.TakesC.type.d86d9f.2 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC => constants.%Transitive.WithSelf.TakesC.f276cd.2 -// CHECK:STDOUT: %as_type.1 => constants.%as_type.f86e2d.2 -// CHECK:STDOUT: %as_type.2 => constants.%as_type.a0914b.2 -// CHECK:STDOUT: %eq.1 => constants.%eq.20ba2e.2 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.279493.2 -// CHECK:STDOUT: %as_type.3 => constants.%as_type.b2aa43.2 -// CHECK:STDOUT: %eq.2 => constants.%eq.be77bc.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%T) { -// CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %Self.as_type => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.2 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.2 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.2 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.2 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.8aa205.2 -// CHECK:STDOUT: %as_type => constants.%as_type.a0914b.2 -// CHECK:STDOUT: %.1 => constants.%.3ef823.2 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.77f685.2 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.11f0b9.2 -// CHECK:STDOUT: %return.patt => constants.%return.patt.87a9a6.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf(constants.%impl.elem1.1413d6.2) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%impl.elem1.1413d6.2 -// CHECK:STDOUT: %Q.WithSelf.InQ.type => constants.%Q.WithSelf.InQ.type.c89 -// CHECK:STDOUT: %Q.WithSelf.InQ => constants.%Q.WithSelf.InQ.aef -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf(constants.%Q.facet) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Q.facet -// CHECK:STDOUT: %Q.WithSelf.InQ.type => constants.%Q.WithSelf.InQ.type.0c5 -// CHECK:STDOUT: %Q.WithSelf.InQ => constants.%Q.WithSelf.InQ.9e5 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf.InQ(constants.%Q.facet) { -// CHECK:STDOUT: %Self => constants.%Q.facet -// CHECK:STDOUT: %Self.as_type => constants.%as_type.f86e2d.2 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.86a -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.321 -// CHECK:STDOUT: %self.patt => constants.%self.patt.7e6 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%impl.elem2.279493.2) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%impl.elem2.279493.2 -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type.a87 -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR.704 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%R.facet) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%R.facet -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type.56d -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR.9a8 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_todo_impls.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.e8c: type = facet_access_type %Self.b45 [symbolic] -// CHECK:STDOUT: %C.type: type = facet_type <@C> [concrete] -// CHECK:STDOUT: %Self.62a: %C.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.187: type = facet_access_type %Self.62a [symbolic] -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.029: type = pattern_type %A.type [concrete] -// CHECK:STDOUT: %T.patt.a4b: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T.626: %A.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.3b8: type = facet_access_type %T.626 [symbolic] -// CHECK:STDOUT: %pattern_type.a0e: type = pattern_type %T.as_type.3b8 [symbolic] -// CHECK:STDOUT: %x.param_patt.241: %pattern_type.a0e = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.19b: %pattern_type.a0e = at_binding_pattern x, %x.param_patt.241 [symbolic] -// CHECK:STDOUT: %RequiresA.type: type = fn_type @RequiresA [concrete] -// CHECK:STDOUT: %RequiresA: %RequiresA.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.94f: = require_complete_type %T.as_type.3b8 [symbolic] -// CHECK:STDOUT: %pattern_type.647: type = pattern_type %C.type [concrete] -// CHECK:STDOUT: %T.patt.ece: %pattern_type.647 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T.659: %C.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.c69: type = facet_access_type %T.659 [symbolic] -// CHECK:STDOUT: %pattern_type.df0: type = pattern_type %T.as_type.c69 [symbolic] -// CHECK:STDOUT: %x.param_patt.948: %pattern_type.df0 = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.f9a: %pattern_type.df0 = at_binding_pattern x, %x.param_patt.948 [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.8a2: = require_complete_type %T.as_type.c69 [symbolic] -// CHECK:STDOUT: %impls = observe_impls %T.659, %B.type [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .C = %C.decl -// CHECK:STDOUT: .RequiresA = %RequiresA.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} -// CHECK:STDOUT: %C.decl: type = interface_decl @C [concrete = constants.%C.type] {} {} -// CHECK:STDOUT: %RequiresA.decl: %RequiresA.type = fn_decl @RequiresA [concrete = constants.%RequiresA] { -// CHECK:STDOUT: %T.patt.loc7_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_15.2 (constants.%T.patt.a4b)] -// CHECK:STDOUT: %x.param_patt.loc7_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc7_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc7_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc7_28.1 [symbolic = %x.patt.loc7_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc7_17: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc7_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_15.1 (constants.%T.626)] -// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc7_30.1 (%T.as_type.3b8) = value_param call_param0 -// CHECK:STDOUT: %.loc7_30.1: type = splice_block %.loc7_30.2 [symbolic = %T.as_type.loc7_30.1 (constants.%T.as_type.3b8)] { -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc7_15.2 [symbolic = %T.loc7_15.1 (constants.%T.626)] -// CHECK:STDOUT: %T.as_type.loc7_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc7_30.1 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %.loc7_30.2: type = converted %T.ref, %T.as_type.loc7_30.2 [symbolic = %T.as_type.loc7_30.1 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc7_30.1 (%T.as_type.3b8) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc8_7.1: %pattern_type.647 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_7.2 (constants.%T.patt.ece)] -// CHECK:STDOUT: %x.param_patt.loc8_13.1: @F.%pattern_type (%pattern_type.df0) = value_param_pattern [symbolic = %x.param_patt.loc8_13.2 (constants.%x.param_patt.948)] -// CHECK:STDOUT: %x.patt.loc8_13.1: @F.%pattern_type (%pattern_type.df0) = at_binding_pattern x, %x.param_patt.loc8_13.1 [symbolic = %x.patt.loc8_13.2 (constants.%x.patt.f9a)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc8_9: type = splice_block %C.ref [concrete = constants.%C.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc8_7.2: %C.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T.659)] -// CHECK:STDOUT: %x.param: @F.%T.as_type.loc8_15.1 (%T.as_type.c69) = value_param call_param0 -// CHECK:STDOUT: %.loc8_15.1: type = splice_block %.loc8_15.2 [symbolic = %T.as_type.loc8_15.1 (constants.%T.as_type.c69)] { -// CHECK:STDOUT: %T.ref.loc8: %C.type = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T.659)] -// CHECK:STDOUT: %T.as_type.loc8_15.2: type = facet_access_type %T.ref.loc8 [symbolic = %T.as_type.loc8_15.1 (constants.%T.as_type.c69)] -// CHECK:STDOUT: %.loc8_15.2: type = converted %T.ref.loc8, %T.as_type.loc8_15.2 [symbolic = %T.as_type.loc8_15.1 (constants.%T.as_type.c69)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%T.as_type.loc8_15.1 (%T.as_type.c69) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %B.WithSelf.Self.as_type.impls.A.type.require.decl = require_decl @B.WithSelf.Self.as_type.impls.A.type.require [concrete] { -// CHECK:STDOUT: require %Self.as_type.loc4_23.1 impls %A.ref -// CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.as_type.loc4_23.1: type = facet_access_type @B.%Self [symbolic = %Self.as_type.loc4_23.2 (constants.%Self.as_type.e8c)] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: .A = -// CHECK:STDOUT: .A = -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: @B.WithSelf.Self.as_type.impls.A.type.require { -// CHECK:STDOUT: require @B.WithSelf.Self.as_type.impls.A.type.require.%Self.as_type.loc4_23.1 impls @B.WithSelf.Self.as_type.impls.A.type.require.%A.ref -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @C { -// CHECK:STDOUT: %Self: %C.type = symbolic_binding Self, 0 [symbolic = constants.%Self.62a] -// CHECK:STDOUT: %C.WithSelf.decl = interface_with_self_decl @C [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %C.WithSelf.Self.as_type.impls.B.type.require.decl = require_decl @C.WithSelf.Self.as_type.impls.B.type.require [concrete] { -// CHECK:STDOUT: require %Self.as_type.loc5_23.1 impls %B.ref -// CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.as_type.loc5_23.1: type = facet_access_type @C.%Self [symbolic = %Self.as_type.loc5_23.2 (constants.%Self.as_type.187)] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: .B = -// CHECK:STDOUT: .B = -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: @C.WithSelf.Self.as_type.impls.B.type.require { -// CHECK:STDOUT: require @C.WithSelf.Self.as_type.impls.B.type.require.%Self.as_type.loc5_23.1 impls @C.WithSelf.Self.as_type.impls.B.type.require.%B.ref -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic require @B.WithSelf.Self.as_type.impls.A.type.require(@B.%Self: %B.type) { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.b45)] -// CHECK:STDOUT: %Self.as_type.loc4_23.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc4_23.2 (constants.%Self.as_type.e8c)] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic require @C.WithSelf.Self.as_type.impls.B.type.require(@C.%Self: %C.type) { -// CHECK:STDOUT: %Self: %C.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.62a)] -// CHECK:STDOUT: %Self.as_type.loc5_23.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_23.2 (constants.%Self.as_type.187)] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresA(%T.loc7_15.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc7_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_15.2 (constants.%T.patt.a4b)] -// CHECK:STDOUT: %T.loc7_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_15.1 (constants.%T.626)] -// CHECK:STDOUT: %T.as_type.loc7_30.1: type = facet_access_type %T.loc7_15.1 [symbolic = %T.as_type.loc7_30.1 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc7_30.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] -// CHECK:STDOUT: %x.param_patt.loc7_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc7_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc7_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc7_28.2 [symbolic = %x.patt.loc7_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc7_30.1 [symbolic = %require_complete (constants.%require_complete.94f)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc7_30.1 (%T.as_type.3b8)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc8_7.2: %C.type) { -// CHECK:STDOUT: %T.patt.loc8_7.2: %pattern_type.647 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_7.2 (constants.%T.patt.ece)] -// CHECK:STDOUT: %T.loc8_7.1: %C.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T.659)] -// CHECK:STDOUT: %T.as_type.loc8_15.1: type = facet_access_type %T.loc8_7.1 [symbolic = %T.as_type.loc8_15.1 (constants.%T.as_type.c69)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc8_15.1 [symbolic = %pattern_type (constants.%pattern_type.df0)] -// CHECK:STDOUT: %x.param_patt.loc8_13.2: @F.%pattern_type (%pattern_type.df0) = value_param_pattern [symbolic = %x.param_patt.loc8_13.2 (constants.%x.param_patt.948)] -// CHECK:STDOUT: %x.patt.loc8_13.2: @F.%pattern_type (%pattern_type.df0) = at_binding_pattern x, %x.param_patt.loc8_13.2 [symbolic = %x.patt.loc8_13.2 (constants.%x.patt.f9a)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc8_15.1 [symbolic = %require_complete (constants.%require_complete.8a2)] -// CHECK:STDOUT: %impls = observe_impls %T.loc8_7.1, constants.%B.type [symbolic = %impls (constants.%impls)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%T.as_type.loc8_15.1 (%T.as_type.c69)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref.loc9: %C.type = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T.659)] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %T.as_type.loc9: type = facet_access_type %T.ref.loc9 [symbolic = %T.as_type.loc8_15.1 (constants.%T.as_type.c69)] -// CHECK:STDOUT: %.loc9: type = converted %T.ref.loc9, %T.as_type.loc9 [symbolic = %T.as_type.loc8_15.1 (constants.%T.as_type.c69)] -// CHECK:STDOUT: %F.observe.decl = observe_decl @F.observe [concrete] -// CHECK:STDOUT: %RequiresA.ref: %RequiresA.type = name_ref RequiresA, file.%RequiresA.decl [concrete = constants.%RequiresA] -// CHECK:STDOUT: %x.ref: @F.%T.as_type.loc8_15.1 (%T.as_type.c69) = name_ref x, %x -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @F.observe { -// CHECK:STDOUT: observe constants.%T.659 impls constants.%B.type -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) {} -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf.Self.as_type.impls.A.type.require(constants.%Self.b45) { -// CHECK:STDOUT: %Self => constants.%Self.b45 -// CHECK:STDOUT: %Self.as_type.loc4_23.2 => constants.%Self.as_type.e8c -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @C.WithSelf(constants.%Self.62a) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @C.WithSelf.Self.as_type.impls.B.type.require(constants.%Self.62a) { -// CHECK:STDOUT: %Self => constants.%Self.62a -// CHECK:STDOUT: %Self.as_type.loc5_23.2 => constants.%Self.as_type.187 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresA(constants.%T.626) { -// CHECK:STDOUT: %T.patt.loc7_15.2 => constants.%T.patt.a4b -// CHECK:STDOUT: %T.loc7_15.1 => constants.%T.626 -// CHECK:STDOUT: %T.as_type.loc7_30.1 => constants.%T.as_type.3b8 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc7_28.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc7_28.2 => constants.%x.patt.19b -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.659) { -// CHECK:STDOUT: %T.patt.loc8_7.2 => constants.%T.patt.ece -// CHECK:STDOUT: %T.loc8_7.1 => constants.%T.659 -// CHECK:STDOUT: %T.as_type.loc8_15.1 => constants.%T.as_type.c69 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.df0 -// CHECK:STDOUT: %x.param_patt.loc8_13.2 => constants.%x.param_patt.948 -// CHECK:STDOUT: %x.patt.loc8_13.2 => constants.%x.patt.f9a -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_todo_equivalent_impls.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %P.type: type = facet_type <@P> [concrete] -// CHECK:STDOUT: %Self.104: %P.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP.type: type = fn_type @P.WithSelf.InP, @P.WithSelf(%Self.104) [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP: %P.WithSelf.InP.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.cc3: type = facet_access_type %Self.104 [symbolic] -// CHECK:STDOUT: %pattern_type.3ef: type = pattern_type %Self.as_type.cc3 [symbolic] -// CHECK:STDOUT: %self.param_patt.88d: %pattern_type.3ef = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.6de: %pattern_type.3ef = at_binding_pattern self, %self.param_patt.88d [symbolic] -// CHECK:STDOUT: %Q.type: type = facet_type <@Q> [concrete] -// CHECK:STDOUT: %Self.afd: %Q.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.type: type = fn_type @Q.WithSelf.InQ, @Q.WithSelf(%Self.afd) [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ: %Q.WithSelf.InQ.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.430: type = facet_access_type %Self.afd [symbolic] -// CHECK:STDOUT: %pattern_type.ade: type = pattern_type %Self.as_type.430 [symbolic] -// CHECK:STDOUT: %self.param_patt.271: %pattern_type.ade = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.b5e: %pattern_type.ade = at_binding_pattern self, %self.param_patt.271 [symbolic] -// CHECK:STDOUT: %BitAndWith.type.a06: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.a06 = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.802: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] -// CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.802 = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.38f: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.d56: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.38f, %BitAndWith.facet [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.dd7: = bound_method %P.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.bc0: type = facet_type <@P & @Q> [concrete] -// CHECK:STDOUT: %R.type: type = facet_type <@R> [concrete] -// CHECK:STDOUT: %Self.be6: %R.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.type: type = fn_type @R.WithSelf.InR, @R.WithSelf(%Self.be6) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR: %R.WithSelf.InR.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.b02: type = facet_access_type %Self.be6 [symbolic] -// CHECK:STDOUT: %pattern_type.60e: type = pattern_type %Self.as_type.b02 [symbolic] -// CHECK:STDOUT: %self.param_patt.640: %pattern_type.60e = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.894: %pattern_type.60e = at_binding_pattern self, %self.param_patt.640 [symbolic] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.588: = bound_method %facet_type.bc0, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.0b6: type = facet_type <@P & @Q & @R> [concrete] -// CHECK:STDOUT: %pattern_type.075: type = pattern_type %facet_type.0b6 [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.075 = symbolic_binding_pattern U, 0 [symbolic] -// CHECK:STDOUT: %U: %facet_type.0b6 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.54d: type = pattern_type %U.as_type [symbolic] -// CHECK:STDOUT: %u.param_patt: %pattern_type.54d = value_param_pattern [symbolic] -// CHECK:STDOUT: %u.patt: %pattern_type.54d = at_binding_pattern u, %u.param_patt [symbolic] -// CHECK:STDOUT: %TakesPQR.type: type = fn_type @TakesPQR [concrete] -// CHECK:STDOUT: %TakesPQR: %TakesPQR.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.192: = require_complete_type %U.as_type [symbolic] -// CHECK:STDOUT: %Transitive.type: type = facet_type <@Transitive> [concrete] -// CHECK:STDOUT: %Self.744: %Transitive.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Transitive.lookup_impl_witness.ab0b8d.1: = lookup_impl_witness %Self.744, @Transitive [symbolic] -// CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %facet_type.4c8: type = facet_type <@R & @Destroy where TODO> [concrete] -// CHECK:STDOUT: %impl.elem2.731f97.1: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element2 [symbolic] -// CHECK:STDOUT: %facet_type.130: type = facet_type <@Q & @Destroy where TODO> [concrete] -// CHECK:STDOUT: %impl.elem1.6be46c.1: %facet_type.130 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element1 [symbolic] -// CHECK:STDOUT: %eq.033b19.1 = observe_equivalent %impl.elem1.6be46c.1, %impl.elem2.731f97.1 [symbolic] -// CHECK:STDOUT: %as_type.2fadd6.1: type = facet_access_type %impl.elem2.731f97.1 [symbolic] -// CHECK:STDOUT: %facet_type.b1b: type = facet_type <@P & @Destroy> [concrete] -// CHECK:STDOUT: %impl.elem0.0439e7.1: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element0 [symbolic] -// CHECK:STDOUT: %eq.4be6e4.1 = observe_equivalent %impl.elem0.0439e7.1, %impl.elem1.6be46c.1 [symbolic] -// CHECK:STDOUT: %as_type.6a024f.1: type = facet_access_type %impl.elem0.0439e7.1 [symbolic] -// CHECK:STDOUT: %as_type.dca436.1: type = facet_access_type %impl.elem1.6be46c.1 [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type.d86d9f.1: type = fn_type @Transitive.WithSelf.TakesC, @Transitive.WithSelf(%Self.744) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.f276cd.1: %Transitive.WithSelf.TakesC.type.d86d9f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.56c: type = facet_access_type %Self.744 [symbolic] -// CHECK:STDOUT: %pattern_type.68e728.1: type = pattern_type %Self.as_type.56c [symbolic] -// CHECK:STDOUT: %self.param_patt.e90fff.1: %pattern_type.68e728.1 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.d2dab3.1: %pattern_type.68e728.1 = at_binding_pattern self, %self.param_patt.e90fff.1 [symbolic] -// CHECK:STDOUT: %pattern_type.ac0: type = pattern_type %as_type.2fadd6.1 [symbolic] -// CHECK:STDOUT: %c.param_patt: %pattern_type.ac0 = value_param_pattern [symbolic] -// CHECK:STDOUT: %c.patt: %pattern_type.ac0 = at_binding_pattern c, %c.param_patt [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type.0b3c58.1: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%Self.744) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.e3e09c.1: %Transitive.WithSelf.GetA.type.0b3c58.1 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.c73ac0.1: type = pattern_type %as_type.6a024f.1 [symbolic] -// CHECK:STDOUT: %return.param_patt.057e89.1: %pattern_type.c73ac0.1 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.4e0711.1: %pattern_type.c73ac0.1 = return_slot_pattern %return.param_patt.057e89.1, invalid [symbolic] -// CHECK:STDOUT: %.2b1a45.1: Core.Form = init_form %as_type.6a024f.1 [symbolic] -// CHECK:STDOUT: %pattern_type.bd9: type = pattern_type %Transitive.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %Transitive.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.68e728.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %t.param_patt: %pattern_type.68e728.2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %t.patt: %pattern_type.68e728.2 = at_binding_pattern t, %t.param_patt [symbolic] -// CHECK:STDOUT: %G.type: type = fn_type @G [concrete] -// CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.fbd: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Transitive.lookup_impl_witness.ab0b8d.2: = lookup_impl_witness %T, @Transitive [symbolic] -// CHECK:STDOUT: %impl.elem0.0439e7.2: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.6be46c.2: %facet_type.130 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element1 [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type.0b3c58.2: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.e3e09c.2: %Transitive.WithSelf.GetA.type.0b3c58.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type.d86d9f.2: type = fn_type @Transitive.WithSelf.TakesC, @Transitive.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.f276cd.2: %Transitive.WithSelf.TakesC.type.d86d9f.2 = struct_value () [symbolic] -// CHECK:STDOUT: %as_type.dca436.2: type = facet_access_type %impl.elem1.6be46c.2 [symbolic] -// CHECK:STDOUT: %as_type.6a024f.2: type = facet_access_type %impl.elem0.0439e7.2 [symbolic] -// CHECK:STDOUT: %eq.4be6e4.2 = observe_equivalent %impl.elem0.0439e7.2, %impl.elem1.6be46c.2 [symbolic] -// CHECK:STDOUT: %impl.elem2.731f97.2: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic] -// CHECK:STDOUT: %as_type.2fadd6.2: type = facet_access_type %impl.elem2.731f97.2 [symbolic] -// CHECK:STDOUT: %eq.033b19.2 = observe_equivalent %impl.elem1.6be46c.2, %impl.elem2.731f97.2 [symbolic] -// CHECK:STDOUT: %Transitive.assoc_type: type = assoc_entity_type @Transitive [concrete] -// CHECK:STDOUT: %assoc0.7cd: %Transitive.assoc_type = assoc_entity element0, imports.%Main.import_ref.d38 [concrete] -// CHECK:STDOUT: %require_complete.c2d: = require_complete_type %as_type.6a024f.2 [symbolic] -// CHECK:STDOUT: %pattern_type.c73ac0.2: type = pattern_type %as_type.6a024f.2 [symbolic] -// CHECK:STDOUT: %a.patt: %pattern_type.c73ac0.2 = ref_binding_pattern a [symbolic] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c73ac0.2 = var_pattern %a.patt [symbolic] -// CHECK:STDOUT: %assoc3: %Transitive.assoc_type = assoc_entity element3, imports.%Main.import_ref.06c [concrete] -// CHECK:STDOUT: %.657: type = fn_type_with_self_type %Transitive.WithSelf.GetA.type.0b3c58.2, %T [symbolic] -// CHECK:STDOUT: %impl.elem3: %.657 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element3 [symbolic] -// CHECK:STDOUT: %self.param_patt.e90fff.2: %pattern_type.68e728.2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.d2dab3.2: %pattern_type.68e728.2 = at_binding_pattern self, %self.param_patt.e90fff.2 [symbolic] -// CHECK:STDOUT: %.2b1a45.2: Core.Form = init_form %as_type.6a024f.2 [symbolic] -// CHECK:STDOUT: %return.param_patt.057e89.2: %pattern_type.c73ac0.2 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.4e0711.2: %pattern_type.c73ac0.2 = return_slot_pattern %return.param_patt.057e89.2, invalid [symbolic] -// CHECK:STDOUT: %specific_impl_fn.72f: = specific_impl_function %impl.elem3, @Transitive.WithSelf.GetA(%T) [symbolic] -// CHECK:STDOUT: %assoc1: %Transitive.assoc_type = assoc_entity element1, imports.%Main.import_ref.9f3 [concrete] -// CHECK:STDOUT: %impls.885 = observe_impls %impl.elem1.6be46c.2, %Q.type [symbolic] -// CHECK:STDOUT: %Q.assoc_type: type = assoc_entity_type @Q [concrete] -// CHECK:STDOUT: %assoc0.6a1: %Q.assoc_type = assoc_entity element0, imports.%Main.import_ref.636 [concrete] -// CHECK:STDOUT: %assoc2: %Transitive.assoc_type = assoc_entity element2, imports.%Main.import_ref.a5f [concrete] -// CHECK:STDOUT: %eq.fcd = observe_equivalent %impl.elem0.0439e7.2, %impl.elem2.731f97.2 [symbolic] -// CHECK:STDOUT: %impls.adc = observe_impls %impl.elem2.731f97.2, %R.type [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %impl.elem0.0439e7.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %as_type.6a024f.2, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.5e1: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] -// CHECK:STDOUT: %.e75: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.5e1, %Destroy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.678: %.e75 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.e8e: = specific_impl_function %impl.elem0.678, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.P: type = import_ref Main//transitive, P, loaded [concrete = constants.%P.type] -// CHECK:STDOUT: %Main.Q: type = import_ref Main//transitive, Q, loaded [concrete = constants.%Q.type] -// CHECK:STDOUT: %Main.R: type = import_ref Main//transitive, R, loaded [concrete = constants.%R.type] -// CHECK:STDOUT: %Main.Transitive: type = import_ref Main//transitive, Transitive, loaded [concrete = constants.%Transitive.type] -// CHECK:STDOUT: %Core.048aa3.1: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .BitAndWith = %Core.BitAndWith -// CHECK:STDOUT: .Destroy = %Core.Destroy -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.fec = import_ref Main//transitive, loc3_27, unloaded -// CHECK:STDOUT: %Main.InP = import_ref Main//transitive, InP, unloaded -// CHECK:STDOUT: %Main.import_ref.aef2fa.2: %P.type = import_ref Main//transitive, loc3_13, loaded [symbolic = constants.%Self.104] -// CHECK:STDOUT: %Main.import_ref.96f = import_ref Main//transitive, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.e2a: %Q.assoc_type = import_ref Main//transitive, loc4_27, loaded [concrete = constants.%assoc0.6a1] -// CHECK:STDOUT: %Main.InQ = import_ref Main//transitive, InQ, unloaded -// CHECK:STDOUT: %Main.import_ref.c0a1f5.2: %Q.type = import_ref Main//transitive, loc4_13, loaded [symbolic = constants.%Self.afd] -// CHECK:STDOUT: %Main.import_ref.4f3 = import_ref Main//transitive, loc4_13, unloaded -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.a06 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.9c3: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.9c3), @type.as.BitAndWith.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.0ce = import_ref Main//transitive, loc5_27, unloaded -// CHECK:STDOUT: %Main.InR = import_ref Main//transitive, InR, unloaded -// CHECK:STDOUT: %Main.import_ref.f6968b.2: %R.type = import_ref Main//transitive, loc5_13, loaded [symbolic = constants.%Self.be6] -// CHECK:STDOUT: %Main.import_ref.659 = import_ref Main//transitive, loc5_13, unloaded -// CHECK:STDOUT: %Main.import_ref.72c: %Transitive.assoc_type = import_ref Main//transitive, loc8_8, loaded [concrete = constants.%assoc0.7cd] -// CHECK:STDOUT: %Main.import_ref.e5e: %Transitive.assoc_type = import_ref Main//transitive, loc9_8, loaded [concrete = constants.%assoc1] -// CHECK:STDOUT: %Main.import_ref.c9c: %Transitive.assoc_type = import_ref Main//transitive, loc10_8, loaded [concrete = constants.%assoc2] -// CHECK:STDOUT: %Main.import_ref.5c5: %Transitive.assoc_type = import_ref Main//transitive, loc12_21, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Main.import_ref.ae2 = import_ref Main//transitive, loc13_24, unloaded -// CHECK:STDOUT: %Main.A = import_ref Main//transitive, A, unloaded -// CHECK:STDOUT: %Main.B = import_ref Main//transitive, B, unloaded -// CHECK:STDOUT: %Main.C = import_ref Main//transitive, C, unloaded -// CHECK:STDOUT: %Main.GetA = import_ref Main//transitive, GetA, unloaded -// CHECK:STDOUT: %Main.TakesC = import_ref Main//transitive, TakesC, unloaded -// CHECK:STDOUT: %Main.import_ref.df6636.2: %Transitive.type = import_ref Main//transitive, loc7_22, loaded [symbolic = constants.%Self.744] -// CHECK:STDOUT: %Main.import_ref.df6636.3: %Transitive.type = import_ref Main//transitive, loc7_22, loaded [symbolic = constants.%Self.744] -// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//transitive, loc7_22, unloaded -// CHECK:STDOUT: %Main.import_ref.d38: %facet_type.b1b = import_ref Main//transitive, loc8_8, loaded [concrete = %A] -// CHECK:STDOUT: %A: %facet_type.b1b = assoc_const_decl @A [concrete] {} -// CHECK:STDOUT: %Main.import_ref.06c: @Transitive.WithSelf.%Transitive.WithSelf.GetA.type (%Transitive.WithSelf.GetA.type.0b3c58.1) = import_ref Main//transitive, loc12_21, loaded [symbolic = @Transitive.WithSelf.%Transitive.WithSelf.GetA (constants.%Transitive.WithSelf.GetA.e3e09c.1)] -// CHECK:STDOUT: %Main.import_ref.9f3: %facet_type.130 = import_ref Main//transitive, loc9_8, loaded [concrete = %B] -// CHECK:STDOUT: %B: %facet_type.130 = assoc_const_decl @B [concrete] {} -// CHECK:STDOUT: %Main.import_ref.636: @Q.WithSelf.%Q.WithSelf.InQ.type (%Q.WithSelf.InQ.type) = import_ref Main//transitive, loc4_27, loaded [symbolic = @Q.WithSelf.%Q.WithSelf.InQ (constants.%Q.WithSelf.InQ)] -// CHECK:STDOUT: %Main.import_ref.a5f: %facet_type.4c8 = import_ref Main//transitive, loc10_8, loaded [concrete = %C] -// CHECK:STDOUT: %C: %facet_type.4c8 = assoc_const_decl @C [concrete] {} -// CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .P = imports.%Main.P -// CHECK:STDOUT: .Q = imports.%Main.Q -// CHECK:STDOUT: .R = imports.%Main.R -// CHECK:STDOUT: .Transitive = imports.%Main.Transitive -// CHECK:STDOUT: .Core = imports.%Core.048aa3.1 -// CHECK:STDOUT: .TakesPQR = %TakesPQR.decl -// CHECK:STDOUT: .G = %G.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %default.import = import -// CHECK:STDOUT: %TakesPQR.decl: %TakesPQR.type = fn_decl @TakesPQR [concrete = constants.%TakesPQR] { -// CHECK:STDOUT: %U.patt.loc5_14.1: %pattern_type.075 = symbolic_binding_pattern U, 0 [symbolic = %U.patt.loc5_14.2 (constants.%U.patt)] -// CHECK:STDOUT: %u.param_patt.loc5_35.1: @TakesPQR.%pattern_type (%pattern_type.54d) = value_param_pattern [symbolic = %u.param_patt.loc5_35.2 (constants.%u.param_patt)] -// CHECK:STDOUT: %u.patt.loc5_35.1: @TakesPQR.%pattern_type (%pattern_type.54d) = at_binding_pattern u, %u.param_patt.loc5_35.1 [symbolic = %u.patt.loc5_35.2 (constants.%u.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc5_22.1: type = splice_block %.loc5_22.3 [concrete = constants.%facet_type.0b6] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %P.ref: type = name_ref P, imports.%Main.P [concrete = constants.%P.type] -// CHECK:STDOUT: %Q.ref: type = name_ref Q, imports.%Main.Q [concrete = constants.%Q.type] -// CHECK:STDOUT: %impl.elem0.loc5_18: %.d56 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method.loc5_18: = bound_method %P.ref, %impl.elem0.loc5_18 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.dd7] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc5_18: init type = call %bound_method.loc5_18(%P.ref, %Q.ref) [concrete = constants.%facet_type.bc0] -// CHECK:STDOUT: %R.ref: type = name_ref R, imports.%Main.R [concrete = constants.%R.type] -// CHECK:STDOUT: %impl.elem0.loc5_22: %.d56 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method.loc5_22: = bound_method %type.as.BitAndWith.impl.Op.call.loc5_18, %impl.elem0.loc5_22 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.588] -// CHECK:STDOUT: %.loc5_18.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc5_18 [concrete = constants.%facet_type.bc0] -// CHECK:STDOUT: %.loc5_18.2: type = converted %type.as.BitAndWith.impl.Op.call.loc5_18, %.loc5_18.1 [concrete = constants.%facet_type.bc0] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc5_22: init type = call %bound_method.loc5_22(%.loc5_18.2, %R.ref) [concrete = constants.%facet_type.0b6] -// CHECK:STDOUT: %.loc5_22.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc5_22 [concrete = constants.%facet_type.0b6] -// CHECK:STDOUT: %.loc5_22.3: type = converted %type.as.BitAndWith.impl.Op.call.loc5_22, %.loc5_22.2 [concrete = constants.%facet_type.0b6] -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc5_14.2: %facet_type.0b6 = symbolic_binding U, 0 [symbolic = %U.loc5_14.1 (constants.%U)] -// CHECK:STDOUT: %u.param: @TakesPQR.%U.as_type.loc5_37.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc5_37.1: type = splice_block %.loc5_37.2 [symbolic = %U.as_type.loc5_37.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref: %facet_type.0b6 = name_ref U, %U.loc5_14.2 [symbolic = %U.loc5_14.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc5_37.2: type = facet_access_type %U.ref [symbolic = %U.as_type.loc5_37.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc5_37.2: type = converted %U.ref, %U.as_type.loc5_37.2 [symbolic = %U.as_type.loc5_37.1 (constants.%U.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %u: @TakesPQR.%U.as_type.loc5_37.1 (%U.as_type) = wrapper_binding u, %u.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt.loc6_7.1: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %t.param_patt.loc6_22.1: @G.%pattern_type.loc6 (%pattern_type.68e728.2) = value_param_pattern [symbolic = %t.param_patt.loc6_22.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc6_22.1: @G.%pattern_type.loc6 (%pattern_type.68e728.2) = at_binding_pattern t, %t.param_patt.loc6_22.1 [symbolic = %t.patt.loc6_22.2 (constants.%t.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_9: type = splice_block %Transitive.ref [concrete = constants.%Transitive.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %Transitive.ref: type = name_ref Transitive, imports.%Main.Transitive [concrete = constants.%Transitive.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_7.2: %Transitive.type = symbolic_binding T, 0 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %t.param: @G.%T.as_type.loc6_24.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc6_24.1: type = splice_block %.loc6_24.2 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc6: %Transitive.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_24.2: type = facet_access_type %T.ref.loc6 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_24.2: type = converted %T.ref.loc6, %T.as_type.loc6_24.2 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %t: @G.%T.as_type.loc6_24.1 (%T.as_type) = wrapper_binding t, %t.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @P [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.96f -// CHECK:STDOUT: .InP = imports.%Main.import_ref.fec -// CHECK:STDOUT: witness = (imports.%Main.InP) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Q [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.4f3 -// CHECK:STDOUT: .InQ = imports.%Main.import_ref.e2a -// CHECK:STDOUT: witness = (imports.%Main.InQ) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @R [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.659 -// CHECK:STDOUT: .InR = imports.%Main.import_ref.0ce -// CHECK:STDOUT: witness = (imports.%Main.InR) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Transitive [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.0d5 -// CHECK:STDOUT: .A = imports.%Main.import_ref.72c -// CHECK:STDOUT: .B = imports.%Main.import_ref.e5e -// CHECK:STDOUT: .C = imports.%Main.import_ref.c9c -// CHECK:STDOUT: .GetA = imports.%Main.import_ref.5c5 -// CHECK:STDOUT: .TakesC = imports.%Main.import_ref.ae2 -// CHECK:STDOUT: witness = (imports.%Main.A, imports.%Main.B, imports.%Main.C, imports.%Main.GetA, imports.%Main.TakesC) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @Transitive.observe { -// CHECK:STDOUT: observe constants.%impl.elem0.0439e7.1 == constants.%impl.elem1.6be46c.1 == constants.%impl.elem2.731f97.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @P.WithSelf.InP(imports.%Main.import_ref.aef2fa.2: %P.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %P.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.104)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.cc3)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3ef)] -// CHECK:STDOUT: %self.param_patt: @P.WithSelf.InP.%pattern_type (%pattern_type.3ef) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.88d)] -// CHECK:STDOUT: %self.patt: @P.WithSelf.InP.%pattern_type (%pattern_type.3ef) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.6de)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Q.WithSelf.InQ(imports.%Main.import_ref.c0a1f5.2: %Q.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Q.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.afd)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.430)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.ade)] -// CHECK:STDOUT: %self.param_patt: @Q.WithSelf.InQ.%pattern_type (%pattern_type.ade) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.271)] -// CHECK:STDOUT: %self.patt: @Q.WithSelf.InQ.%pattern_type (%pattern_type.ade) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.b5e)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @R.WithSelf.InR(imports.%Main.import_ref.f6968b.2: %R.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %R.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.be6)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.b02)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.60e)] -// CHECK:STDOUT: %self.param_patt: @R.WithSelf.InR.%pattern_type (%pattern_type.60e) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.640)] -// CHECK:STDOUT: %self.patt: @R.WithSelf.InR.%pattern_type (%pattern_type.60e) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.894)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @TakesPQR(%U.loc5_14.2: %facet_type.0b6) { -// CHECK:STDOUT: %U.patt.loc5_14.2: %pattern_type.075 = symbolic_binding_pattern U, 0 [symbolic = %U.patt.loc5_14.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc5_14.1: %facet_type.0b6 = symbolic_binding U, 0 [symbolic = %U.loc5_14.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc5_37.1: type = facet_access_type %U.loc5_14.1 [symbolic = %U.as_type.loc5_37.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc5_37.1 [symbolic = %pattern_type (constants.%pattern_type.54d)] -// CHECK:STDOUT: %u.param_patt.loc5_35.2: @TakesPQR.%pattern_type (%pattern_type.54d) = value_param_pattern [symbolic = %u.param_patt.loc5_35.2 (constants.%u.param_patt)] -// CHECK:STDOUT: %u.patt.loc5_35.2: @TakesPQR.%pattern_type (%pattern_type.54d) = at_binding_pattern u, %u.param_patt.loc5_35.2 [symbolic = %u.patt.loc5_35.2 (constants.%u.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc5_37.1 [symbolic = %require_complete (constants.%require_complete.192)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%u.param: @TakesPQR.%U.as_type.loc5_37.1 (%U.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Transitive.WithSelf.TakesC(imports.%Main.import_ref.df6636.2: %Transitive.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.744)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.56c)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.68e728.1)] -// CHECK:STDOUT: %self.param_patt: @Transitive.WithSelf.TakesC.%pattern_type.1 (%pattern_type.68e728.1) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.e90fff.1)] -// CHECK:STDOUT: %self.patt: @Transitive.WithSelf.TakesC.%pattern_type.1 (%pattern_type.68e728.1) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.d2dab3.1)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.1)] -// CHECK:STDOUT: %impl.elem2: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2 (constants.%impl.elem2.731f97.1)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem2 [symbolic = %as_type (constants.%as_type.2fadd6.1)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.ac0)] -// CHECK:STDOUT: %c.param_patt: @Transitive.WithSelf.TakesC.%pattern_type.2 (%pattern_type.ac0) = value_param_pattern [symbolic = %c.param_patt (constants.%c.param_patt)] -// CHECK:STDOUT: %c.patt: @Transitive.WithSelf.TakesC.%pattern_type.2 (%pattern_type.ac0) = at_binding_pattern c, %c.param_patt [symbolic = %c.patt (constants.%c.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Transitive.WithSelf.GetA(imports.%Main.import_ref.df6636.3: %Transitive.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.744)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.56c)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.68e728.1)] -// CHECK:STDOUT: %self.param_patt: @Transitive.WithSelf.GetA.%pattern_type.1 (%pattern_type.68e728.1) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.e90fff.1)] -// CHECK:STDOUT: %self.patt: @Transitive.WithSelf.GetA.%pattern_type.1 (%pattern_type.68e728.1) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.d2dab3.1)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.1)] -// CHECK:STDOUT: %impl.elem0: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.0439e7.1)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0 [symbolic = %as_type (constants.%as_type.6a024f.1)] -// CHECK:STDOUT: %.1: Core.Form = init_form %as_type [symbolic = %.1 (constants.%.2b1a45.1)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.c73ac0.1)] -// CHECK:STDOUT: %return.param_patt: @Transitive.WithSelf.GetA.%pattern_type.2 (%pattern_type.c73ac0.1) = out_param_pattern [symbolic = %return.param_patt (constants.%return.param_patt.057e89.1)] -// CHECK:STDOUT: %return.patt: @Transitive.WithSelf.GetA.%pattern_type.2 (%pattern_type.c73ac0.1) = return_slot_pattern %return.param_patt, invalid [symbolic = %return.patt (constants.%return.patt.4e0711.1)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @G(%T.loc6_7.2: %Transitive.type) { -// CHECK:STDOUT: %T.patt.loc6_7.2: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_7.1: %Transitive.type = symbolic_binding T, 0 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_24.1: type = facet_access_type %T.loc6_7.1 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type.loc6: type = pattern_type %T.as_type.loc6_24.1 [symbolic = %pattern_type.loc6 (constants.%pattern_type.68e728.2)] -// CHECK:STDOUT: %t.param_patt.loc6_22.2: @G.%pattern_type.loc6 (%pattern_type.68e728.2) = value_param_pattern [symbolic = %t.param_patt.loc6_22.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc6_22.2: @G.%pattern_type.loc6 (%pattern_type.68e728.2) = at_binding_pattern t, %t.param_patt.loc6_22.2 [symbolic = %t.patt.loc6_22.2 (constants.%t.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc6: = require_complete_type %T.as_type.loc6_24.1 [symbolic = %require_complete.loc6 (constants.%require_complete.fbd)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %T.loc6_7.1, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.2)] -// CHECK:STDOUT: %impl.elem0.loc7_11.2: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_11.2 (constants.%impl.elem0.0439e7.2)] -// CHECK:STDOUT: %as_type.loc7_11.2: type = facet_access_type %impl.elem0.loc7_11.2 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: %require_complete.loc7: = require_complete_type %as_type.loc7_11.2 [symbolic = %require_complete.loc7 (constants.%require_complete.c2d)] -// CHECK:STDOUT: %pattern_type.loc7: type = pattern_type %as_type.loc7_11.2 [symbolic = %pattern_type.loc7 (constants.%pattern_type.c73ac0.2)] -// CHECK:STDOUT: %a.patt.loc7_8.2: @G.%pattern_type.loc7 (%pattern_type.c73ac0.2) = ref_binding_pattern a [symbolic = %a.patt.loc7_8.2 (constants.%a.patt)] -// CHECK:STDOUT: %a.var_patt.loc7_3.2: @G.%pattern_type.loc7 (%pattern_type.c73ac0.2) = var_pattern %a.patt.loc7_8.2 [symbolic = %a.var_patt.loc7_3.2 (constants.%a.var_patt)] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%T.loc6_7.1) [symbolic = %Transitive.WithSelf.GetA.type (constants.%Transitive.WithSelf.GetA.type.0b3c58.2)] -// CHECK:STDOUT: %.loc7_17: type = fn_type_with_self_type %Transitive.WithSelf.GetA.type, %T.loc6_7.1 [symbolic = %.loc7_17 (constants.%.657)] -// CHECK:STDOUT: %impl.elem3.loc7_17.2: @G.%.loc7_17 (%.657) = impl_witness_access %Transitive.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc7_17.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc7_17.2: = specific_impl_function %impl.elem3.loc7_17.2, @Transitive.WithSelf.GetA(%T.loc6_7.1) [symbolic = %specific_impl_fn.loc7_17.2 (constants.%specific_impl_fn.72f)] -// CHECK:STDOUT: %impl.elem1.loc9_19.2: %facet_type.130 = impl_witness_access %Transitive.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc9_19.2 (constants.%impl.elem1.6be46c.2)] -// CHECK:STDOUT: %as_type.loc9_19.3: type = facet_access_type %impl.elem1.loc9_19.2 [symbolic = %as_type.loc9_19.3 (constants.%as_type.dca436.2)] -// CHECK:STDOUT: %eq.loc9 = observe_equivalent %impl.elem0.loc7_11.2, %impl.elem1.loc9_19.2 [symbolic = %eq.loc9 (constants.%eq.4be6e4.2)] -// CHECK:STDOUT: %impls.loc9 = observe_impls %impl.elem1.loc9_19.2, constants.%Q.type [symbolic = %impls.loc9 (constants.%impls.885)] -// CHECK:STDOUT: %impl.elem2.loc16_19.2: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc16_19.2 (constants.%impl.elem2.731f97.2)] -// CHECK:STDOUT: %as_type.loc16_19.3: type = facet_access_type %impl.elem2.loc16_19.2 [symbolic = %as_type.loc16_19.3 (constants.%as_type.2fadd6.2)] -// CHECK:STDOUT: %eq.loc16 = observe_equivalent %impl.elem0.loc7_11.2, %impl.elem2.loc16_19.2 [symbolic = %eq.loc16 (constants.%eq.fcd)] -// CHECK:STDOUT: %impls.loc16 = observe_impls %impl.elem2.loc16_19.2, constants.%R.type [symbolic = %impls.loc16 (constants.%impls.adc)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %impl.elem0.loc7_11.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet.loc7_3.3: %Destroy.type = facet_value %as_type.loc7_11.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc7_3.3) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.5e1)] -// CHECK:STDOUT: %.loc7_3.4: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet.loc7_3.3 [symbolic = %.loc7_3.4 (constants.%.e75)] -// CHECK:STDOUT: %impl.elem0.loc7_3.2: @G.%.loc7_3.4 (%.e75) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0.678)] -// CHECK:STDOUT: %specific_impl_fn.loc7_3.2: = specific_impl_function %impl.elem0.loc7_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc7_3.3) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn.e8e)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%t.param: @G.%T.as_type.loc6_24.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.var: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = var_storage %a.var_patt.loc7_3.1 -// CHECK:STDOUT: %t.ref: @G.%T.as_type.loc6_24.1 (%T.as_type) = name_ref t, %t -// CHECK:STDOUT: %GetA.ref: %Transitive.assoc_type = name_ref GetA, imports.%Main.import_ref.5c5 [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc7_17.1: @G.%.loc7_17 (%.657) = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element3 [symbolic = %impl.elem3.loc7_17.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %bound_method.loc7_17: = bound_method %t.ref, %impl.elem3.loc7_17.1 -// CHECK:STDOUT: %.loc7_23.1: %Transitive.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc7_23.2: %Transitive.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %specific_impl_fn.loc7_17.1: = specific_impl_function %impl.elem3.loc7_17.1, @Transitive.WithSelf.GetA(constants.%T) [symbolic = %specific_impl_fn.loc7_17.2 (constants.%specific_impl_fn.72f)] -// CHECK:STDOUT: %bound_method.loc7_23: = bound_method %t.ref, %specific_impl_fn.loc7_17.1 -// CHECK:STDOUT: %.loc7_3.1: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = splice_block %a.var {} -// CHECK:STDOUT: %Transitive.WithSelf.GetA.call: init @G.%as_type.loc7_11.2 (%as_type.6a024f.2) to %.loc7_3.1 = call %bound_method.loc7_23(%t.ref) -// CHECK:STDOUT: assign %a.var, %Transitive.WithSelf.GetA.call -// CHECK:STDOUT: %.loc7_11.1: type = splice_block %.loc7_11.3 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] { -// CHECK:STDOUT: %T.ref.loc7: %Transitive.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc7: type = facet_access_type %T.ref.loc7 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc7_11.2: type = converted %T.ref.loc7, %T.as_type.loc7 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %A.ref.loc7: %Transitive.assoc_type = name_ref A, imports.%Main.import_ref.72c [concrete = constants.%assoc0.7cd] -// CHECK:STDOUT: %impl.elem0.loc7_11.1: %facet_type.b1b = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic = %impl.elem0.loc7_11.2 (constants.%impl.elem0.0439e7.2)] -// CHECK:STDOUT: %as_type.loc7_11.1: type = facet_access_type %impl.elem0.loc7_11.1 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: %.loc7_11.3: type = converted %impl.elem0.loc7_11.1, %as_type.loc7_11.1 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = wrapper_binding a, %a.var -// CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt.loc7_8.1: @G.%pattern_type.loc7 (%pattern_type.c73ac0.2) = ref_binding_pattern a [symbolic = %a.patt.loc7_8.2 (constants.%a.patt)] -// CHECK:STDOUT: %a.var_patt.loc7_3.1: @G.%pattern_type.loc7 (%pattern_type.c73ac0.2) = var_pattern %a.patt.loc7_8.1 [symbolic = %a.var_patt.loc7_3.2 (constants.%a.var_patt)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.ref.loc9_11: %Transitive.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc9_12: type = facet_access_type %T.ref.loc9_11 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc9_12.1: type = converted %T.ref.loc9_11, %T.as_type.loc9_12 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %A.ref.loc9: %Transitive.assoc_type = name_ref A, imports.%Main.import_ref.72c [concrete = constants.%assoc0.7cd] -// CHECK:STDOUT: %impl.elem0.loc9: %facet_type.b1b = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic = %impl.elem0.loc7_11.2 (constants.%impl.elem0.0439e7.2)] -// CHECK:STDOUT: %T.ref.loc9_18: %Transitive.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc9_19: type = facet_access_type %T.ref.loc9_18 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc9_19.1: type = converted %T.ref.loc9_18, %T.as_type.loc9_19 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %B.ref: %Transitive.assoc_type = name_ref B, imports.%Main.import_ref.e5e [concrete = constants.%assoc1] -// CHECK:STDOUT: %impl.elem1.loc9_19.1: %facet_type.130 = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element1 [symbolic = %impl.elem1.loc9_19.2 (constants.%impl.elem1.6be46c.2)] -// CHECK:STDOUT: %as_type.loc9_19.1: type = facet_access_type %impl.elem1.loc9_19.1 [symbolic = %as_type.loc9_19.3 (constants.%as_type.dca436.2)] -// CHECK:STDOUT: %.loc9_19.2: type = converted %impl.elem1.loc9_19.1, %as_type.loc9_19.1 [symbolic = %as_type.loc9_19.3 (constants.%as_type.dca436.2)] -// CHECK:STDOUT: %as_type.loc9_12: type = facet_access_type %impl.elem0.loc9 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: %.loc9_12.2: type = converted %impl.elem0.loc9, %as_type.loc9_12 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: %Q.ref.loc9: type = name_ref Q, imports.%Main.Q [concrete = constants.%Q.type] -// CHECK:STDOUT: %as_type.loc9_19.2: type = facet_access_type %impl.elem1.loc9_19.1 [symbolic = %as_type.loc9_19.3 (constants.%as_type.dca436.2)] -// CHECK:STDOUT: %.loc9_19.3: type = converted %impl.elem1.loc9_19.1, %as_type.loc9_19.2 [symbolic = %as_type.loc9_19.3 (constants.%as_type.dca436.2)] -// CHECK:STDOUT: %G.observe.decl.loc9 = observe_decl @G.observe.loc9 [concrete] -// CHECK:STDOUT: %a.ref.loc14: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = name_ref a, %a -// CHECK:STDOUT: %Q.ref.loc14: type = name_ref Q, imports.%Main.Q [concrete = constants.%Q.type] -// CHECK:STDOUT: %InQ.ref: %Q.assoc_type = name_ref InQ, imports.%Main.import_ref.e2a [concrete = constants.%assoc0.6a1] -// CHECK:STDOUT: %T.ref.loc16_11: %Transitive.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc16_12: type = facet_access_type %T.ref.loc16_11 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc16_12.1: type = converted %T.ref.loc16_11, %T.as_type.loc16_12 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %A.ref.loc16: %Transitive.assoc_type = name_ref A, imports.%Main.import_ref.72c [concrete = constants.%assoc0.7cd] -// CHECK:STDOUT: %impl.elem0.loc16: %facet_type.b1b = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic = %impl.elem0.loc7_11.2 (constants.%impl.elem0.0439e7.2)] -// CHECK:STDOUT: %T.ref.loc16_18: %Transitive.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc16_19: type = facet_access_type %T.ref.loc16_18 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc16_19.1: type = converted %T.ref.loc16_18, %T.as_type.loc16_19 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %C.ref: %Transitive.assoc_type = name_ref C, imports.%Main.import_ref.c9c [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc16_19.1: %facet_type.4c8 = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic = %impl.elem2.loc16_19.2 (constants.%impl.elem2.731f97.2)] -// CHECK:STDOUT: %as_type.loc16_19.1: type = facet_access_type %impl.elem2.loc16_19.1 [symbolic = %as_type.loc16_19.3 (constants.%as_type.2fadd6.2)] -// CHECK:STDOUT: %.loc16_19.2: type = converted %impl.elem2.loc16_19.1, %as_type.loc16_19.1 [symbolic = %as_type.loc16_19.3 (constants.%as_type.2fadd6.2)] -// CHECK:STDOUT: %as_type.loc16_12: type = facet_access_type %impl.elem0.loc16 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: %.loc16_12.2: type = converted %impl.elem0.loc16, %as_type.loc16_12 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: %R.ref: type = name_ref R, imports.%Main.R [concrete = constants.%R.type] -// CHECK:STDOUT: %as_type.loc16_19.2: type = facet_access_type %impl.elem2.loc16_19.1 [symbolic = %as_type.loc16_19.3 (constants.%as_type.2fadd6.2)] -// CHECK:STDOUT: %.loc16_19.3: type = converted %impl.elem2.loc16_19.1, %as_type.loc16_19.2 [symbolic = %as_type.loc16_19.3 (constants.%as_type.2fadd6.2)] -// CHECK:STDOUT: %G.observe.decl.loc16 = observe_decl @G.observe.loc16 [concrete] -// CHECK:STDOUT: %TakesPQR.ref: %TakesPQR.type = name_ref TakesPQR, file.%TakesPQR.decl [concrete = constants.%TakesPQR] -// CHECK:STDOUT: %a.ref.loc24: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc7_3.1: @G.%.loc7_3.4 (%.e75) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0.678)] -// CHECK:STDOUT: %bound_method.loc7_3.1: = bound_method %a.var, %impl.elem0.loc7_3.1 -// CHECK:STDOUT: %Destroy.facet.loc7_3.1: %Destroy.type = facet_value constants.%as_type.6a024f.2, (constants.%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %.loc7_3.2: %Destroy.type = converted constants.%as_type.6a024f.2, %Destroy.facet.loc7_3.1 [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.facet.loc7_3.2: %Destroy.type = facet_value constants.%as_type.6a024f.2, (constants.%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %.loc7_3.3: %Destroy.type = converted constants.%as_type.6a024f.2, %Destroy.facet.loc7_3.2 [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %specific_impl_fn.loc7_3.1: = specific_impl_function %impl.elem0.loc7_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn.e8e)] -// CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %a.var, %specific_impl_fn.loc7_3.1 -// CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc7_3.2(%a.var) -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @G.observe.loc9 { -// CHECK:STDOUT: observe constants.%impl.elem0.0439e7.2 == constants.%impl.elem1.6be46c.2 impls constants.%Q.type -// CHECK:STDOUT: } -// CHECK:STDOUT: @G.observe.loc16 { -// CHECK:STDOUT: observe constants.%impl.elem0.0439e7.2 == constants.%impl.elem2.731f97.2 impls constants.%R.type -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf(constants.%Self.104) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.104 -// CHECK:STDOUT: %P.WithSelf.InP.type => constants.%P.WithSelf.InP.type -// CHECK:STDOUT: %P.WithSelf.InP => constants.%P.WithSelf.InP -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf.InP(constants.%Self.104) { -// CHECK:STDOUT: %Self => constants.%Self.104 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.cc3 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3ef -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.88d -// CHECK:STDOUT: %self.patt => constants.%self.patt.6de -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf(constants.%Self.afd) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.afd -// CHECK:STDOUT: %Q.WithSelf.InQ.type => constants.%Q.WithSelf.InQ.type -// CHECK:STDOUT: %Q.WithSelf.InQ => constants.%Q.WithSelf.InQ -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf.InQ(constants.%Self.afd) { -// CHECK:STDOUT: %Self => constants.%Self.afd -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.430 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ade -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.271 -// CHECK:STDOUT: %self.patt => constants.%self.patt.b5e -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%Self.be6) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.be6 -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf.InR(constants.%Self.be6) { -// CHECK:STDOUT: %Self => constants.%Self.be6 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.b02 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.60e -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.640 -// CHECK:STDOUT: %self.patt => constants.%self.patt.894 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @TakesPQR(constants.%U) { -// CHECK:STDOUT: %U.patt.loc5_14.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc5_14.1 => constants.%U -// CHECK:STDOUT: %U.as_type.loc5_37.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.54d -// CHECK:STDOUT: %u.param_patt.loc5_35.2 => constants.%u.param_patt -// CHECK:STDOUT: %u.patt.loc5_35.2 => constants.%u.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf(constants.%Self.744) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0439e7.1 -// CHECK:STDOUT: %impl.elem1 => constants.%impl.elem1.6be46c.1 -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type => constants.%Transitive.WithSelf.GetA.type.0b3c58.1 -// CHECK:STDOUT: %Transitive.WithSelf.GetA => constants.%Transitive.WithSelf.GetA.e3e09c.1 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type => constants.%Transitive.WithSelf.TakesC.type.d86d9f.1 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC => constants.%Transitive.WithSelf.TakesC.f276cd.1 -// CHECK:STDOUT: %as_type.1 => constants.%as_type.dca436.1 -// CHECK:STDOUT: %as_type.2 => constants.%as_type.6a024f.1 -// CHECK:STDOUT: %eq.1 => constants.%eq.4be6e4.1 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.731f97.1 -// CHECK:STDOUT: %as_type.3 => constants.%as_type.2fadd6.1 -// CHECK:STDOUT: %eq.2 => constants.%eq.033b19.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.TakesC(constants.%Self.744) { -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.56c -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.1 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.1 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.1 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.731f97.1 -// CHECK:STDOUT: %as_type => constants.%as_type.2fadd6.1 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.ac0 -// CHECK:STDOUT: %c.param_patt => constants.%c.param_patt -// CHECK:STDOUT: %c.patt => constants.%c.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%Self.744) { -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.56c -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.1 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.1 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.1 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0439e7.1 -// CHECK:STDOUT: %as_type => constants.%as_type.6a024f.1 -// CHECK:STDOUT: %.1 => constants.%.2b1a45.1 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.c73ac0.1 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.057e89.1 -// CHECK:STDOUT: %return.patt => constants.%return.patt.4e0711.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_7.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc6_24.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc6 => constants.%pattern_type.68e728.2 -// CHECK:STDOUT: %t.param_patt.loc6_22.2 => constants.%t.param_patt -// CHECK:STDOUT: %t.patt.loc6_22.2 => constants.%t.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf(constants.%T) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.2 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0439e7.2 -// CHECK:STDOUT: %impl.elem1 => constants.%impl.elem1.6be46c.2 -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type => constants.%Transitive.WithSelf.GetA.type.0b3c58.2 -// CHECK:STDOUT: %Transitive.WithSelf.GetA => constants.%Transitive.WithSelf.GetA.e3e09c.2 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type => constants.%Transitive.WithSelf.TakesC.type.d86d9f.2 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC => constants.%Transitive.WithSelf.TakesC.f276cd.2 -// CHECK:STDOUT: %as_type.1 => constants.%as_type.dca436.2 -// CHECK:STDOUT: %as_type.2 => constants.%as_type.6a024f.2 -// CHECK:STDOUT: %eq.1 => constants.%eq.4be6e4.2 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.731f97.2 -// CHECK:STDOUT: %as_type.3 => constants.%as_type.2fadd6.2 -// CHECK:STDOUT: %eq.2 => constants.%eq.033b19.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%T) { -// CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %Self.as_type => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.2 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.2 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.2 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.2 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0439e7.2 -// CHECK:STDOUT: %as_type => constants.%as_type.6a024f.2 -// CHECK:STDOUT: %.1 => constants.%.2b1a45.2 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.c73ac0.2 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.057e89.2 -// CHECK:STDOUT: %return.patt => constants.%return.patt.4e0711.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_equivalent_impls_without_observe.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %P.type: type = facet_type <@P> [concrete] -// CHECK:STDOUT: %Self.104: %P.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP.type: type = fn_type @P.WithSelf.InP, @P.WithSelf(%Self.104) [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP: %P.WithSelf.InP.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.cc3: type = facet_access_type %Self.104 [symbolic] -// CHECK:STDOUT: %pattern_type.3ef: type = pattern_type %Self.as_type.cc3 [symbolic] -// CHECK:STDOUT: %self.param_patt.88d: %pattern_type.3ef = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.6de: %pattern_type.3ef = at_binding_pattern self, %self.param_patt.88d [symbolic] -// CHECK:STDOUT: %Q.type: type = facet_type <@Q> [concrete] -// CHECK:STDOUT: %Self.afd: %Q.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.type: type = fn_type @Q.WithSelf.InQ, @Q.WithSelf(%Self.afd) [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ: %Q.WithSelf.InQ.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.430: type = facet_access_type %Self.afd [symbolic] -// CHECK:STDOUT: %pattern_type.ade: type = pattern_type %Self.as_type.430 [symbolic] -// CHECK:STDOUT: %self.param_patt.271: %pattern_type.ade = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.b5e: %pattern_type.ade = at_binding_pattern self, %self.param_patt.271 [symbolic] -// CHECK:STDOUT: %BitAndWith.type.a06: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.a06 = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.802: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] -// CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.802 = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.38f: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.d56: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.38f, %BitAndWith.facet [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.dd7: = bound_method %P.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.bc0: type = facet_type <@P & @Q> [concrete] -// CHECK:STDOUT: %R.type: type = facet_type <@R> [concrete] -// CHECK:STDOUT: %Self.be6: %R.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.type: type = fn_type @R.WithSelf.InR, @R.WithSelf(%Self.be6) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR: %R.WithSelf.InR.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.b02: type = facet_access_type %Self.be6 [symbolic] -// CHECK:STDOUT: %pattern_type.60e: type = pattern_type %Self.as_type.b02 [symbolic] -// CHECK:STDOUT: %self.param_patt.640: %pattern_type.60e = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.894: %pattern_type.60e = at_binding_pattern self, %self.param_patt.640 [symbolic] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.588: = bound_method %facet_type.bc0, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.0b6: type = facet_type <@P & @Q & @R> [concrete] -// CHECK:STDOUT: %pattern_type.075: type = pattern_type %facet_type.0b6 [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.075 = symbolic_binding_pattern U, 0 [symbolic] -// CHECK:STDOUT: %U: %facet_type.0b6 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.54d: type = pattern_type %U.as_type [symbolic] -// CHECK:STDOUT: %u.param_patt: %pattern_type.54d = value_param_pattern [symbolic] -// CHECK:STDOUT: %u.patt: %pattern_type.54d = at_binding_pattern u, %u.param_patt [symbolic] -// CHECK:STDOUT: %TakesPQR.type: type = fn_type @TakesPQR [concrete] -// CHECK:STDOUT: %TakesPQR: %TakesPQR.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.192: = require_complete_type %U.as_type [symbolic] -// CHECK:STDOUT: %Transitive.type: type = facet_type <@Transitive> [concrete] -// CHECK:STDOUT: %Self.744: %Transitive.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Transitive.lookup_impl_witness.ab0b8d.1: = lookup_impl_witness %Self.744, @Transitive [symbolic] -// CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %facet_type.4c8: type = facet_type <@R & @Destroy where TODO> [concrete] -// CHECK:STDOUT: %impl.elem2.731f97.1: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element2 [symbolic] -// CHECK:STDOUT: %facet_type.130: type = facet_type <@Q & @Destroy where TODO> [concrete] -// CHECK:STDOUT: %impl.elem1.6be46c.1: %facet_type.130 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element1 [symbolic] -// CHECK:STDOUT: %eq.033b19.1 = observe_equivalent %impl.elem1.6be46c.1, %impl.elem2.731f97.1 [symbolic] -// CHECK:STDOUT: %as_type.2fadd6.1: type = facet_access_type %impl.elem2.731f97.1 [symbolic] -// CHECK:STDOUT: %facet_type.b1b: type = facet_type <@P & @Destroy> [concrete] -// CHECK:STDOUT: %impl.elem0.0439e7.1: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element0 [symbolic] -// CHECK:STDOUT: %eq.4be6e4.1 = observe_equivalent %impl.elem0.0439e7.1, %impl.elem1.6be46c.1 [symbolic] -// CHECK:STDOUT: %as_type.6a024f.1: type = facet_access_type %impl.elem0.0439e7.1 [symbolic] -// CHECK:STDOUT: %as_type.dca436.1: type = facet_access_type %impl.elem1.6be46c.1 [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type.d86d9f.1: type = fn_type @Transitive.WithSelf.TakesC, @Transitive.WithSelf(%Self.744) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.f276cd.1: %Transitive.WithSelf.TakesC.type.d86d9f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.56c: type = facet_access_type %Self.744 [symbolic] -// CHECK:STDOUT: %pattern_type.68e728.1: type = pattern_type %Self.as_type.56c [symbolic] -// CHECK:STDOUT: %self.param_patt.e90fff.1: %pattern_type.68e728.1 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.d2dab3.1: %pattern_type.68e728.1 = at_binding_pattern self, %self.param_patt.e90fff.1 [symbolic] -// CHECK:STDOUT: %pattern_type.ac0: type = pattern_type %as_type.2fadd6.1 [symbolic] -// CHECK:STDOUT: %c.param_patt: %pattern_type.ac0 = value_param_pattern [symbolic] -// CHECK:STDOUT: %c.patt: %pattern_type.ac0 = at_binding_pattern c, %c.param_patt [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type.0b3c58.1: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%Self.744) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.e3e09c.1: %Transitive.WithSelf.GetA.type.0b3c58.1 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.c73ac0.1: type = pattern_type %as_type.6a024f.1 [symbolic] -// CHECK:STDOUT: %return.param_patt.057e89.1: %pattern_type.c73ac0.1 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.4e0711.1: %pattern_type.c73ac0.1 = return_slot_pattern %return.param_patt.057e89.1, invalid [symbolic] -// CHECK:STDOUT: %.2b1a45.1: Core.Form = init_form %as_type.6a024f.1 [symbolic] -// CHECK:STDOUT: %pattern_type.bd9: type = pattern_type %Transitive.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %Transitive.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.68e728.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %t.param_patt: %pattern_type.68e728.2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %t.patt: %pattern_type.68e728.2 = at_binding_pattern t, %t.param_patt [symbolic] -// CHECK:STDOUT: %G.type: type = fn_type @G [concrete] -// CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.fbd: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Transitive.lookup_impl_witness.ab0b8d.2: = lookup_impl_witness %T, @Transitive [symbolic] -// CHECK:STDOUT: %impl.elem0.0439e7.2: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.6be46c.2: %facet_type.130 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element1 [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type.0b3c58.2: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.e3e09c.2: %Transitive.WithSelf.GetA.type.0b3c58.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type.d86d9f.2: type = fn_type @Transitive.WithSelf.TakesC, @Transitive.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.f276cd.2: %Transitive.WithSelf.TakesC.type.d86d9f.2 = struct_value () [symbolic] -// CHECK:STDOUT: %as_type.dca436.2: type = facet_access_type %impl.elem1.6be46c.2 [symbolic] -// CHECK:STDOUT: %as_type.6a024f.2: type = facet_access_type %impl.elem0.0439e7.2 [symbolic] -// CHECK:STDOUT: %eq.4be6e4.2 = observe_equivalent %impl.elem0.0439e7.2, %impl.elem1.6be46c.2 [symbolic] -// CHECK:STDOUT: %impl.elem2.731f97.2: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic] -// CHECK:STDOUT: %as_type.2fadd6.2: type = facet_access_type %impl.elem2.731f97.2 [symbolic] -// CHECK:STDOUT: %eq.033b19.2 = observe_equivalent %impl.elem1.6be46c.2, %impl.elem2.731f97.2 [symbolic] -// CHECK:STDOUT: %Transitive.assoc_type: type = assoc_entity_type @Transitive [concrete] -// CHECK:STDOUT: %assoc0.7cd: %Transitive.assoc_type = assoc_entity element0, imports.%Main.import_ref.d38 [concrete] -// CHECK:STDOUT: %require_complete.c2d: = require_complete_type %as_type.6a024f.2 [symbolic] -// CHECK:STDOUT: %pattern_type.c73ac0.2: type = pattern_type %as_type.6a024f.2 [symbolic] -// CHECK:STDOUT: %a.patt: %pattern_type.c73ac0.2 = ref_binding_pattern a [symbolic] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c73ac0.2 = var_pattern %a.patt [symbolic] -// CHECK:STDOUT: %assoc3: %Transitive.assoc_type = assoc_entity element3, imports.%Main.import_ref.06c [concrete] -// CHECK:STDOUT: %.657: type = fn_type_with_self_type %Transitive.WithSelf.GetA.type.0b3c58.2, %T [symbolic] -// CHECK:STDOUT: %impl.elem3: %.657 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element3 [symbolic] -// CHECK:STDOUT: %self.param_patt.e90fff.2: %pattern_type.68e728.2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.d2dab3.2: %pattern_type.68e728.2 = at_binding_pattern self, %self.param_patt.e90fff.2 [symbolic] -// CHECK:STDOUT: %.2b1a45.2: Core.Form = init_form %as_type.6a024f.2 [symbolic] -// CHECK:STDOUT: %return.param_patt.057e89.2: %pattern_type.c73ac0.2 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.4e0711.2: %pattern_type.c73ac0.2 = return_slot_pattern %return.param_patt.057e89.2, invalid [symbolic] -// CHECK:STDOUT: %specific_impl_fn.72f: = specific_impl_function %impl.elem3, @Transitive.WithSelf.GetA(%T) [symbolic] -// CHECK:STDOUT: %Q.assoc_type: type = assoc_entity_type @Q [concrete] -// CHECK:STDOUT: %assoc0.6a1: %Q.assoc_type = assoc_entity element0, imports.%Main.import_ref.636 [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %impl.elem0.0439e7.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %as_type.6a024f.2, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.5e1: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] -// CHECK:STDOUT: %.e75: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.5e1, %Destroy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.678: %.e75 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.e8e: = specific_impl_function %impl.elem0.678, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.P: type = import_ref Main//transitive, P, loaded [concrete = constants.%P.type] -// CHECK:STDOUT: %Main.Q: type = import_ref Main//transitive, Q, loaded [concrete = constants.%Q.type] -// CHECK:STDOUT: %Main.R: type = import_ref Main//transitive, R, loaded [concrete = constants.%R.type] -// CHECK:STDOUT: %Main.Transitive: type = import_ref Main//transitive, Transitive, loaded [concrete = constants.%Transitive.type] -// CHECK:STDOUT: %Core.048aa3.1: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .BitAndWith = %Core.BitAndWith -// CHECK:STDOUT: .Destroy = %Core.Destroy -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.fec = import_ref Main//transitive, loc3_27, unloaded -// CHECK:STDOUT: %Main.InP = import_ref Main//transitive, InP, unloaded -// CHECK:STDOUT: %Main.import_ref.aef2fa.2: %P.type = import_ref Main//transitive, loc3_13, loaded [symbolic = constants.%Self.104] -// CHECK:STDOUT: %Main.import_ref.96f = import_ref Main//transitive, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.e2a: %Q.assoc_type = import_ref Main//transitive, loc4_27, loaded [concrete = constants.%assoc0.6a1] -// CHECK:STDOUT: %Main.InQ = import_ref Main//transitive, InQ, unloaded -// CHECK:STDOUT: %Main.import_ref.c0a1f5.2: %Q.type = import_ref Main//transitive, loc4_13, loaded [symbolic = constants.%Self.afd] -// CHECK:STDOUT: %Main.import_ref.4f3 = import_ref Main//transitive, loc4_13, unloaded -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.a06 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.9c3: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.9c3), @type.as.BitAndWith.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.0ce = import_ref Main//transitive, loc5_27, unloaded -// CHECK:STDOUT: %Main.InR = import_ref Main//transitive, InR, unloaded -// CHECK:STDOUT: %Main.import_ref.f6968b.2: %R.type = import_ref Main//transitive, loc5_13, loaded [symbolic = constants.%Self.be6] -// CHECK:STDOUT: %Main.import_ref.659 = import_ref Main//transitive, loc5_13, unloaded -// CHECK:STDOUT: %Main.import_ref.72c: %Transitive.assoc_type = import_ref Main//transitive, loc8_8, loaded [concrete = constants.%assoc0.7cd] -// CHECK:STDOUT: %Main.import_ref.f7f = import_ref Main//transitive, loc9_8, unloaded -// CHECK:STDOUT: %Main.import_ref.71d = import_ref Main//transitive, loc10_8, unloaded -// CHECK:STDOUT: %Main.import_ref.5c5: %Transitive.assoc_type = import_ref Main//transitive, loc12_21, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Main.import_ref.ae2 = import_ref Main//transitive, loc13_24, unloaded -// CHECK:STDOUT: %Main.A = import_ref Main//transitive, A, unloaded -// CHECK:STDOUT: %Main.B = import_ref Main//transitive, B, unloaded -// CHECK:STDOUT: %Main.C = import_ref Main//transitive, C, unloaded -// CHECK:STDOUT: %Main.GetA = import_ref Main//transitive, GetA, unloaded -// CHECK:STDOUT: %Main.TakesC = import_ref Main//transitive, TakesC, unloaded -// CHECK:STDOUT: %Main.import_ref.df6636.2: %Transitive.type = import_ref Main//transitive, loc7_22, loaded [symbolic = constants.%Self.744] -// CHECK:STDOUT: %Main.import_ref.df6636.3: %Transitive.type = import_ref Main//transitive, loc7_22, loaded [symbolic = constants.%Self.744] -// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//transitive, loc7_22, unloaded -// CHECK:STDOUT: %Main.import_ref.d38: %facet_type.b1b = import_ref Main//transitive, loc8_8, loaded [concrete = %A] -// CHECK:STDOUT: %A: %facet_type.b1b = assoc_const_decl @A [concrete] {} -// CHECK:STDOUT: %Main.import_ref.06c: @Transitive.WithSelf.%Transitive.WithSelf.GetA.type (%Transitive.WithSelf.GetA.type.0b3c58.1) = import_ref Main//transitive, loc12_21, loaded [symbolic = @Transitive.WithSelf.%Transitive.WithSelf.GetA (constants.%Transitive.WithSelf.GetA.e3e09c.1)] -// CHECK:STDOUT: %Main.import_ref.636: @Q.WithSelf.%Q.WithSelf.InQ.type (%Q.WithSelf.InQ.type) = import_ref Main//transitive, loc4_27, loaded [symbolic = @Q.WithSelf.%Q.WithSelf.InQ (constants.%Q.WithSelf.InQ)] -// CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .P = imports.%Main.P -// CHECK:STDOUT: .Q = imports.%Main.Q -// CHECK:STDOUT: .R = imports.%Main.R -// CHECK:STDOUT: .Transitive = imports.%Main.Transitive -// CHECK:STDOUT: .Core = imports.%Core.048aa3.1 -// CHECK:STDOUT: .TakesPQR = %TakesPQR.decl -// CHECK:STDOUT: .G = %G.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %default.import = import -// CHECK:STDOUT: %TakesPQR.decl: %TakesPQR.type = fn_decl @TakesPQR [concrete = constants.%TakesPQR] { -// CHECK:STDOUT: %U.patt.loc5_14.1: %pattern_type.075 = symbolic_binding_pattern U, 0 [symbolic = %U.patt.loc5_14.2 (constants.%U.patt)] -// CHECK:STDOUT: %u.param_patt.loc5_35.1: @TakesPQR.%pattern_type (%pattern_type.54d) = value_param_pattern [symbolic = %u.param_patt.loc5_35.2 (constants.%u.param_patt)] -// CHECK:STDOUT: %u.patt.loc5_35.1: @TakesPQR.%pattern_type (%pattern_type.54d) = at_binding_pattern u, %u.param_patt.loc5_35.1 [symbolic = %u.patt.loc5_35.2 (constants.%u.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc5_22.1: type = splice_block %.loc5_22.3 [concrete = constants.%facet_type.0b6] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %P.ref: type = name_ref P, imports.%Main.P [concrete = constants.%P.type] -// CHECK:STDOUT: %Q.ref: type = name_ref Q, imports.%Main.Q [concrete = constants.%Q.type] -// CHECK:STDOUT: %impl.elem0.loc5_18: %.d56 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method.loc5_18: = bound_method %P.ref, %impl.elem0.loc5_18 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.dd7] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc5_18: init type = call %bound_method.loc5_18(%P.ref, %Q.ref) [concrete = constants.%facet_type.bc0] -// CHECK:STDOUT: %R.ref: type = name_ref R, imports.%Main.R [concrete = constants.%R.type] -// CHECK:STDOUT: %impl.elem0.loc5_22: %.d56 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method.loc5_22: = bound_method %type.as.BitAndWith.impl.Op.call.loc5_18, %impl.elem0.loc5_22 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.588] -// CHECK:STDOUT: %.loc5_18.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc5_18 [concrete = constants.%facet_type.bc0] -// CHECK:STDOUT: %.loc5_18.2: type = converted %type.as.BitAndWith.impl.Op.call.loc5_18, %.loc5_18.1 [concrete = constants.%facet_type.bc0] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc5_22: init type = call %bound_method.loc5_22(%.loc5_18.2, %R.ref) [concrete = constants.%facet_type.0b6] -// CHECK:STDOUT: %.loc5_22.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc5_22 [concrete = constants.%facet_type.0b6] -// CHECK:STDOUT: %.loc5_22.3: type = converted %type.as.BitAndWith.impl.Op.call.loc5_22, %.loc5_22.2 [concrete = constants.%facet_type.0b6] -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc5_14.2: %facet_type.0b6 = symbolic_binding U, 0 [symbolic = %U.loc5_14.1 (constants.%U)] -// CHECK:STDOUT: %u.param: @TakesPQR.%U.as_type.loc5_37.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc5_37.1: type = splice_block %.loc5_37.2 [symbolic = %U.as_type.loc5_37.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref: %facet_type.0b6 = name_ref U, %U.loc5_14.2 [symbolic = %U.loc5_14.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc5_37.2: type = facet_access_type %U.ref [symbolic = %U.as_type.loc5_37.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc5_37.2: type = converted %U.ref, %U.as_type.loc5_37.2 [symbolic = %U.as_type.loc5_37.1 (constants.%U.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %u: @TakesPQR.%U.as_type.loc5_37.1 (%U.as_type) = wrapper_binding u, %u.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt.loc6_7.1: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %t.param_patt.loc6_22.1: @G.%pattern_type.loc6 (%pattern_type.68e728.2) = value_param_pattern [symbolic = %t.param_patt.loc6_22.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc6_22.1: @G.%pattern_type.loc6 (%pattern_type.68e728.2) = at_binding_pattern t, %t.param_patt.loc6_22.1 [symbolic = %t.patt.loc6_22.2 (constants.%t.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_9: type = splice_block %Transitive.ref [concrete = constants.%Transitive.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %Transitive.ref: type = name_ref Transitive, imports.%Main.Transitive [concrete = constants.%Transitive.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_7.2: %Transitive.type = symbolic_binding T, 0 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %t.param: @G.%T.as_type.loc6_24.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc6_24.1: type = splice_block %.loc6_24.2 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc6: %Transitive.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_24.2: type = facet_access_type %T.ref.loc6 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_24.2: type = converted %T.ref.loc6, %T.as_type.loc6_24.2 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %t: @G.%T.as_type.loc6_24.1 (%T.as_type) = wrapper_binding t, %t.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @P [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.96f -// CHECK:STDOUT: .InP = imports.%Main.import_ref.fec -// CHECK:STDOUT: witness = (imports.%Main.InP) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Q [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.4f3 -// CHECK:STDOUT: .InQ = imports.%Main.import_ref.e2a -// CHECK:STDOUT: witness = (imports.%Main.InQ) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @R [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.659 -// CHECK:STDOUT: .InR = imports.%Main.import_ref.0ce -// CHECK:STDOUT: witness = (imports.%Main.InR) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Transitive [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.0d5 -// CHECK:STDOUT: .A = imports.%Main.import_ref.72c -// CHECK:STDOUT: .B = imports.%Main.import_ref.f7f -// CHECK:STDOUT: .C = imports.%Main.import_ref.71d -// CHECK:STDOUT: .GetA = imports.%Main.import_ref.5c5 -// CHECK:STDOUT: .TakesC = imports.%Main.import_ref.ae2 -// CHECK:STDOUT: witness = (imports.%Main.A, imports.%Main.B, imports.%Main.C, imports.%Main.GetA, imports.%Main.TakesC) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @Transitive.observe { -// CHECK:STDOUT: observe constants.%impl.elem0.0439e7.1 == constants.%impl.elem1.6be46c.1 == constants.%impl.elem2.731f97.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @P.WithSelf.InP(imports.%Main.import_ref.aef2fa.2: %P.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %P.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.104)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.cc3)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3ef)] -// CHECK:STDOUT: %self.param_patt: @P.WithSelf.InP.%pattern_type (%pattern_type.3ef) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.88d)] -// CHECK:STDOUT: %self.patt: @P.WithSelf.InP.%pattern_type (%pattern_type.3ef) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.6de)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Q.WithSelf.InQ(imports.%Main.import_ref.c0a1f5.2: %Q.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Q.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.afd)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.430)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.ade)] -// CHECK:STDOUT: %self.param_patt: @Q.WithSelf.InQ.%pattern_type (%pattern_type.ade) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.271)] -// CHECK:STDOUT: %self.patt: @Q.WithSelf.InQ.%pattern_type (%pattern_type.ade) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.b5e)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @R.WithSelf.InR(imports.%Main.import_ref.f6968b.2: %R.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %R.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.be6)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.b02)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.60e)] -// CHECK:STDOUT: %self.param_patt: @R.WithSelf.InR.%pattern_type (%pattern_type.60e) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.640)] -// CHECK:STDOUT: %self.patt: @R.WithSelf.InR.%pattern_type (%pattern_type.60e) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.894)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @TakesPQR(%U.loc5_14.2: %facet_type.0b6) { -// CHECK:STDOUT: %U.patt.loc5_14.2: %pattern_type.075 = symbolic_binding_pattern U, 0 [symbolic = %U.patt.loc5_14.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc5_14.1: %facet_type.0b6 = symbolic_binding U, 0 [symbolic = %U.loc5_14.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc5_37.1: type = facet_access_type %U.loc5_14.1 [symbolic = %U.as_type.loc5_37.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc5_37.1 [symbolic = %pattern_type (constants.%pattern_type.54d)] -// CHECK:STDOUT: %u.param_patt.loc5_35.2: @TakesPQR.%pattern_type (%pattern_type.54d) = value_param_pattern [symbolic = %u.param_patt.loc5_35.2 (constants.%u.param_patt)] -// CHECK:STDOUT: %u.patt.loc5_35.2: @TakesPQR.%pattern_type (%pattern_type.54d) = at_binding_pattern u, %u.param_patt.loc5_35.2 [symbolic = %u.patt.loc5_35.2 (constants.%u.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc5_37.1 [symbolic = %require_complete (constants.%require_complete.192)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%u.param: @TakesPQR.%U.as_type.loc5_37.1 (%U.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Transitive.WithSelf.TakesC(imports.%Main.import_ref.df6636.2: %Transitive.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.744)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.56c)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.68e728.1)] -// CHECK:STDOUT: %self.param_patt: @Transitive.WithSelf.TakesC.%pattern_type.1 (%pattern_type.68e728.1) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.e90fff.1)] -// CHECK:STDOUT: %self.patt: @Transitive.WithSelf.TakesC.%pattern_type.1 (%pattern_type.68e728.1) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.d2dab3.1)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.1)] -// CHECK:STDOUT: %impl.elem2: %facet_type.4c8 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2 (constants.%impl.elem2.731f97.1)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem2 [symbolic = %as_type (constants.%as_type.2fadd6.1)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.ac0)] -// CHECK:STDOUT: %c.param_patt: @Transitive.WithSelf.TakesC.%pattern_type.2 (%pattern_type.ac0) = value_param_pattern [symbolic = %c.param_patt (constants.%c.param_patt)] -// CHECK:STDOUT: %c.patt: @Transitive.WithSelf.TakesC.%pattern_type.2 (%pattern_type.ac0) = at_binding_pattern c, %c.param_patt [symbolic = %c.patt (constants.%c.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Transitive.WithSelf.GetA(imports.%Main.import_ref.df6636.3: %Transitive.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.744)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.56c)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.68e728.1)] -// CHECK:STDOUT: %self.param_patt: @Transitive.WithSelf.GetA.%pattern_type.1 (%pattern_type.68e728.1) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.e90fff.1)] -// CHECK:STDOUT: %self.patt: @Transitive.WithSelf.GetA.%pattern_type.1 (%pattern_type.68e728.1) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.d2dab3.1)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.1)] -// CHECK:STDOUT: %impl.elem0: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.0439e7.1)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0 [symbolic = %as_type (constants.%as_type.6a024f.1)] -// CHECK:STDOUT: %.1: Core.Form = init_form %as_type [symbolic = %.1 (constants.%.2b1a45.1)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.c73ac0.1)] -// CHECK:STDOUT: %return.param_patt: @Transitive.WithSelf.GetA.%pattern_type.2 (%pattern_type.c73ac0.1) = out_param_pattern [symbolic = %return.param_patt (constants.%return.param_patt.057e89.1)] -// CHECK:STDOUT: %return.patt: @Transitive.WithSelf.GetA.%pattern_type.2 (%pattern_type.c73ac0.1) = return_slot_pattern %return.param_patt, invalid [symbolic = %return.patt (constants.%return.patt.4e0711.1)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @G(%T.loc6_7.2: %Transitive.type) { -// CHECK:STDOUT: %T.patt.loc6_7.2: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_7.1: %Transitive.type = symbolic_binding T, 0 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_24.1: type = facet_access_type %T.loc6_7.1 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type.loc6: type = pattern_type %T.as_type.loc6_24.1 [symbolic = %pattern_type.loc6 (constants.%pattern_type.68e728.2)] -// CHECK:STDOUT: %t.param_patt.loc6_22.2: @G.%pattern_type.loc6 (%pattern_type.68e728.2) = value_param_pattern [symbolic = %t.param_patt.loc6_22.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc6_22.2: @G.%pattern_type.loc6 (%pattern_type.68e728.2) = at_binding_pattern t, %t.param_patt.loc6_22.2 [symbolic = %t.patt.loc6_22.2 (constants.%t.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc6: = require_complete_type %T.as_type.loc6_24.1 [symbolic = %require_complete.loc6 (constants.%require_complete.fbd)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %T.loc6_7.1, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.2)] -// CHECK:STDOUT: %impl.elem0.loc7_11.2: %facet_type.b1b = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_11.2 (constants.%impl.elem0.0439e7.2)] -// CHECK:STDOUT: %as_type.loc7_11.2: type = facet_access_type %impl.elem0.loc7_11.2 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: %require_complete.loc7: = require_complete_type %as_type.loc7_11.2 [symbolic = %require_complete.loc7 (constants.%require_complete.c2d)] -// CHECK:STDOUT: %pattern_type.loc7: type = pattern_type %as_type.loc7_11.2 [symbolic = %pattern_type.loc7 (constants.%pattern_type.c73ac0.2)] -// CHECK:STDOUT: %a.patt.loc7_8.2: @G.%pattern_type.loc7 (%pattern_type.c73ac0.2) = ref_binding_pattern a [symbolic = %a.patt.loc7_8.2 (constants.%a.patt)] -// CHECK:STDOUT: %a.var_patt.loc7_3.2: @G.%pattern_type.loc7 (%pattern_type.c73ac0.2) = var_pattern %a.patt.loc7_8.2 [symbolic = %a.var_patt.loc7_3.2 (constants.%a.var_patt)] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%T.loc6_7.1) [symbolic = %Transitive.WithSelf.GetA.type (constants.%Transitive.WithSelf.GetA.type.0b3c58.2)] -// CHECK:STDOUT: %.loc7_17: type = fn_type_with_self_type %Transitive.WithSelf.GetA.type, %T.loc6_7.1 [symbolic = %.loc7_17 (constants.%.657)] -// CHECK:STDOUT: %impl.elem3.loc7_17.2: @G.%.loc7_17 (%.657) = impl_witness_access %Transitive.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc7_17.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc7_17.2: = specific_impl_function %impl.elem3.loc7_17.2, @Transitive.WithSelf.GetA(%T.loc6_7.1) [symbolic = %specific_impl_fn.loc7_17.2 (constants.%specific_impl_fn.72f)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %impl.elem0.loc7_11.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet.loc7_3.3: %Destroy.type = facet_value %as_type.loc7_11.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc7_3.3) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.5e1)] -// CHECK:STDOUT: %.loc7_3.4: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet.loc7_3.3 [symbolic = %.loc7_3.4 (constants.%.e75)] -// CHECK:STDOUT: %impl.elem0.loc7_3.2: @G.%.loc7_3.4 (%.e75) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0.678)] -// CHECK:STDOUT: %specific_impl_fn.loc7_3.2: = specific_impl_function %impl.elem0.loc7_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc7_3.3) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn.e8e)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%t.param: @G.%T.as_type.loc6_24.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.var: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = var_storage %a.var_patt.loc7_3.1 -// CHECK:STDOUT: %t.ref: @G.%T.as_type.loc6_24.1 (%T.as_type) = name_ref t, %t -// CHECK:STDOUT: %GetA.ref: %Transitive.assoc_type = name_ref GetA, imports.%Main.import_ref.5c5 [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc7_17.1: @G.%.loc7_17 (%.657) = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element3 [symbolic = %impl.elem3.loc7_17.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %bound_method.loc7_17: = bound_method %t.ref, %impl.elem3.loc7_17.1 -// CHECK:STDOUT: %.loc7_23.1: %Transitive.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc7_23.2: %Transitive.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %specific_impl_fn.loc7_17.1: = specific_impl_function %impl.elem3.loc7_17.1, @Transitive.WithSelf.GetA(constants.%T) [symbolic = %specific_impl_fn.loc7_17.2 (constants.%specific_impl_fn.72f)] -// CHECK:STDOUT: %bound_method.loc7_23: = bound_method %t.ref, %specific_impl_fn.loc7_17.1 -// CHECK:STDOUT: %.loc7_3.1: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = splice_block %a.var {} -// CHECK:STDOUT: %Transitive.WithSelf.GetA.call: init @G.%as_type.loc7_11.2 (%as_type.6a024f.2) to %.loc7_3.1 = call %bound_method.loc7_23(%t.ref) -// CHECK:STDOUT: assign %a.var, %Transitive.WithSelf.GetA.call -// CHECK:STDOUT: %.loc7_11.1: type = splice_block %.loc7_11.3 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] { -// CHECK:STDOUT: %T.ref.loc7: %Transitive.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc7: type = facet_access_type %T.ref.loc7 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc7_11.2: type = converted %T.ref.loc7, %T.as_type.loc7 [symbolic = %T.as_type.loc6_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %A.ref: %Transitive.assoc_type = name_ref A, imports.%Main.import_ref.72c [concrete = constants.%assoc0.7cd] -// CHECK:STDOUT: %impl.elem0.loc7_11.1: %facet_type.b1b = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic = %impl.elem0.loc7_11.2 (constants.%impl.elem0.0439e7.2)] -// CHECK:STDOUT: %as_type.loc7_11.1: type = facet_access_type %impl.elem0.loc7_11.1 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: %.loc7_11.3: type = converted %impl.elem0.loc7_11.1, %as_type.loc7_11.1 [symbolic = %as_type.loc7_11.2 (constants.%as_type.6a024f.2)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = wrapper_binding a, %a.var -// CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt.loc7_8.1: @G.%pattern_type.loc7 (%pattern_type.c73ac0.2) = ref_binding_pattern a [symbolic = %a.patt.loc7_8.2 (constants.%a.patt)] -// CHECK:STDOUT: %a.var_patt.loc7_3.1: @G.%pattern_type.loc7 (%pattern_type.c73ac0.2) = var_pattern %a.patt.loc7_8.1 [symbolic = %a.var_patt.loc7_3.2 (constants.%a.var_patt)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %a.ref.loc13: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = name_ref a, %a -// CHECK:STDOUT: %Q.ref: type = name_ref Q, imports.%Main.Q [concrete = constants.%Q.type] -// CHECK:STDOUT: %InQ.ref: %Q.assoc_type = name_ref InQ, imports.%Main.import_ref.e2a [concrete = constants.%assoc0.6a1] -// CHECK:STDOUT: %TakesPQR.ref: %TakesPQR.type = name_ref TakesPQR, file.%TakesPQR.decl [concrete = constants.%TakesPQR] -// CHECK:STDOUT: %a.ref.loc22: ref @G.%as_type.loc7_11.2 (%as_type.6a024f.2) = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc7_3.1: @G.%.loc7_3.4 (%.e75) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0.678)] -// CHECK:STDOUT: %bound_method.loc7_3.1: = bound_method %a.var, %impl.elem0.loc7_3.1 -// CHECK:STDOUT: %Destroy.facet.loc7_3.1: %Destroy.type = facet_value constants.%as_type.6a024f.2, (constants.%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %.loc7_3.2: %Destroy.type = converted constants.%as_type.6a024f.2, %Destroy.facet.loc7_3.1 [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.facet.loc7_3.2: %Destroy.type = facet_value constants.%as_type.6a024f.2, (constants.%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %.loc7_3.3: %Destroy.type = converted constants.%as_type.6a024f.2, %Destroy.facet.loc7_3.2 [symbolic = %Destroy.facet.loc7_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %specific_impl_fn.loc7_3.1: = specific_impl_function %impl.elem0.loc7_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn.e8e)] -// CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %a.var, %specific_impl_fn.loc7_3.1 -// CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc7_3.2(%a.var) -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf(constants.%Self.104) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.104 -// CHECK:STDOUT: %P.WithSelf.InP.type => constants.%P.WithSelf.InP.type -// CHECK:STDOUT: %P.WithSelf.InP => constants.%P.WithSelf.InP -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf.InP(constants.%Self.104) { -// CHECK:STDOUT: %Self => constants.%Self.104 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.cc3 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3ef -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.88d -// CHECK:STDOUT: %self.patt => constants.%self.patt.6de -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf(constants.%Self.afd) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.afd -// CHECK:STDOUT: %Q.WithSelf.InQ.type => constants.%Q.WithSelf.InQ.type -// CHECK:STDOUT: %Q.WithSelf.InQ => constants.%Q.WithSelf.InQ -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf.InQ(constants.%Self.afd) { -// CHECK:STDOUT: %Self => constants.%Self.afd -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.430 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ade -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.271 -// CHECK:STDOUT: %self.patt => constants.%self.patt.b5e -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%Self.be6) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.be6 -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf.InR(constants.%Self.be6) { -// CHECK:STDOUT: %Self => constants.%Self.be6 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.b02 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.60e -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.640 -// CHECK:STDOUT: %self.patt => constants.%self.patt.894 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @TakesPQR(constants.%U) { -// CHECK:STDOUT: %U.patt.loc5_14.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc5_14.1 => constants.%U -// CHECK:STDOUT: %U.as_type.loc5_37.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.54d -// CHECK:STDOUT: %u.param_patt.loc5_35.2 => constants.%u.param_patt -// CHECK:STDOUT: %u.patt.loc5_35.2 => constants.%u.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf(constants.%Self.744) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0439e7.1 -// CHECK:STDOUT: %impl.elem1 => constants.%impl.elem1.6be46c.1 -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type => constants.%Transitive.WithSelf.GetA.type.0b3c58.1 -// CHECK:STDOUT: %Transitive.WithSelf.GetA => constants.%Transitive.WithSelf.GetA.e3e09c.1 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type => constants.%Transitive.WithSelf.TakesC.type.d86d9f.1 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC => constants.%Transitive.WithSelf.TakesC.f276cd.1 -// CHECK:STDOUT: %as_type.1 => constants.%as_type.dca436.1 -// CHECK:STDOUT: %as_type.2 => constants.%as_type.6a024f.1 -// CHECK:STDOUT: %eq.1 => constants.%eq.4be6e4.1 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.731f97.1 -// CHECK:STDOUT: %as_type.3 => constants.%as_type.2fadd6.1 -// CHECK:STDOUT: %eq.2 => constants.%eq.033b19.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.TakesC(constants.%Self.744) { -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.56c -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.1 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.1 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.1 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.731f97.1 -// CHECK:STDOUT: %as_type => constants.%as_type.2fadd6.1 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.ac0 -// CHECK:STDOUT: %c.param_patt => constants.%c.param_patt -// CHECK:STDOUT: %c.patt => constants.%c.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%Self.744) { -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.56c -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.1 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.1 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.1 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0439e7.1 -// CHECK:STDOUT: %as_type => constants.%as_type.6a024f.1 -// CHECK:STDOUT: %.1 => constants.%.2b1a45.1 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.c73ac0.1 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.057e89.1 -// CHECK:STDOUT: %return.patt => constants.%return.patt.4e0711.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_7.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc6_24.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc6 => constants.%pattern_type.68e728.2 -// CHECK:STDOUT: %t.param_patt.loc6_22.2 => constants.%t.param_patt -// CHECK:STDOUT: %t.patt.loc6_22.2 => constants.%t.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf(constants.%T) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.2 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0439e7.2 -// CHECK:STDOUT: %impl.elem1 => constants.%impl.elem1.6be46c.2 -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type => constants.%Transitive.WithSelf.GetA.type.0b3c58.2 -// CHECK:STDOUT: %Transitive.WithSelf.GetA => constants.%Transitive.WithSelf.GetA.e3e09c.2 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type => constants.%Transitive.WithSelf.TakesC.type.d86d9f.2 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC => constants.%Transitive.WithSelf.TakesC.f276cd.2 -// CHECK:STDOUT: %as_type.1 => constants.%as_type.dca436.2 -// CHECK:STDOUT: %as_type.2 => constants.%as_type.6a024f.2 -// CHECK:STDOUT: %eq.1 => constants.%eq.4be6e4.2 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.731f97.2 -// CHECK:STDOUT: %as_type.3 => constants.%as_type.2fadd6.2 -// CHECK:STDOUT: %eq.2 => constants.%eq.033b19.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%T) { -// CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %Self.as_type => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.2 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.2 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.2 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.2 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0439e7.2 -// CHECK:STDOUT: %as_type => constants.%as_type.6a024f.2 -// CHECK:STDOUT: %.1 => constants.%.2b1a45.2 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.c73ac0.2 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.057e89.2 -// CHECK:STDOUT: %return.patt => constants.%return.patt.4e0711.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_todo_same_observe_in_both_scopes.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Transitive.type: type = facet_type <@Transitive> [concrete] -// CHECK:STDOUT: %Self.744: %Transitive.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Transitive.lookup_impl_witness.ab0b8d.1: = lookup_impl_witness %Self.744, @Transitive [symbolic] -// CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %R.type: type = facet_type <@R> [concrete] -// CHECK:STDOUT: %Self.be6: %R.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.type.4bf: type = fn_type @R.WithSelf.InR, @R.WithSelf(%Self.be6) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.345: %R.WithSelf.InR.type.4bf = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.b02: type = facet_access_type %Self.be6 [symbolic] -// CHECK:STDOUT: %pattern_type.60e: type = pattern_type %Self.as_type.b02 [symbolic] -// CHECK:STDOUT: %self.param_patt.640: %pattern_type.60e = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.894: %pattern_type.60e = at_binding_pattern self, %self.param_patt.640 [symbolic] -// CHECK:STDOUT: %facet_type.0e9: type = facet_type <@Destroy & @R where TODO> [concrete] -// CHECK:STDOUT: %impl.elem2.279493.1: %facet_type.0e9 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element2 [symbolic] -// CHECK:STDOUT: %Q.type: type = facet_type <@Q> [concrete] -// CHECK:STDOUT: %Self.afd: %Q.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ.type: type = fn_type @Q.WithSelf.InQ, @Q.WithSelf(%Self.afd) [symbolic] -// CHECK:STDOUT: %Q.WithSelf.InQ: %Q.WithSelf.InQ.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.430: type = facet_access_type %Self.afd [symbolic] -// CHECK:STDOUT: %pattern_type.ade: type = pattern_type %Self.as_type.430 [symbolic] -// CHECK:STDOUT: %self.param_patt.271: %pattern_type.ade = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.b5e: %pattern_type.ade = at_binding_pattern self, %self.param_patt.271 [symbolic] -// CHECK:STDOUT: %facet_type.1b9: type = facet_type <@Destroy & @Q where TODO> [concrete] -// CHECK:STDOUT: %impl.elem1.1413d6.1: %facet_type.1b9 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element1 [symbolic] -// CHECK:STDOUT: %eq.be77bc.1 = observe_equivalent %impl.elem1.1413d6.1, %impl.elem2.279493.1 [symbolic] -// CHECK:STDOUT: %as_type.b2aa43.1: type = facet_access_type %impl.elem2.279493.1 [symbolic] -// CHECK:STDOUT: %P.type: type = facet_type <@P> [concrete] -// CHECK:STDOUT: %Self.104: %P.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP.type: type = fn_type @P.WithSelf.InP, @P.WithSelf(%Self.104) [symbolic] -// CHECK:STDOUT: %P.WithSelf.InP: %P.WithSelf.InP.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.cc3: type = facet_access_type %Self.104 [symbolic] -// CHECK:STDOUT: %pattern_type.3ef: type = pattern_type %Self.as_type.cc3 [symbolic] -// CHECK:STDOUT: %self.param_patt.88d: %pattern_type.3ef = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.6de: %pattern_type.3ef = at_binding_pattern self, %self.param_patt.88d [symbolic] -// CHECK:STDOUT: %facet_type.1ff: type = facet_type <@Destroy & @P> [concrete] -// CHECK:STDOUT: %impl.elem0.8aa205.1: %facet_type.1ff = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.1, element0 [symbolic] -// CHECK:STDOUT: %eq.20ba2e.1 = observe_equivalent %impl.elem0.8aa205.1, %impl.elem1.1413d6.1 [symbolic] -// CHECK:STDOUT: %as_type.a0914b.1: type = facet_access_type %impl.elem0.8aa205.1 [symbolic] -// CHECK:STDOUT: %as_type.f86e2d.1: type = facet_access_type %impl.elem1.1413d6.1 [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type.d86d9f.1: type = fn_type @Transitive.WithSelf.TakesC, @Transitive.WithSelf(%Self.744) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.f276cd.1: %Transitive.WithSelf.TakesC.type.d86d9f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.56c: type = facet_access_type %Self.744 [symbolic] -// CHECK:STDOUT: %pattern_type.68e728.1: type = pattern_type %Self.as_type.56c [symbolic] -// CHECK:STDOUT: %self.param_patt.e90fff.1: %pattern_type.68e728.1 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.d2dab3.1: %pattern_type.68e728.1 = at_binding_pattern self, %self.param_patt.e90fff.1 [symbolic] -// CHECK:STDOUT: %pattern_type.d96: type = pattern_type %as_type.b2aa43.1 [symbolic] -// CHECK:STDOUT: %c.param_patt: %pattern_type.d96 = value_param_pattern [symbolic] -// CHECK:STDOUT: %c.patt: %pattern_type.d96 = at_binding_pattern c, %c.param_patt [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type.0b3c58.1: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%Self.744) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.e3e09c.1: %Transitive.WithSelf.GetA.type.0b3c58.1 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.77f685.1: type = pattern_type %as_type.a0914b.1 [symbolic] -// CHECK:STDOUT: %return.param_patt.11f0b9.1: %pattern_type.77f685.1 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.87a9a6.1: %pattern_type.77f685.1 = return_slot_pattern %return.param_patt.11f0b9.1, invalid [symbolic] -// CHECK:STDOUT: %.3ef823.1: Core.Form = init_form %as_type.a0914b.1 [symbolic] -// CHECK:STDOUT: %pattern_type.bd9: type = pattern_type %Transitive.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %Transitive.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.68e728.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %t.param_patt: %pattern_type.68e728.2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %t.patt: %pattern_type.68e728.2 = at_binding_pattern t, %t.param_patt [symbolic] -// CHECK:STDOUT: %G.type: type = fn_type @G [concrete] -// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.fbd: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Transitive.lookup_impl_witness.ab0b8d.2: = lookup_impl_witness %T, @Transitive [symbolic] -// CHECK:STDOUT: %impl.elem0.8aa205.2: %facet_type.1ff = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.1413d6.2: %facet_type.1b9 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element1 [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type.0b3c58.2: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.e3e09c.2: %Transitive.WithSelf.GetA.type.0b3c58.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type.d86d9f.2: type = fn_type @Transitive.WithSelf.TakesC, @Transitive.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.f276cd.2: %Transitive.WithSelf.TakesC.type.d86d9f.2 = struct_value () [symbolic] -// CHECK:STDOUT: %as_type.f86e2d.2: type = facet_access_type %impl.elem1.1413d6.2 [symbolic] -// CHECK:STDOUT: %as_type.a0914b.2: type = facet_access_type %impl.elem0.8aa205.2 [symbolic] -// CHECK:STDOUT: %eq.20ba2e.2 = observe_equivalent %impl.elem0.8aa205.2, %impl.elem1.1413d6.2 [symbolic] -// CHECK:STDOUT: %impl.elem2.279493.2: %facet_type.0e9 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic] -// CHECK:STDOUT: %as_type.b2aa43.2: type = facet_access_type %impl.elem2.279493.2 [symbolic] -// CHECK:STDOUT: %eq.be77bc.2 = observe_equivalent %impl.elem1.1413d6.2, %impl.elem2.279493.2 [symbolic] -// CHECK:STDOUT: %Transitive.assoc_type: type = assoc_entity_type @Transitive [concrete] -// CHECK:STDOUT: %assoc0.e77: %Transitive.assoc_type = assoc_entity element0, imports.%Main.import_ref.0a7 [concrete] -// CHECK:STDOUT: %assoc1: %Transitive.assoc_type = assoc_entity element1, imports.%Main.import_ref.dae [concrete] -// CHECK:STDOUT: %assoc2: %Transitive.assoc_type = assoc_entity element2, imports.%Main.import_ref.56a [concrete] -// CHECK:STDOUT: %require_complete.6cf: = require_complete_type %as_type.a0914b.2 [symbolic] -// CHECK:STDOUT: %pattern_type.77f685.2: type = pattern_type %as_type.a0914b.2 [symbolic] -// CHECK:STDOUT: %a.patt: %pattern_type.77f685.2 = ref_binding_pattern a [symbolic] -// CHECK:STDOUT: %a.var_patt: %pattern_type.77f685.2 = var_pattern %a.patt [symbolic] -// CHECK:STDOUT: %assoc3: %Transitive.assoc_type = assoc_entity element3, imports.%Main.import_ref.06c [concrete] -// CHECK:STDOUT: %.657: type = fn_type_with_self_type %Transitive.WithSelf.GetA.type.0b3c58.2, %T [symbolic] -// CHECK:STDOUT: %impl.elem3: %.657 = impl_witness_access %Transitive.lookup_impl_witness.ab0b8d.2, element3 [symbolic] -// CHECK:STDOUT: %self.param_patt.e90fff.2: %pattern_type.68e728.2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.d2dab3.2: %pattern_type.68e728.2 = at_binding_pattern self, %self.param_patt.e90fff.2 [symbolic] -// CHECK:STDOUT: %.3ef823.2: Core.Form = init_form %as_type.a0914b.2 [symbolic] -// CHECK:STDOUT: %return.param_patt.11f0b9.2: %pattern_type.77f685.2 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.87a9a6.2: %pattern_type.77f685.2 = return_slot_pattern %return.param_patt.11f0b9.2, invalid [symbolic] -// CHECK:STDOUT: %specific_impl_fn.72f: = specific_impl_function %impl.elem3, @Transitive.WithSelf.GetA(%T) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.type.a87: type = fn_type @R.WithSelf.InR, @R.WithSelf(%impl.elem2.279493.2) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.704: %R.WithSelf.InR.type.a87 = struct_value () [symbolic] -// CHECK:STDOUT: %R.assoc_type: type = assoc_entity_type @R [concrete] -// CHECK:STDOUT: %assoc0.e94: %R.assoc_type = assoc_entity element0, imports.%Main.import_ref.8ad [concrete] -// CHECK:STDOUT: %facet_type.fcc: type = facet_type <@Destroy & @R> [concrete] -// CHECK:STDOUT: %R.lookup_impl_witness.aa0: = lookup_impl_witness %impl.elem2.279493.2, @R [symbolic] -// CHECK:STDOUT: %R.facet: %R.type = facet_value %as_type.b2aa43.2, (%R.lookup_impl_witness.aa0) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.type.56d: type = fn_type @R.WithSelf.InR, @R.WithSelf(%R.facet) [symbolic] -// CHECK:STDOUT: %R.WithSelf.InR.9a8: %R.WithSelf.InR.type.56d = struct_value () [symbolic] -// CHECK:STDOUT: %.f43: type = fn_type_with_self_type %R.WithSelf.InR.type.56d, %R.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.8cc: %.f43 = impl_witness_access %R.lookup_impl_witness.aa0, element0 [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %impl.elem0.8aa205.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %as_type.a0914b.2, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.74e: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] -// CHECK:STDOUT: %.569: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.74e, %Destroy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.95f: %.569 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.584: = specific_impl_function %impl.elem0.95f, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.P = import_ref Main//transitive, P, unloaded -// CHECK:STDOUT: %Main.Q = import_ref Main//transitive, Q, unloaded -// CHECK:STDOUT: %Main.R = import_ref Main//transitive, R, unloaded -// CHECK:STDOUT: %Main.Transitive: type = import_ref Main//transitive, Transitive, loaded [concrete = constants.%Transitive.type] -// CHECK:STDOUT: %Core.048aa3.1: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .Destroy = %Core.Destroy -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.72c: %Transitive.assoc_type = import_ref Main//transitive, loc8_8, loaded [concrete = constants.%assoc0.e77] -// CHECK:STDOUT: %Main.import_ref.e5e: %Transitive.assoc_type = import_ref Main//transitive, loc9_8, loaded [concrete = constants.%assoc1] -// CHECK:STDOUT: %Main.import_ref.c9c: %Transitive.assoc_type = import_ref Main//transitive, loc10_8, loaded [concrete = constants.%assoc2] -// CHECK:STDOUT: %Main.import_ref.5c5: %Transitive.assoc_type = import_ref Main//transitive, loc12_21, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Main.import_ref.ae2 = import_ref Main//transitive, loc13_24, unloaded -// CHECK:STDOUT: %Main.A = import_ref Main//transitive, A, unloaded -// CHECK:STDOUT: %Main.B = import_ref Main//transitive, B, unloaded -// CHECK:STDOUT: %Main.C = import_ref Main//transitive, C, unloaded -// CHECK:STDOUT: %Main.GetA = import_ref Main//transitive, GetA, unloaded -// CHECK:STDOUT: %Main.TakesC = import_ref Main//transitive, TakesC, unloaded -// CHECK:STDOUT: %Main.import_ref.682: %R.assoc_type = import_ref Main//transitive, loc5_27, loaded [concrete = constants.%assoc0.e94] -// CHECK:STDOUT: %Main.InR = import_ref Main//transitive, InR, unloaded -// CHECK:STDOUT: %Main.import_ref.f6968b.2: %R.type = import_ref Main//transitive, loc5_13, loaded [symbolic = constants.%Self.be6] -// CHECK:STDOUT: %Main.import_ref.659 = import_ref Main//transitive, loc5_13, unloaded -// CHECK:STDOUT: %Main.import_ref.849 = import_ref Main//transitive, loc4_27, unloaded -// CHECK:STDOUT: %Main.InQ = import_ref Main//transitive, InQ, unloaded -// CHECK:STDOUT: %Main.import_ref.c0a1f5.2: %Q.type = import_ref Main//transitive, loc4_13, loaded [symbolic = constants.%Self.afd] -// CHECK:STDOUT: %Main.import_ref.4f3 = import_ref Main//transitive, loc4_13, unloaded -// CHECK:STDOUT: %Main.import_ref.fec = import_ref Main//transitive, loc3_27, unloaded -// CHECK:STDOUT: %Main.InP = import_ref Main//transitive, InP, unloaded -// CHECK:STDOUT: %Main.import_ref.aef2fa.2: %P.type = import_ref Main//transitive, loc3_13, loaded [symbolic = constants.%Self.104] -// CHECK:STDOUT: %Main.import_ref.96f = import_ref Main//transitive, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.df6636.2: %Transitive.type = import_ref Main//transitive, loc7_22, loaded [symbolic = constants.%Self.744] -// CHECK:STDOUT: %Main.import_ref.df6636.3: %Transitive.type = import_ref Main//transitive, loc7_22, loaded [symbolic = constants.%Self.744] -// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//transitive, loc7_22, unloaded -// CHECK:STDOUT: %Main.import_ref.0a7: %facet_type.1ff = import_ref Main//transitive, loc8_8, loaded [concrete = %A] -// CHECK:STDOUT: %A: %facet_type.1ff = assoc_const_decl @A [concrete] {} -// CHECK:STDOUT: %Main.import_ref.dae: %facet_type.1b9 = import_ref Main//transitive, loc9_8, loaded [concrete = %B] -// CHECK:STDOUT: %B: %facet_type.1b9 = assoc_const_decl @B [concrete] {} -// CHECK:STDOUT: %Main.import_ref.56a: %facet_type.0e9 = import_ref Main//transitive, loc10_8, loaded [concrete = %C] -// CHECK:STDOUT: %C: %facet_type.0e9 = assoc_const_decl @C [concrete] {} -// CHECK:STDOUT: %Main.import_ref.06c: @Transitive.WithSelf.%Transitive.WithSelf.GetA.type (%Transitive.WithSelf.GetA.type.0b3c58.1) = import_ref Main//transitive, loc12_21, loaded [symbolic = @Transitive.WithSelf.%Transitive.WithSelf.GetA (constants.%Transitive.WithSelf.GetA.e3e09c.1)] -// CHECK:STDOUT: %Main.import_ref.8ad: @R.WithSelf.%R.WithSelf.InR.type (%R.WithSelf.InR.type.4bf) = import_ref Main//transitive, loc5_27, loaded [symbolic = @R.WithSelf.%R.WithSelf.InR (constants.%R.WithSelf.InR.345)] -// CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .P = imports.%Main.P -// CHECK:STDOUT: .Q = imports.%Main.Q -// CHECK:STDOUT: .R = imports.%Main.R -// CHECK:STDOUT: .Transitive = imports.%Main.Transitive -// CHECK:STDOUT: .Core = imports.%Core.048aa3.1 -// CHECK:STDOUT: .G = %G.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %default.import = import -// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt.loc5_7.1: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc5_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %t.param_patt.loc5_22.1: @G.%pattern_type.loc5 (%pattern_type.68e728.2) = value_param_pattern [symbolic = %t.param_patt.loc5_22.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc5_22.1: @G.%pattern_type.loc5 (%pattern_type.68e728.2) = at_binding_pattern t, %t.param_patt.loc5_22.1 [symbolic = %t.patt.loc5_22.2 (constants.%t.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc5_9: type = splice_block %Transitive.ref [concrete = constants.%Transitive.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %Transitive.ref: type = name_ref Transitive, imports.%Main.Transitive [concrete = constants.%Transitive.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc5_7.2: %Transitive.type = symbolic_binding T, 0 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %t.param: @G.%T.as_type.loc5_24.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc5_24.1: type = splice_block %.loc5_24.2 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc5: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc5_24.2: type = facet_access_type %T.ref.loc5 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc5_24.2: type = converted %T.ref.loc5, %T.as_type.loc5_24.2 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %t: @G.%T.as_type.loc5_24.1 (%T.as_type) = wrapper_binding t, %t.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Transitive [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.0d5 -// CHECK:STDOUT: .A = imports.%Main.import_ref.72c -// CHECK:STDOUT: .B = imports.%Main.import_ref.e5e -// CHECK:STDOUT: .C = imports.%Main.import_ref.c9c -// CHECK:STDOUT: .GetA = imports.%Main.import_ref.5c5 -// CHECK:STDOUT: .TakesC = imports.%Main.import_ref.ae2 -// CHECK:STDOUT: witness = (imports.%Main.A, imports.%Main.B, imports.%Main.C, imports.%Main.GetA, imports.%Main.TakesC) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @Transitive.observe { -// CHECK:STDOUT: observe constants.%impl.elem0.8aa205.1 == constants.%impl.elem1.1413d6.1 == constants.%impl.elem2.279493.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @R [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.659 -// CHECK:STDOUT: .InR = imports.%Main.import_ref.682 -// CHECK:STDOUT: witness = (imports.%Main.InR) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @Q [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.4f3 -// CHECK:STDOUT: .InQ = imports.%Main.import_ref.849 -// CHECK:STDOUT: witness = (imports.%Main.InQ) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @P [from "transitive.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.96f -// CHECK:STDOUT: .InP = imports.%Main.import_ref.fec -// CHECK:STDOUT: witness = (imports.%Main.InP) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @R.WithSelf.InR(imports.%Main.import_ref.f6968b.2: %R.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %R.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.be6)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.b02)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.60e)] -// CHECK:STDOUT: %self.param_patt: @R.WithSelf.InR.%pattern_type (%pattern_type.60e) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.640)] -// CHECK:STDOUT: %self.patt: @R.WithSelf.InR.%pattern_type (%pattern_type.60e) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.894)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Q.WithSelf.InQ(imports.%Main.import_ref.c0a1f5.2: %Q.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Q.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.afd)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.430)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.ade)] -// CHECK:STDOUT: %self.param_patt: @Q.WithSelf.InQ.%pattern_type (%pattern_type.ade) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.271)] -// CHECK:STDOUT: %self.patt: @Q.WithSelf.InQ.%pattern_type (%pattern_type.ade) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.b5e)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @P.WithSelf.InP(imports.%Main.import_ref.aef2fa.2: %P.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %P.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.104)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.cc3)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3ef)] -// CHECK:STDOUT: %self.param_patt: @P.WithSelf.InP.%pattern_type (%pattern_type.3ef) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.88d)] -// CHECK:STDOUT: %self.patt: @P.WithSelf.InP.%pattern_type (%pattern_type.3ef) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.6de)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Transitive.WithSelf.TakesC(imports.%Main.import_ref.df6636.2: %Transitive.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.744)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.56c)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.68e728.1)] -// CHECK:STDOUT: %self.param_patt: @Transitive.WithSelf.TakesC.%pattern_type.1 (%pattern_type.68e728.1) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.e90fff.1)] -// CHECK:STDOUT: %self.patt: @Transitive.WithSelf.TakesC.%pattern_type.1 (%pattern_type.68e728.1) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.d2dab3.1)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.1)] -// CHECK:STDOUT: %impl.elem2: %facet_type.0e9 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2 (constants.%impl.elem2.279493.1)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem2 [symbolic = %as_type (constants.%as_type.b2aa43.1)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.d96)] -// CHECK:STDOUT: %c.param_patt: @Transitive.WithSelf.TakesC.%pattern_type.2 (%pattern_type.d96) = value_param_pattern [symbolic = %c.param_patt (constants.%c.param_patt)] -// CHECK:STDOUT: %c.patt: @Transitive.WithSelf.TakesC.%pattern_type.2 (%pattern_type.d96) = at_binding_pattern c, %c.param_patt [symbolic = %c.patt (constants.%c.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Transitive.WithSelf.GetA(imports.%Main.import_ref.df6636.3: %Transitive.type) [from "transitive.carbon"] { -// CHECK:STDOUT: %Self: %Transitive.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.744)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.56c)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.68e728.1)] -// CHECK:STDOUT: %self.param_patt: @Transitive.WithSelf.GetA.%pattern_type.1 (%pattern_type.68e728.1) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.e90fff.1)] -// CHECK:STDOUT: %self.patt: @Transitive.WithSelf.GetA.%pattern_type.1 (%pattern_type.68e728.1) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.d2dab3.1)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %Self, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.1)] -// CHECK:STDOUT: %impl.elem0: %facet_type.1ff = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.8aa205.1)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0 [symbolic = %as_type (constants.%as_type.a0914b.1)] -// CHECK:STDOUT: %.1: Core.Form = init_form %as_type [symbolic = %.1 (constants.%.3ef823.1)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.77f685.1)] -// CHECK:STDOUT: %return.param_patt: @Transitive.WithSelf.GetA.%pattern_type.2 (%pattern_type.77f685.1) = out_param_pattern [symbolic = %return.param_patt (constants.%return.param_patt.11f0b9.1)] -// CHECK:STDOUT: %return.patt: @Transitive.WithSelf.GetA.%pattern_type.2 (%pattern_type.77f685.1) = return_slot_pattern %return.param_patt, invalid [symbolic = %return.patt (constants.%return.patt.87a9a6.1)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @G(%T.loc5_7.2: %Transitive.type) { -// CHECK:STDOUT: %T.patt.loc5_7.2: %pattern_type.bd9 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc5_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc5_7.1: %Transitive.type = symbolic_binding T, 0 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc5_24.1: type = facet_access_type %T.loc5_7.1 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type.loc5: type = pattern_type %T.as_type.loc5_24.1 [symbolic = %pattern_type.loc5 (constants.%pattern_type.68e728.2)] -// CHECK:STDOUT: %t.param_patt.loc5_22.2: @G.%pattern_type.loc5 (%pattern_type.68e728.2) = value_param_pattern [symbolic = %t.param_patt.loc5_22.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc5_22.2: @G.%pattern_type.loc5 (%pattern_type.68e728.2) = at_binding_pattern t, %t.param_patt.loc5_22.2 [symbolic = %t.patt.loc5_22.2 (constants.%t.patt)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc5: = require_complete_type %T.as_type.loc5_24.1 [symbolic = %require_complete.loc5 (constants.%require_complete.fbd)] -// CHECK:STDOUT: %Transitive.lookup_impl_witness: = lookup_impl_witness %T.loc5_7.1, @Transitive [symbolic = %Transitive.lookup_impl_witness (constants.%Transitive.lookup_impl_witness.ab0b8d.2)] -// CHECK:STDOUT: %impl.elem0.loc6_12.2: %facet_type.1ff = impl_witness_access %Transitive.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_12.2 (constants.%impl.elem0.8aa205.2)] -// CHECK:STDOUT: %impl.elem1.loc6_19.2: %facet_type.1b9 = impl_witness_access %Transitive.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc6_19.2 (constants.%impl.elem1.1413d6.2)] -// CHECK:STDOUT: %as_type.loc6_19.3: type = facet_access_type %impl.elem1.loc6_19.2 [symbolic = %as_type.loc6_19.3 (constants.%as_type.f86e2d.2)] -// CHECK:STDOUT: %as_type.loc6_12.2: type = facet_access_type %impl.elem0.loc6_12.2 [symbolic = %as_type.loc6_12.2 (constants.%as_type.a0914b.2)] -// CHECK:STDOUT: %eq.loc6_15 = observe_equivalent %impl.elem0.loc6_12.2, %impl.elem1.loc6_19.2 [symbolic = %eq.loc6_15 (constants.%eq.20ba2e.2)] -// CHECK:STDOUT: %impl.elem2.loc6_26.2: %facet_type.0e9 = impl_witness_access %Transitive.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc6_26.2 (constants.%impl.elem2.279493.2)] -// CHECK:STDOUT: %as_type.loc6_26.2: type = facet_access_type %impl.elem2.loc6_26.2 [symbolic = %as_type.loc6_26.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %eq.loc6_22 = observe_equivalent %impl.elem1.loc6_19.2, %impl.elem2.loc6_26.2 [symbolic = %eq.loc6_22 (constants.%eq.be77bc.2)] -// CHECK:STDOUT: %require_complete.loc8: = require_complete_type %as_type.loc6_12.2 [symbolic = %require_complete.loc8 (constants.%require_complete.6cf)] -// CHECK:STDOUT: %pattern_type.loc8: type = pattern_type %as_type.loc6_12.2 [symbolic = %pattern_type.loc8 (constants.%pattern_type.77f685.2)] -// CHECK:STDOUT: %a.patt.loc8_8.2: @G.%pattern_type.loc8 (%pattern_type.77f685.2) = ref_binding_pattern a [symbolic = %a.patt.loc8_8.2 (constants.%a.patt)] -// CHECK:STDOUT: %a.var_patt.loc8_3.2: @G.%pattern_type.loc8 (%pattern_type.77f685.2) = var_pattern %a.patt.loc8_8.2 [symbolic = %a.var_patt.loc8_3.2 (constants.%a.var_patt)] -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type: type = fn_type @Transitive.WithSelf.GetA, @Transitive.WithSelf(%T.loc5_7.1) [symbolic = %Transitive.WithSelf.GetA.type (constants.%Transitive.WithSelf.GetA.type.0b3c58.2)] -// CHECK:STDOUT: %.loc8_17: type = fn_type_with_self_type %Transitive.WithSelf.GetA.type, %T.loc5_7.1 [symbolic = %.loc8_17 (constants.%.657)] -// CHECK:STDOUT: %impl.elem3.loc8_17.2: @G.%.loc8_17 (%.657) = impl_witness_access %Transitive.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc8_17.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc8_17.2: = specific_impl_function %impl.elem3.loc8_17.2, @Transitive.WithSelf.GetA(%T.loc5_7.1) [symbolic = %specific_impl_fn.loc8_17.2 (constants.%specific_impl_fn.72f)] -// CHECK:STDOUT: %R.lookup_impl_witness: = lookup_impl_witness %impl.elem2.loc6_26.2, @R [symbolic = %R.lookup_impl_witness (constants.%R.lookup_impl_witness.aa0)] -// CHECK:STDOUT: %R.facet: %R.type = facet_value %as_type.loc6_26.2, (%R.lookup_impl_witness) [symbolic = %R.facet (constants.%R.facet)] -// CHECK:STDOUT: %R.WithSelf.InR.type: type = fn_type @R.WithSelf.InR, @R.WithSelf(%R.facet) [symbolic = %R.WithSelf.InR.type (constants.%R.WithSelf.InR.type.56d)] -// CHECK:STDOUT: %.loc17_9.2: type = fn_type_with_self_type %R.WithSelf.InR.type, %R.facet [symbolic = %.loc17_9.2 (constants.%.f43)] -// CHECK:STDOUT: %impl.elem0.loc17_9.2: @G.%.loc17_9.2 (%.f43) = impl_witness_access %R.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc17_9.2 (constants.%impl.elem0.8cc)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %impl.elem0.loc6_12.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet.loc8_3.3: %Destroy.type = facet_value %as_type.loc6_12.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc8_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc8_3.3) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.74e)] -// CHECK:STDOUT: %.loc8_3.4: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet.loc8_3.3 [symbolic = %.loc8_3.4 (constants.%.569)] -// CHECK:STDOUT: %impl.elem0.loc8_3.2: @G.%.loc8_3.4 (%.569) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_3.2 (constants.%impl.elem0.95f)] -// CHECK:STDOUT: %specific_impl_fn.loc8_3.2: = specific_impl_function %impl.elem0.loc8_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc8_3.3) [symbolic = %specific_impl_fn.loc8_3.2 (constants.%specific_impl_fn.584)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%t.param: @G.%T.as_type.loc5_24.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref.loc6_11: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_12: type = facet_access_type %T.ref.loc6_11 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_12.1: type = converted %T.ref.loc6_11, %T.as_type.loc6_12 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %A.ref.loc6: %Transitive.assoc_type = name_ref A, imports.%Main.import_ref.72c [concrete = constants.%assoc0.e77] -// CHECK:STDOUT: %impl.elem0.loc6_12.1: %facet_type.1ff = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic = %impl.elem0.loc6_12.2 (constants.%impl.elem0.8aa205.2)] -// CHECK:STDOUT: %T.ref.loc6_18: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_19: type = facet_access_type %T.ref.loc6_18 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_19.1: type = converted %T.ref.loc6_18, %T.as_type.loc6_19 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %B.ref: %Transitive.assoc_type = name_ref B, imports.%Main.import_ref.e5e [concrete = constants.%assoc1] -// CHECK:STDOUT: %impl.elem1.loc6_19.1: %facet_type.1b9 = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element1 [symbolic = %impl.elem1.loc6_19.2 (constants.%impl.elem1.1413d6.2)] -// CHECK:STDOUT: %as_type.loc6_19.1: type = facet_access_type %impl.elem1.loc6_19.1 [symbolic = %as_type.loc6_19.3 (constants.%as_type.f86e2d.2)] -// CHECK:STDOUT: %.loc6_19.2: type = converted %impl.elem1.loc6_19.1, %as_type.loc6_19.1 [symbolic = %as_type.loc6_19.3 (constants.%as_type.f86e2d.2)] -// CHECK:STDOUT: %as_type.loc6_12.1: type = facet_access_type %impl.elem0.loc6_12.1 [symbolic = %as_type.loc6_12.2 (constants.%as_type.a0914b.2)] -// CHECK:STDOUT: %.loc6_12.2: type = converted %impl.elem0.loc6_12.1, %as_type.loc6_12.1 [symbolic = %as_type.loc6_12.2 (constants.%as_type.a0914b.2)] -// CHECK:STDOUT: %T.ref.loc6_25: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_26: type = facet_access_type %T.ref.loc6_25 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_26.1: type = converted %T.ref.loc6_25, %T.as_type.loc6_26 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %C.ref.loc6: %Transitive.assoc_type = name_ref C, imports.%Main.import_ref.c9c [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc6_26.1: %facet_type.0e9 = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic = %impl.elem2.loc6_26.2 (constants.%impl.elem2.279493.2)] -// CHECK:STDOUT: %as_type.loc6_26.1: type = facet_access_type %impl.elem2.loc6_26.1 [symbolic = %as_type.loc6_26.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %.loc6_26.2: type = converted %impl.elem2.loc6_26.1, %as_type.loc6_26.1 [symbolic = %as_type.loc6_26.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %as_type.loc6_19.2: type = facet_access_type %impl.elem1.loc6_19.1 [symbolic = %as_type.loc6_19.3 (constants.%as_type.f86e2d.2)] -// CHECK:STDOUT: %.loc6_19.3: type = converted %impl.elem1.loc6_19.1, %as_type.loc6_19.2 [symbolic = %as_type.loc6_19.3 (constants.%as_type.f86e2d.2)] -// CHECK:STDOUT: %G.observe.decl = observe_decl @G.observe [concrete] -// CHECK:STDOUT: %a.var: ref @G.%as_type.loc6_12.2 (%as_type.a0914b.2) = var_storage %a.var_patt.loc8_3.1 -// CHECK:STDOUT: %t.ref: @G.%T.as_type.loc5_24.1 (%T.as_type) = name_ref t, %t -// CHECK:STDOUT: %GetA.ref: %Transitive.assoc_type = name_ref GetA, imports.%Main.import_ref.5c5 [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc8_17.1: @G.%.loc8_17 (%.657) = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element3 [symbolic = %impl.elem3.loc8_17.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %bound_method.loc8_17: = bound_method %t.ref, %impl.elem3.loc8_17.1 -// CHECK:STDOUT: %.loc8_23.1: %Transitive.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc8_23.2: %Transitive.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %specific_impl_fn.loc8_17.1: = specific_impl_function %impl.elem3.loc8_17.1, @Transitive.WithSelf.GetA(constants.%T) [symbolic = %specific_impl_fn.loc8_17.2 (constants.%specific_impl_fn.72f)] -// CHECK:STDOUT: %bound_method.loc8_23: = bound_method %t.ref, %specific_impl_fn.loc8_17.1 -// CHECK:STDOUT: %.loc8_3.1: ref @G.%as_type.loc6_12.2 (%as_type.a0914b.2) = splice_block %a.var {} -// CHECK:STDOUT: %Transitive.WithSelf.GetA.call: init @G.%as_type.loc6_12.2 (%as_type.a0914b.2) to %.loc8_3.1 = call %bound_method.loc8_23(%t.ref) -// CHECK:STDOUT: assign %a.var, %Transitive.WithSelf.GetA.call -// CHECK:STDOUT: %.loc8_11.1: type = splice_block %.loc8_11.3 [symbolic = %as_type.loc6_12.2 (constants.%as_type.a0914b.2)] { -// CHECK:STDOUT: %T.ref.loc8: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc8: type = facet_access_type %T.ref.loc8 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc8_11.2: type = converted %T.ref.loc8, %T.as_type.loc8 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %A.ref.loc8: %Transitive.assoc_type = name_ref A, imports.%Main.import_ref.72c [concrete = constants.%assoc0.e77] -// CHECK:STDOUT: %impl.elem0.loc8_11: %facet_type.1ff = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element0 [symbolic = %impl.elem0.loc6_12.2 (constants.%impl.elem0.8aa205.2)] -// CHECK:STDOUT: %as_type.loc8: type = facet_access_type %impl.elem0.loc8_11 [symbolic = %as_type.loc6_12.2 (constants.%as_type.a0914b.2)] -// CHECK:STDOUT: %.loc8_11.3: type = converted %impl.elem0.loc8_11, %as_type.loc8 [symbolic = %as_type.loc6_12.2 (constants.%as_type.a0914b.2)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref @G.%as_type.loc6_12.2 (%as_type.a0914b.2) = wrapper_binding a, %a.var -// CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt.loc8_8.1: @G.%pattern_type.loc8 (%pattern_type.77f685.2) = ref_binding_pattern a [symbolic = %a.patt.loc8_8.2 (constants.%a.patt)] -// CHECK:STDOUT: %a.var_patt.loc8_3.1: @G.%pattern_type.loc8 (%pattern_type.77f685.2) = var_pattern %a.patt.loc8_8.1 [symbolic = %a.var_patt.loc8_3.2 (constants.%a.var_patt)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %a.ref: ref @G.%as_type.loc6_12.2 (%as_type.a0914b.2) = name_ref a, %a -// CHECK:STDOUT: %T.ref.loc17: %Transitive.type = name_ref T, %T.loc5_7.2 [symbolic = %T.loc5_7.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc17: type = facet_access_type %T.ref.loc17 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc17_7: type = converted %T.ref.loc17, %T.as_type.loc17 [symbolic = %T.as_type.loc5_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %C.ref.loc17: %Transitive.assoc_type = name_ref C, imports.%Main.import_ref.c9c [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc17: %facet_type.0e9 = impl_witness_access constants.%Transitive.lookup_impl_witness.ab0b8d.2, element2 [symbolic = %impl.elem2.loc6_26.2 (constants.%impl.elem2.279493.2)] -// CHECK:STDOUT: %as_type.loc17: type = facet_access_type %impl.elem2.loc17 [symbolic = %as_type.loc6_26.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %.loc17_9.1: type = converted %impl.elem2.loc17, %as_type.loc17 [symbolic = %as_type.loc6_26.2 (constants.%as_type.b2aa43.2)] -// CHECK:STDOUT: %InR.ref: %R.assoc_type = name_ref InR, imports.%Main.import_ref.682 [concrete = constants.%assoc0.e94] -// CHECK:STDOUT: %facet_type: type = facet_type <@Destroy & @R> [concrete = constants.%facet_type.fcc] -// CHECK:STDOUT: %impl.elem0.loc17_9.1: @G.%.loc17_9.2 (%.f43) = impl_witness_access constants.%R.lookup_impl_witness.aa0, element0 [symbolic = %impl.elem0.loc17_9.2 (constants.%impl.elem0.8cc)] -// CHECK:STDOUT: %bound_method.loc17: = bound_method %a.ref, %impl.elem0.loc17_9.1 -// CHECK:STDOUT: %impl.elem0.loc8_3.1: @G.%.loc8_3.4 (%.569) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_3.2 (constants.%impl.elem0.95f)] -// CHECK:STDOUT: %bound_method.loc8_3.1: = bound_method %a.var, %impl.elem0.loc8_3.1 -// CHECK:STDOUT: %Destroy.facet.loc8_3.1: %Destroy.type = facet_value constants.%as_type.a0914b.2, (constants.%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc8_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %.loc8_3.2: %Destroy.type = converted constants.%as_type.a0914b.2, %Destroy.facet.loc8_3.1 [symbolic = %Destroy.facet.loc8_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.facet.loc8_3.2: %Destroy.type = facet_value constants.%as_type.a0914b.2, (constants.%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc8_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %.loc8_3.3: %Destroy.type = converted constants.%as_type.a0914b.2, %Destroy.facet.loc8_3.2 [symbolic = %Destroy.facet.loc8_3.3 (constants.%Destroy.facet)] -// CHECK:STDOUT: %specific_impl_fn.loc8_3.1: = specific_impl_function %impl.elem0.loc8_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc8_3.2 (constants.%specific_impl_fn.584)] -// CHECK:STDOUT: %bound_method.loc8_3.2: = bound_method %a.var, %specific_impl_fn.loc8_3.1 -// CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc8_3.2(%a.var) -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @G.observe { -// CHECK:STDOUT: observe constants.%impl.elem0.8aa205.2 == constants.%impl.elem1.1413d6.2 == constants.%impl.elem2.279493.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%Self.be6) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.be6 -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type.4bf -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR.345 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf.InR(constants.%Self.be6) { -// CHECK:STDOUT: %Self => constants.%Self.be6 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.b02 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.60e -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.640 -// CHECK:STDOUT: %self.patt => constants.%self.patt.894 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf(constants.%Self.afd) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.afd -// CHECK:STDOUT: %Q.WithSelf.InQ.type => constants.%Q.WithSelf.InQ.type -// CHECK:STDOUT: %Q.WithSelf.InQ => constants.%Q.WithSelf.InQ -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Q.WithSelf.InQ(constants.%Self.afd) { -// CHECK:STDOUT: %Self => constants.%Self.afd -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.430 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ade -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.271 -// CHECK:STDOUT: %self.patt => constants.%self.patt.b5e -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf(constants.%Self.104) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.104 -// CHECK:STDOUT: %P.WithSelf.InP.type => constants.%P.WithSelf.InP.type -// CHECK:STDOUT: %P.WithSelf.InP => constants.%P.WithSelf.InP -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @P.WithSelf.InP(constants.%Self.104) { -// CHECK:STDOUT: %Self => constants.%Self.104 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.cc3 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3ef -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.88d -// CHECK:STDOUT: %self.patt => constants.%self.patt.6de -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf(constants.%Self.744) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.8aa205.1 -// CHECK:STDOUT: %impl.elem1 => constants.%impl.elem1.1413d6.1 -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type => constants.%Transitive.WithSelf.GetA.type.0b3c58.1 -// CHECK:STDOUT: %Transitive.WithSelf.GetA => constants.%Transitive.WithSelf.GetA.e3e09c.1 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type => constants.%Transitive.WithSelf.TakesC.type.d86d9f.1 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC => constants.%Transitive.WithSelf.TakesC.f276cd.1 -// CHECK:STDOUT: %as_type.1 => constants.%as_type.f86e2d.1 -// CHECK:STDOUT: %as_type.2 => constants.%as_type.a0914b.1 -// CHECK:STDOUT: %eq.1 => constants.%eq.20ba2e.1 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.279493.1 -// CHECK:STDOUT: %as_type.3 => constants.%as_type.b2aa43.1 -// CHECK:STDOUT: %eq.2 => constants.%eq.be77bc.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.TakesC(constants.%Self.744) { -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.56c -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.1 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.1 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.1 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.279493.1 -// CHECK:STDOUT: %as_type => constants.%as_type.b2aa43.1 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.d96 -// CHECK:STDOUT: %c.param_patt => constants.%c.param_patt -// CHECK:STDOUT: %c.patt => constants.%c.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%Self.744) { -// CHECK:STDOUT: %Self => constants.%Self.744 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.56c -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.1 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.1 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.1 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.1 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.8aa205.1 -// CHECK:STDOUT: %as_type => constants.%as_type.a0914b.1 -// CHECK:STDOUT: %.1 => constants.%.3ef823.1 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.77f685.1 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.11f0b9.1 -// CHECK:STDOUT: %return.patt => constants.%return.patt.87a9a6.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%T) { -// CHECK:STDOUT: %T.patt.loc5_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc5_7.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc5_24.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc5 => constants.%pattern_type.68e728.2 -// CHECK:STDOUT: %t.param_patt.loc5_22.2 => constants.%t.param_patt -// CHECK:STDOUT: %t.patt.loc5_22.2 => constants.%t.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf(constants.%T) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.2 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.8aa205.2 -// CHECK:STDOUT: %impl.elem1 => constants.%impl.elem1.1413d6.2 -// CHECK:STDOUT: %Transitive.WithSelf.GetA.type => constants.%Transitive.WithSelf.GetA.type.0b3c58.2 -// CHECK:STDOUT: %Transitive.WithSelf.GetA => constants.%Transitive.WithSelf.GetA.e3e09c.2 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC.type => constants.%Transitive.WithSelf.TakesC.type.d86d9f.2 -// CHECK:STDOUT: %Transitive.WithSelf.TakesC => constants.%Transitive.WithSelf.TakesC.f276cd.2 -// CHECK:STDOUT: %as_type.1 => constants.%as_type.f86e2d.2 -// CHECK:STDOUT: %as_type.2 => constants.%as_type.a0914b.2 -// CHECK:STDOUT: %eq.1 => constants.%eq.20ba2e.2 -// CHECK:STDOUT: %impl.elem2 => constants.%impl.elem2.279493.2 -// CHECK:STDOUT: %as_type.3 => constants.%as_type.b2aa43.2 -// CHECK:STDOUT: %eq.2 => constants.%eq.be77bc.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @Transitive.WithSelf.GetA(constants.%T) { -// CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %Self.as_type => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.68e728.2 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.e90fff.2 -// CHECK:STDOUT: %self.patt => constants.%self.patt.d2dab3.2 -// CHECK:STDOUT: %Transitive.lookup_impl_witness => constants.%Transitive.lookup_impl_witness.ab0b8d.2 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.8aa205.2 -// CHECK:STDOUT: %as_type => constants.%as_type.a0914b.2 -// CHECK:STDOUT: %.1 => constants.%.3ef823.2 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.77f685.2 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.11f0b9.2 -// CHECK:STDOUT: %return.patt => constants.%return.patt.87a9a6.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%impl.elem2.279493.2) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%impl.elem2.279493.2 -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type.a87 -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR.704 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @R.WithSelf(constants.%R.facet) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%R.facet -// CHECK:STDOUT: %R.WithSelf.InR.type => constants.%R.WithSelf.InR.type.56d -// CHECK:STDOUT: %R.WithSelf.InR => constants.%R.WithSelf.InR.9a8 +// CHECK:STDOUT: %pattern_type.loc14_20 => constants.%pattern_type.007 +// CHECK:STDOUT: %c.param_patt.loc14_20.2 => constants.%c.param_patt +// CHECK:STDOUT: %c.patt.loc14_20.2 => constants.%c.patt // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- blanket_impls.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %C.type: type = facet_type <@C> [concrete] -// CHECK:STDOUT: %Self.62a: %C.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %D.type: type = facet_type <@D> [concrete] -// CHECK:STDOUT: %Self.e2d: %D.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.029: type = pattern_type %A.type [concrete] // CHECK:STDOUT: %T.patt.a4b: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic] // CHECK:STDOUT: %T.626: %A.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type.3b8: type = facet_access_type %T.626 [symbolic] -// CHECK:STDOUT: %B.impl_witness: = impl_witness @T.as_type.as.B.impl.%B.impl_witness_table, @T.as_type.as.B.impl(%T.626) [symbolic] -// CHECK:STDOUT: %B.facet.c04: %B.type = facet_value %T.as_type.3b8, (%B.impl_witness) [symbolic] -// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %B.type [concrete] -// CHECK:STDOUT: %T.patt.ca5: %pattern_type.7b5 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T.ed4: %B.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.4de: type = facet_access_type %T.ed4 [symbolic] -// CHECK:STDOUT: %C.impl_witness.9e3: = impl_witness @T.as_type.as.C.impl.%C.impl_witness_table, @T.as_type.as.C.impl(%T.ed4) [symbolic] -// CHECK:STDOUT: %C.facet.355: %C.type = facet_value %T.as_type.4de, (%C.impl_witness.9e3) [symbolic] -// CHECK:STDOUT: %pattern_type.647: type = pattern_type %C.type [concrete] -// CHECK:STDOUT: %T.patt.ece: %pattern_type.647 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T.659: %C.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.c69: type = facet_access_type %T.659 [symbolic] -// CHECK:STDOUT: %D.impl_witness.8a1: = impl_witness @T.as_type.as.D.impl.%D.impl_witness_table, @T.as_type.as.D.impl(%T.659) [symbolic] -// CHECK:STDOUT: %D.facet.3d0: %D.type = facet_value %T.as_type.c69, (%D.impl_witness.8a1) [symbolic] -// CHECK:STDOUT: %pattern_type.c89: type = pattern_type %T.as_type.4de [symbolic] -// CHECK:STDOUT: %x.param_patt.1d2: %pattern_type.c89 = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.3a5: %pattern_type.c89 = at_binding_pattern x, %x.param_patt.1d2 [symbolic] // CHECK:STDOUT: %RequiresB.type: type = fn_type @RequiresB [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %RequiresB: %RequiresB.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.346: = require_complete_type %T.as_type.4de [symbolic] -// CHECK:STDOUT: %pattern_type.549: type = pattern_type %D.type [concrete] -// CHECK:STDOUT: %T.patt.604: %pattern_type.549 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T.3dd: %D.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.8cd: type = facet_access_type %T.3dd [symbolic] -// CHECK:STDOUT: %pattern_type.86b: type = pattern_type %T.as_type.8cd [symbolic] -// CHECK:STDOUT: %x.param_patt.2ab: %pattern_type.86b = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.a712ca.1: %pattern_type.86b = at_binding_pattern x, %x.param_patt.2ab [symbolic] -// CHECK:STDOUT: %x.patt.a712ca.2: %pattern_type.86b = at_binding_pattern x, %x.param_patt.2ab [symbolic] // CHECK:STDOUT: %RequiresD.type: type = fn_type @RequiresD [concrete] // CHECK:STDOUT: %RequiresD: %RequiresD.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.904: = require_complete_type %T.as_type.8cd [symbolic] // CHECK:STDOUT: %pattern_type.a0e: type = pattern_type %T.as_type.3b8 [symbolic] // CHECK:STDOUT: %x.param_patt.241: %pattern_type.a0e = value_param_pattern [symbolic] // CHECK:STDOUT: %x.patt.19b9f1.1: %pattern_type.a0e = at_binding_pattern x, %x.param_patt.241 [symbolic] @@ -3653,472 +622,115 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: %B.lookup_impl_witness: = lookup_impl_witness %T.626, @B [symbolic] // CHECK:STDOUT: %.714: require_specific_def_type = require_specific_def @T.as_type.as.B.impl(%T.626) [symbolic] // CHECK:STDOUT: %B.facet.c85: %B.type = facet_value %T.as_type.3b8, (%B.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %x.patt.19b9f1.2: %pattern_type.a0e = at_binding_pattern x, %x.param_patt.241 [symbolic] // CHECK:STDOUT: %RequiresB.specific_fn: = specific_function %RequiresB, @RequiresB(%B.facet.c85) [symbolic] // CHECK:STDOUT: %impls.be1 = observe_impls %T.626, %B.type [symbolic] // CHECK:STDOUT: %impls.86f = observe_impls %T.626, %C.type [symbolic] // CHECK:STDOUT: %D.lookup_impl_witness: = lookup_impl_witness %T.626, @D [symbolic] // CHECK:STDOUT: %C.lookup_impl_witness: = lookup_impl_witness %T.626, @C [symbolic] -// CHECK:STDOUT: %C.impl_witness.f05: = impl_witness @T.as_type.as.C.impl.%C.impl_witness_table, @T.as_type.as.C.impl(%B.facet.c85) [symbolic] // CHECK:STDOUT: %C.facet.124: %C.type = facet_value %T.as_type.3b8, (%C.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %D.impl_witness.049: = impl_witness @T.as_type.as.D.impl.%D.impl_witness_table, @T.as_type.as.D.impl(%C.facet.124) [symbolic] // CHECK:STDOUT: %.f88: require_specific_def_type = require_specific_def @T.as_type.as.D.impl(%C.facet.124) [symbolic] // CHECK:STDOUT: %D.facet.5cf: %D.type = facet_value %T.as_type.3b8, (%D.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %RequiresD.specific_fn: = specific_function %RequiresD, @RequiresD(%D.facet.5cf) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .C = %C.decl -// CHECK:STDOUT: .D = %D.decl -// CHECK:STDOUT: .RequiresB = %RequiresB.decl -// CHECK:STDOUT: .RequiresD = %RequiresD.decl -// CHECK:STDOUT: .RequiresA = %RequiresA.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} -// CHECK:STDOUT: %C.decl: type = interface_decl @C [concrete = constants.%C.type] {} {} -// CHECK:STDOUT: %D.decl: type = interface_decl @D [concrete = constants.%D.type] {} {} -// CHECK:STDOUT: impl_decl @T.as_type.as.B.impl [concrete] { -// CHECK:STDOUT: %T.patt.loc8_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_15.2 (constants.%T.patt.a4b)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc8_15.1 [symbolic = %T.loc8_15.2 (constants.%T.626)] -// CHECK:STDOUT: %T.as_type.loc8_20.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc8_20.2 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %.loc8_20: type = converted %T.ref, %T.as_type.loc8_20.1 [symbolic = %T.as_type.loc8_20.2 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %.loc8_17: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc8_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T.626)] -// CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.C.impl [concrete] { -// CHECK:STDOUT: %T.patt.loc9_15.1: %pattern_type.7b5 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc9_15.2 (constants.%T.patt.ca5)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %B.type = name_ref T, %T.loc9_15.1 [symbolic = %T.loc9_15.2 (constants.%T.ed4)] -// CHECK:STDOUT: %T.as_type.loc9_20.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc9_20.2 (constants.%T.as_type.4de)] -// CHECK:STDOUT: %.loc9_20: type = converted %T.ref, %T.as_type.loc9_20.1 [symbolic = %T.as_type.loc9_20.2 (constants.%T.as_type.4de)] -// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C.type] -// CHECK:STDOUT: %.loc9_17: type = splice_block %B.ref [concrete = constants.%B.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc9_15.1: %B.type = symbolic_binding T, 0 [symbolic = %T.loc9_15.2 (constants.%T.ed4)] -// CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.D.impl [concrete] { -// CHECK:STDOUT: %T.patt.loc10_15.1: %pattern_type.647 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc10_15.2 (constants.%T.patt.ece)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %C.type = name_ref T, %T.loc10_15.1 [symbolic = %T.loc10_15.2 (constants.%T.659)] -// CHECK:STDOUT: %T.as_type.loc10_20.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc10_20.2 (constants.%T.as_type.c69)] -// CHECK:STDOUT: %.loc10_20: type = converted %T.ref, %T.as_type.loc10_20.1 [symbolic = %T.as_type.loc10_20.2 (constants.%T.as_type.c69)] -// CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D.type] -// CHECK:STDOUT: %.loc10_17: type = splice_block %C.ref [concrete = constants.%C.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc10_15.1: %C.type = symbolic_binding T, 0 [symbolic = %T.loc10_15.2 (constants.%T.659)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %RequiresB.decl: %RequiresB.type = fn_decl @RequiresB [concrete = constants.%RequiresB] { -// CHECK:STDOUT: %T.patt.loc12_15.1: %pattern_type.7b5 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc12_15.2 (constants.%T.patt.ca5)] -// CHECK:STDOUT: %x.param_patt.loc12_28.1: @RequiresB.%pattern_type (%pattern_type.c89) = value_param_pattern [symbolic = %x.param_patt.loc12_28.2 (constants.%x.param_patt.1d2)] -// CHECK:STDOUT: %x.patt.loc12_28.1: @RequiresB.%pattern_type (%pattern_type.c89) = at_binding_pattern x, %x.param_patt.loc12_28.1 [symbolic = %x.patt.loc12_28.2 (constants.%x.patt.3a5)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc12_17: type = splice_block %B.ref [concrete = constants.%B.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc12_15.2: %B.type = symbolic_binding T, 0 [symbolic = %T.loc12_15.1 (constants.%T.ed4)] -// CHECK:STDOUT: %x.param: @RequiresB.%T.as_type.loc12_30.1 (%T.as_type.4de) = value_param call_param0 -// CHECK:STDOUT: %.loc12_30.1: type = splice_block %.loc12_30.2 [symbolic = %T.as_type.loc12_30.1 (constants.%T.as_type.4de)] { -// CHECK:STDOUT: %T.ref: %B.type = name_ref T, %T.loc12_15.2 [symbolic = %T.loc12_15.1 (constants.%T.ed4)] -// CHECK:STDOUT: %T.as_type.loc12_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc12_30.1 (constants.%T.as_type.4de)] -// CHECK:STDOUT: %.loc12_30.2: type = converted %T.ref, %T.as_type.loc12_30.2 [symbolic = %T.as_type.loc12_30.1 (constants.%T.as_type.4de)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresB.%T.as_type.loc12_30.1 (%T.as_type.4de) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %RequiresD.decl: %RequiresD.type = fn_decl @RequiresD [concrete = constants.%RequiresD] { -// CHECK:STDOUT: %T.patt.loc13_15.1: %pattern_type.549 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc13_15.2 (constants.%T.patt.604)] -// CHECK:STDOUT: %x.param_patt.loc13_28.1: @RequiresD.%pattern_type (%pattern_type.86b) = value_param_pattern [symbolic = %x.param_patt.loc13_28.2 (constants.%x.param_patt.2ab)] -// CHECK:STDOUT: %x.patt.loc13_28.1: @RequiresD.%pattern_type (%pattern_type.86b) = at_binding_pattern x, %x.param_patt.loc13_28.1 [symbolic = %x.patt.loc13_28.2 (constants.%x.patt.a712ca.1)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc13_17: type = splice_block %D.ref [concrete = constants.%D.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc13_15.2: %D.type = symbolic_binding T, 0 [symbolic = %T.loc13_15.1 (constants.%T.3dd)] -// CHECK:STDOUT: %x.param: @RequiresD.%T.as_type.loc13_30.1 (%T.as_type.8cd) = value_param call_param0 -// CHECK:STDOUT: %.loc13_30.1: type = splice_block %.loc13_30.2 [symbolic = %T.as_type.loc13_30.1 (constants.%T.as_type.8cd)] { -// CHECK:STDOUT: %T.ref: %D.type = name_ref T, %T.loc13_15.2 [symbolic = %T.loc13_15.1 (constants.%T.3dd)] -// CHECK:STDOUT: %T.as_type.loc13_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc13_30.1 (constants.%T.as_type.8cd)] -// CHECK:STDOUT: %.loc13_30.2: type = converted %T.ref, %T.as_type.loc13_30.2 [symbolic = %T.as_type.loc13_30.1 (constants.%T.as_type.8cd)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresD.%T.as_type.loc13_30.1 (%T.as_type.8cd) = wrapper_binding x, %x.param -// CHECK:STDOUT: } // CHECK:STDOUT: %RequiresA.decl: %RequiresA.type = fn_decl @RequiresA [concrete = constants.%RequiresA] { -// CHECK:STDOUT: %T.patt.loc15_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc15_15.2 (constants.%T.patt.a4b)] -// CHECK:STDOUT: %x.param_patt.loc15_21.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc15_21.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc15_21.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc15_21.1 [symbolic = %x.patt.loc15_21.2 (constants.%x.patt.19b9f1.1)] +// CHECK:STDOUT: %T.patt.loc16_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc16_15.2 (constants.%T.patt.a4b)] +// CHECK:STDOUT: %x.param_patt.loc16_21.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc16_21.2 (constants.%x.param_patt.241)] +// CHECK:STDOUT: %x.patt.loc16_21.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc16_21.1 [symbolic = %x.patt.loc16_21.2 (constants.%x.patt.19b9f1.1)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc15_17: type = splice_block %A.ref [concrete = constants.%A.type] { +// CHECK:STDOUT: %.loc16_17: type = splice_block %A.ref [concrete = constants.%A.type] { // CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc15_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.1 (constants.%T.626)] -// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc15_23.1 (%T.as_type.3b8) = value_param call_param0 -// CHECK:STDOUT: %.loc15_23.1: type = splice_block %.loc15_23.2 [symbolic = %T.as_type.loc15_23.1 (constants.%T.as_type.3b8)] { -// CHECK:STDOUT: %T.ref.loc15: %A.type = name_ref T, %T.loc15_15.2 [symbolic = %T.loc15_15.1 (constants.%T.626)] -// CHECK:STDOUT: %T.as_type.loc15_23.2: type = facet_access_type %T.ref.loc15 [symbolic = %T.as_type.loc15_23.1 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %.loc15_23.2: type = converted %T.ref.loc15, %T.as_type.loc15_23.2 [symbolic = %T.as_type.loc15_23.1 (constants.%T.as_type.3b8)] +// CHECK:STDOUT: %T.loc16_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc16_15.1 (constants.%T.626)] +// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc16_23.1 (%T.as_type.3b8) = value_param call_param0 +// CHECK:STDOUT: %.loc16_23.1: type = splice_block %.loc16_23.2 [symbolic = %T.as_type.loc16_23.1 (constants.%T.as_type.3b8)] { +// CHECK:STDOUT: %T.ref.loc16: %A.type = name_ref T, %T.loc16_15.2 [symbolic = %T.loc16_15.1 (constants.%T.626)] +// CHECK:STDOUT: %T.as_type.loc16_23.2: type = facet_access_type %T.ref.loc16 [symbolic = %T.as_type.loc16_23.1 (constants.%T.as_type.3b8)] +// CHECK:STDOUT: %.loc16_23.2: type = converted %T.ref.loc16, %T.as_type.loc16_23.2 [symbolic = %T.as_type.loc16_23.1 (constants.%T.as_type.3b8)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc15_23.1 (%T.as_type.3b8) = wrapper_binding x, %x.param +// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc16_23.1 (%T.as_type.3b8) = wrapper_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @C { -// CHECK:STDOUT: %Self: %C.type = symbolic_binding Self, 0 [symbolic = constants.%Self.62a] -// CHECK:STDOUT: %C.WithSelf.decl = interface_with_self_decl @C [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @D { -// CHECK:STDOUT: %Self: %D.type = symbolic_binding Self, 0 [symbolic = constants.%Self.e2d] -// CHECK:STDOUT: %D.WithSelf.decl = interface_with_self_decl @D [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.B.impl(%T.loc8_15.1: %A.type) { -// CHECK:STDOUT: %T.patt.loc8_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_15.2 (constants.%T.patt.a4b)] -// CHECK:STDOUT: %T.loc8_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T.626)] -// CHECK:STDOUT: %T.as_type.loc8_20.2: type = facet_access_type %T.loc8_15.2 [symbolic = %T.as_type.loc8_20.2 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %B.impl_witness.loc8_27.2: = impl_witness %B.impl_witness_table, @T.as_type.as.B.impl(%T.loc8_15.2) [symbolic = %B.impl_witness.loc8_27.2 (constants.%B.impl_witness)] +// CHECK:STDOUT: generic fn @RequiresA(%T.loc16_15.2: %A.type) { +// CHECK:STDOUT: %T.patt.loc16_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc16_15.2 (constants.%T.patt.a4b)] +// CHECK:STDOUT: %T.loc16_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc16_15.1 (constants.%T.626)] +// CHECK:STDOUT: %T.as_type.loc16_23.1: type = facet_access_type %T.loc16_15.1 [symbolic = %T.as_type.loc16_23.1 (constants.%T.as_type.3b8)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc16_23.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] +// CHECK:STDOUT: %x.param_patt.loc16_21.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc16_21.2 (constants.%x.param_patt.241)] +// CHECK:STDOUT: %x.patt.loc16_21.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc16_21.2 [symbolic = %x.patt.loc16_21.2 (constants.%x.patt.19b9f1.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc16_23.1 [symbolic = %require_complete (constants.%require_complete.94f)] +// CHECK:STDOUT: %.loc17_14.3: require_specific_def_type = require_specific_def @T.as_type.as.B.impl(%T.loc16_15.1) [symbolic = %.loc17_14.3 (constants.%.714)] +// CHECK:STDOUT: %B.lookup_impl_witness: = lookup_impl_witness %T.loc16_15.1, @B [symbolic = %B.lookup_impl_witness (constants.%B.lookup_impl_witness)] +// CHECK:STDOUT: %B.facet.loc17_14.3: %B.type = facet_value %T.as_type.loc16_23.1, (%B.lookup_impl_witness) [symbolic = %B.facet.loc17_14.3 (constants.%B.facet.c85)] +// CHECK:STDOUT: %RequiresB.specific_fn.loc17_3.2: = specific_function constants.%RequiresB, @RequiresB(%B.facet.loc17_14.3) [symbolic = %RequiresB.specific_fn.loc17_3.2 (constants.%RequiresB.specific_fn)] +// CHECK:STDOUT: %impls.loc19 = observe_impls %T.loc16_15.1, constants.%B.type [symbolic = %impls.loc19 (constants.%impls.be1)] +// CHECK:STDOUT: %impls.loc20 = observe_impls %T.loc16_15.1, constants.%C.type [symbolic = %impls.loc20 (constants.%impls.86f)] +// CHECK:STDOUT: %C.lookup_impl_witness: = lookup_impl_witness %T.loc16_15.1, @C [symbolic = %C.lookup_impl_witness (constants.%C.lookup_impl_witness)] +// CHECK:STDOUT: %C.facet: %C.type = facet_value %T.as_type.loc16_23.1, (%C.lookup_impl_witness) [symbolic = %C.facet (constants.%C.facet.124)] +// CHECK:STDOUT: %.loc21_14.3: require_specific_def_type = require_specific_def @T.as_type.as.D.impl(%C.facet) [symbolic = %.loc21_14.3 (constants.%.f88)] +// CHECK:STDOUT: %D.lookup_impl_witness: = lookup_impl_witness %T.loc16_15.1, @D [symbolic = %D.lookup_impl_witness (constants.%D.lookup_impl_witness)] +// CHECK:STDOUT: %D.facet.loc21_14.3: %D.type = facet_value %T.as_type.loc16_23.1, (%D.lookup_impl_witness) [symbolic = %D.facet.loc21_14.3 (constants.%D.facet.5cf)] +// CHECK:STDOUT: %RequiresD.specific_fn.loc21_3.2: = specific_function constants.%RequiresD, @RequiresD(%D.facet.loc21_14.3) [symbolic = %RequiresD.specific_fn.loc21_3.2 (constants.%RequiresD.specific_fn)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: %.loc8_20 as %B.ref { -// CHECK:STDOUT: %B.impl_witness_table = impl_witness_table (), @T.as_type.as.B.impl [concrete] -// CHECK:STDOUT: %B.impl_witness.loc8_27.1: = impl_witness %B.impl_witness_table, @T.as_type.as.B.impl(constants.%T.626) [symbolic = %B.impl_witness.loc8_27.2 (constants.%B.impl_witness)] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: extend %B.ref -// CHECK:STDOUT: witness = %B.impl_witness.loc8_27.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.C.impl(%T.loc9_15.1: %B.type) { -// CHECK:STDOUT: %T.patt.loc9_15.2: %pattern_type.7b5 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc9_15.2 (constants.%T.patt.ca5)] -// CHECK:STDOUT: %T.loc9_15.2: %B.type = symbolic_binding T, 0 [symbolic = %T.loc9_15.2 (constants.%T.ed4)] -// CHECK:STDOUT: %T.as_type.loc9_20.2: type = facet_access_type %T.loc9_15.2 [symbolic = %T.as_type.loc9_20.2 (constants.%T.as_type.4de)] -// CHECK:STDOUT: %C.impl_witness.loc9_27.2: = impl_witness %C.impl_witness_table, @T.as_type.as.C.impl(%T.loc9_15.2) [symbolic = %C.impl_witness.loc9_27.2 (constants.%C.impl_witness.9e3)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: -// CHECK:STDOUT: impl: %.loc9_20 as %C.ref { -// CHECK:STDOUT: %C.impl_witness_table = impl_witness_table (), @T.as_type.as.C.impl [concrete] -// CHECK:STDOUT: %C.impl_witness.loc9_27.1: = impl_witness %C.impl_witness_table, @T.as_type.as.C.impl(constants.%T.ed4) [symbolic = %C.impl_witness.loc9_27.2 (constants.%C.impl_witness.9e3)] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: extend %C.ref -// CHECK:STDOUT: witness = %C.impl_witness.loc9_27.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.D.impl(%T.loc10_15.1: %C.type) { -// CHECK:STDOUT: %T.patt.loc10_15.2: %pattern_type.647 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc10_15.2 (constants.%T.patt.ece)] -// CHECK:STDOUT: %T.loc10_15.2: %C.type = symbolic_binding T, 0 [symbolic = %T.loc10_15.2 (constants.%T.659)] -// CHECK:STDOUT: %T.as_type.loc10_20.2: type = facet_access_type %T.loc10_15.2 [symbolic = %T.as_type.loc10_20.2 (constants.%T.as_type.c69)] -// CHECK:STDOUT: %D.impl_witness.loc10_27.2: = impl_witness %D.impl_witness_table, @T.as_type.as.D.impl(%T.loc10_15.2) [symbolic = %D.impl_witness.loc10_27.2 (constants.%D.impl_witness.8a1)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: -// CHECK:STDOUT: impl: %.loc10_20 as %D.ref { -// CHECK:STDOUT: %D.impl_witness_table = impl_witness_table (), @T.as_type.as.D.impl [concrete] -// CHECK:STDOUT: %D.impl_witness.loc10_27.1: = impl_witness %D.impl_witness_table, @T.as_type.as.D.impl(constants.%T.659) [symbolic = %D.impl_witness.loc10_27.2 (constants.%D.impl_witness.8a1)] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: extend %D.ref -// CHECK:STDOUT: witness = %D.impl_witness.loc10_27.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresB(%T.loc12_15.2: %B.type) { -// CHECK:STDOUT: %T.patt.loc12_15.2: %pattern_type.7b5 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc12_15.2 (constants.%T.patt.ca5)] -// CHECK:STDOUT: %T.loc12_15.1: %B.type = symbolic_binding T, 0 [symbolic = %T.loc12_15.1 (constants.%T.ed4)] -// CHECK:STDOUT: %T.as_type.loc12_30.1: type = facet_access_type %T.loc12_15.1 [symbolic = %T.as_type.loc12_30.1 (constants.%T.as_type.4de)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc12_30.1 [symbolic = %pattern_type (constants.%pattern_type.c89)] -// CHECK:STDOUT: %x.param_patt.loc12_28.2: @RequiresB.%pattern_type (%pattern_type.c89) = value_param_pattern [symbolic = %x.param_patt.loc12_28.2 (constants.%x.param_patt.1d2)] -// CHECK:STDOUT: %x.patt.loc12_28.2: @RequiresB.%pattern_type (%pattern_type.c89) = at_binding_pattern x, %x.param_patt.loc12_28.2 [symbolic = %x.patt.loc12_28.2 (constants.%x.patt.3a5)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc12_30.1 [symbolic = %require_complete (constants.%require_complete.346)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresB.%T.as_type.loc12_30.1 (%T.as_type.4de)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresD(%T.loc13_15.2: %D.type) { -// CHECK:STDOUT: %T.patt.loc13_15.2: %pattern_type.549 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc13_15.2 (constants.%T.patt.604)] -// CHECK:STDOUT: %T.loc13_15.1: %D.type = symbolic_binding T, 0 [symbolic = %T.loc13_15.1 (constants.%T.3dd)] -// CHECK:STDOUT: %T.as_type.loc13_30.1: type = facet_access_type %T.loc13_15.1 [symbolic = %T.as_type.loc13_30.1 (constants.%T.as_type.8cd)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc13_30.1 [symbolic = %pattern_type (constants.%pattern_type.86b)] -// CHECK:STDOUT: %x.param_patt.loc13_28.2: @RequiresD.%pattern_type (%pattern_type.86b) = value_param_pattern [symbolic = %x.param_patt.loc13_28.2 (constants.%x.param_patt.2ab)] -// CHECK:STDOUT: %x.patt.loc13_28.2: @RequiresD.%pattern_type (%pattern_type.86b) = at_binding_pattern x, %x.param_patt.loc13_28.2 [symbolic = %x.patt.loc13_28.2 (constants.%x.patt.a712ca.1)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc13_30.1 [symbolic = %require_complete (constants.%require_complete.904)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresD.%T.as_type.loc13_30.1 (%T.as_type.8cd)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresA(%T.loc15_15.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc15_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc15_15.2 (constants.%T.patt.a4b)] -// CHECK:STDOUT: %T.loc15_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.1 (constants.%T.626)] -// CHECK:STDOUT: %T.as_type.loc15_23.1: type = facet_access_type %T.loc15_15.1 [symbolic = %T.as_type.loc15_23.1 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc15_23.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] -// CHECK:STDOUT: %x.param_patt.loc15_21.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc15_21.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc15_21.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc15_21.2 [symbolic = %x.patt.loc15_21.2 (constants.%x.patt.19b9f1.1)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc15_23.1 [symbolic = %require_complete (constants.%require_complete.94f)] -// CHECK:STDOUT: %.loc16_14.3: require_specific_def_type = require_specific_def @T.as_type.as.B.impl(%T.loc15_15.1) [symbolic = %.loc16_14.3 (constants.%.714)] -// CHECK:STDOUT: %B.lookup_impl_witness: = lookup_impl_witness %T.loc15_15.1, @B [symbolic = %B.lookup_impl_witness (constants.%B.lookup_impl_witness)] -// CHECK:STDOUT: %B.facet.loc16_14.3: %B.type = facet_value %T.as_type.loc15_23.1, (%B.lookup_impl_witness) [symbolic = %B.facet.loc16_14.3 (constants.%B.facet.c85)] -// CHECK:STDOUT: %RequiresB.specific_fn.loc16_3.2: = specific_function constants.%RequiresB, @RequiresB(%B.facet.loc16_14.3) [symbolic = %RequiresB.specific_fn.loc16_3.2 (constants.%RequiresB.specific_fn)] -// CHECK:STDOUT: %impls.loc18 = observe_impls %T.loc15_15.1, constants.%B.type [symbolic = %impls.loc18 (constants.%impls.be1)] -// CHECK:STDOUT: %impls.loc19 = observe_impls %T.loc15_15.1, constants.%C.type [symbolic = %impls.loc19 (constants.%impls.86f)] -// CHECK:STDOUT: %C.lookup_impl_witness: = lookup_impl_witness %T.loc15_15.1, @C [symbolic = %C.lookup_impl_witness (constants.%C.lookup_impl_witness)] -// CHECK:STDOUT: %C.facet: %C.type = facet_value %T.as_type.loc15_23.1, (%C.lookup_impl_witness) [symbolic = %C.facet (constants.%C.facet.124)] -// CHECK:STDOUT: %.loc20_14.3: require_specific_def_type = require_specific_def @T.as_type.as.D.impl(%C.facet) [symbolic = %.loc20_14.3 (constants.%.f88)] -// CHECK:STDOUT: %D.lookup_impl_witness: = lookup_impl_witness %T.loc15_15.1, @D [symbolic = %D.lookup_impl_witness (constants.%D.lookup_impl_witness)] -// CHECK:STDOUT: %D.facet.loc20_14.3: %D.type = facet_value %T.as_type.loc15_23.1, (%D.lookup_impl_witness) [symbolic = %D.facet.loc20_14.3 (constants.%D.facet.5cf)] -// CHECK:STDOUT: %RequiresD.specific_fn.loc20_3.2: = specific_function constants.%RequiresD, @RequiresD(%D.facet.loc20_14.3) [symbolic = %RequiresD.specific_fn.loc20_3.2 (constants.%RequiresD.specific_fn)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc15_23.1 (%T.as_type.3b8)) { +// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc16_23.1 (%T.as_type.3b8)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %RequiresB.ref: %RequiresB.type = name_ref RequiresB, file.%RequiresB.decl [concrete = constants.%RequiresB] -// CHECK:STDOUT: %x.ref.loc16: @RequiresA.%T.as_type.loc15_23.1 (%T.as_type.3b8) = name_ref x, %x -// CHECK:STDOUT: %B.facet.loc16_14.1: %B.type = facet_value constants.%T.as_type.3b8, (constants.%B.lookup_impl_witness) [symbolic = %B.facet.loc16_14.3 (constants.%B.facet.c85)] -// CHECK:STDOUT: %.loc16_14.1: %B.type = converted constants.%T.as_type.3b8, %B.facet.loc16_14.1 [symbolic = %B.facet.loc16_14.3 (constants.%B.facet.c85)] -// CHECK:STDOUT: %B.facet.loc16_14.2: %B.type = facet_value constants.%T.as_type.3b8, (constants.%B.lookup_impl_witness) [symbolic = %B.facet.loc16_14.3 (constants.%B.facet.c85)] -// CHECK:STDOUT: %.loc16_14.2: %B.type = converted constants.%T.as_type.3b8, %B.facet.loc16_14.2 [symbolic = %B.facet.loc16_14.3 (constants.%B.facet.c85)] -// CHECK:STDOUT: %RequiresB.specific_fn.loc16_3.1: = specific_function %RequiresB.ref, @RequiresB(constants.%B.facet.c85) [symbolic = %RequiresB.specific_fn.loc16_3.2 (constants.%RequiresB.specific_fn)] -// CHECK:STDOUT: %RequiresB.call: init %empty_tuple.type = call %RequiresB.specific_fn.loc16_3.1(%x.ref.loc16) -// CHECK:STDOUT: %T.ref.loc18: %A.type = name_ref T, %T.loc15_15.2 [symbolic = %T.loc15_15.1 (constants.%T.626)] +// CHECK:STDOUT: %x.ref.loc17: @RequiresA.%T.as_type.loc16_23.1 (%T.as_type.3b8) = name_ref x, %x +// CHECK:STDOUT: %B.facet.loc17_14.1: %B.type = facet_value constants.%T.as_type.3b8, (constants.%B.lookup_impl_witness) [symbolic = %B.facet.loc17_14.3 (constants.%B.facet.c85)] +// CHECK:STDOUT: %.loc17_14.1: %B.type = converted constants.%T.as_type.3b8, %B.facet.loc17_14.1 [symbolic = %B.facet.loc17_14.3 (constants.%B.facet.c85)] +// CHECK:STDOUT: %B.facet.loc17_14.2: %B.type = facet_value constants.%T.as_type.3b8, (constants.%B.lookup_impl_witness) [symbolic = %B.facet.loc17_14.3 (constants.%B.facet.c85)] +// CHECK:STDOUT: %.loc17_14.2: %B.type = converted constants.%T.as_type.3b8, %B.facet.loc17_14.2 [symbolic = %B.facet.loc17_14.3 (constants.%B.facet.c85)] +// CHECK:STDOUT: %RequiresB.specific_fn.loc17_3.1: = specific_function %RequiresB.ref, @RequiresB(constants.%B.facet.c85) [symbolic = %RequiresB.specific_fn.loc17_3.2 (constants.%RequiresB.specific_fn)] +// CHECK:STDOUT: %RequiresB.call: init %empty_tuple.type = call %RequiresB.specific_fn.loc17_3.1(%x.ref.loc17) +// CHECK:STDOUT: %T.ref.loc19: %A.type = name_ref T, %T.loc16_15.2 [symbolic = %T.loc16_15.1 (constants.%T.626)] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %T.as_type.loc18: type = facet_access_type %T.ref.loc18 [symbolic = %T.as_type.loc15_23.1 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %.loc18: type = converted %T.ref.loc18, %T.as_type.loc18 [symbolic = %T.as_type.loc15_23.1 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %RequiresA.observe.decl.loc18 = observe_decl @RequiresA.observe.loc18 [concrete] -// CHECK:STDOUT: %T.ref.loc19: %A.type = name_ref T, %T.loc15_15.2 [symbolic = %T.loc15_15.1 (constants.%T.626)] -// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C.type] -// CHECK:STDOUT: %T.as_type.loc19: type = facet_access_type %T.ref.loc19 [symbolic = %T.as_type.loc15_23.1 (constants.%T.as_type.3b8)] -// CHECK:STDOUT: %.loc19: type = converted %T.ref.loc19, %T.as_type.loc19 [symbolic = %T.as_type.loc15_23.1 (constants.%T.as_type.3b8)] +// CHECK:STDOUT: %T.as_type.loc19: type = facet_access_type %T.ref.loc19 [symbolic = %T.as_type.loc16_23.1 (constants.%T.as_type.3b8)] +// CHECK:STDOUT: %.loc19: type = converted %T.ref.loc19, %T.as_type.loc19 [symbolic = %T.as_type.loc16_23.1 (constants.%T.as_type.3b8)] // CHECK:STDOUT: %RequiresA.observe.decl.loc19 = observe_decl @RequiresA.observe.loc19 [concrete] +// CHECK:STDOUT: %T.ref.loc20: %A.type = name_ref T, %T.loc16_15.2 [symbolic = %T.loc16_15.1 (constants.%T.626)] +// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C.type] +// CHECK:STDOUT: %T.as_type.loc20: type = facet_access_type %T.ref.loc20 [symbolic = %T.as_type.loc16_23.1 (constants.%T.as_type.3b8)] +// CHECK:STDOUT: %.loc20: type = converted %T.ref.loc20, %T.as_type.loc20 [symbolic = %T.as_type.loc16_23.1 (constants.%T.as_type.3b8)] +// CHECK:STDOUT: %RequiresA.observe.decl.loc20 = observe_decl @RequiresA.observe.loc20 [concrete] // CHECK:STDOUT: %RequiresD.ref: %RequiresD.type = name_ref RequiresD, file.%RequiresD.decl [concrete = constants.%RequiresD] -// CHECK:STDOUT: %x.ref.loc20: @RequiresA.%T.as_type.loc15_23.1 (%T.as_type.3b8) = name_ref x, %x -// CHECK:STDOUT: %D.facet.loc20_14.1: %D.type = facet_value constants.%T.as_type.3b8, (constants.%D.lookup_impl_witness) [symbolic = %D.facet.loc20_14.3 (constants.%D.facet.5cf)] -// CHECK:STDOUT: %.loc20_14.1: %D.type = converted constants.%T.as_type.3b8, %D.facet.loc20_14.1 [symbolic = %D.facet.loc20_14.3 (constants.%D.facet.5cf)] -// CHECK:STDOUT: %D.facet.loc20_14.2: %D.type = facet_value constants.%T.as_type.3b8, (constants.%D.lookup_impl_witness) [symbolic = %D.facet.loc20_14.3 (constants.%D.facet.5cf)] -// CHECK:STDOUT: %.loc20_14.2: %D.type = converted constants.%T.as_type.3b8, %D.facet.loc20_14.2 [symbolic = %D.facet.loc20_14.3 (constants.%D.facet.5cf)] -// CHECK:STDOUT: %RequiresD.specific_fn.loc20_3.1: = specific_function %RequiresD.ref, @RequiresD(constants.%D.facet.5cf) [symbolic = %RequiresD.specific_fn.loc20_3.2 (constants.%RequiresD.specific_fn)] -// CHECK:STDOUT: %RequiresD.call: init %empty_tuple.type = call %RequiresD.specific_fn.loc20_3.1(%x.ref.loc20) +// CHECK:STDOUT: %x.ref.loc21: @RequiresA.%T.as_type.loc16_23.1 (%T.as_type.3b8) = name_ref x, %x +// CHECK:STDOUT: %D.facet.loc21_14.1: %D.type = facet_value constants.%T.as_type.3b8, (constants.%D.lookup_impl_witness) [symbolic = %D.facet.loc21_14.3 (constants.%D.facet.5cf)] +// CHECK:STDOUT: %.loc21_14.1: %D.type = converted constants.%T.as_type.3b8, %D.facet.loc21_14.1 [symbolic = %D.facet.loc21_14.3 (constants.%D.facet.5cf)] +// CHECK:STDOUT: %D.facet.loc21_14.2: %D.type = facet_value constants.%T.as_type.3b8, (constants.%D.lookup_impl_witness) [symbolic = %D.facet.loc21_14.3 (constants.%D.facet.5cf)] +// CHECK:STDOUT: %.loc21_14.2: %D.type = converted constants.%T.as_type.3b8, %D.facet.loc21_14.2 [symbolic = %D.facet.loc21_14.3 (constants.%D.facet.5cf)] +// CHECK:STDOUT: %RequiresD.specific_fn.loc21_3.1: = specific_function %RequiresD.ref, @RequiresD(constants.%D.facet.5cf) [symbolic = %RequiresD.specific_fn.loc21_3.2 (constants.%RequiresD.specific_fn)] +// CHECK:STDOUT: %RequiresD.call: init %empty_tuple.type = call %RequiresD.specific_fn.loc21_3.1(%x.ref.loc21) // CHECK:STDOUT: return // CHECK:STDOUT: // CHECK:STDOUT: !observes: -// CHECK:STDOUT: @RequiresA.observe.loc18 { +// CHECK:STDOUT: @RequiresA.observe.loc19 { // CHECK:STDOUT: observe constants.%T.626 impls constants.%B.type // CHECK:STDOUT: } -// CHECK:STDOUT: @RequiresA.observe.loc19 { +// CHECK:STDOUT: @RequiresA.observe.loc20 { // CHECK:STDOUT: observe constants.%T.626 impls constants.%C.type // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @C.WithSelf(constants.%Self.62a) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @D.WithSelf(constants.%Self.e2d) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.B.impl(constants.%T.626) { -// CHECK:STDOUT: %T.patt.loc8_15.2 => constants.%T.patt.a4b -// CHECK:STDOUT: %T.loc8_15.2 => constants.%T.626 -// CHECK:STDOUT: %T.as_type.loc8_20.2 => constants.%T.as_type.3b8 -// CHECK:STDOUT: %B.impl_witness.loc8_27.2 => constants.%B.impl_witness -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%B.facet.c04) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.C.impl(constants.%T.ed4) { -// CHECK:STDOUT: %T.patt.loc9_15.2 => constants.%T.patt.ca5 -// CHECK:STDOUT: %T.loc9_15.2 => constants.%T.ed4 -// CHECK:STDOUT: %T.as_type.loc9_20.2 => constants.%T.as_type.4de -// CHECK:STDOUT: %C.impl_witness.loc9_27.2 => constants.%C.impl_witness.9e3 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @C.WithSelf(constants.%C.facet.355) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.D.impl(constants.%T.659) { -// CHECK:STDOUT: %T.patt.loc10_15.2 => constants.%T.patt.ece -// CHECK:STDOUT: %T.loc10_15.2 => constants.%T.659 -// CHECK:STDOUT: %T.as_type.loc10_20.2 => constants.%T.as_type.c69 -// CHECK:STDOUT: %D.impl_witness.loc10_27.2 => constants.%D.impl_witness.8a1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @D.WithSelf(constants.%D.facet.3d0) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresB(constants.%T.ed4) { -// CHECK:STDOUT: %T.patt.loc12_15.2 => constants.%T.patt.ca5 -// CHECK:STDOUT: %T.loc12_15.1 => constants.%T.ed4 -// CHECK:STDOUT: %T.as_type.loc12_30.1 => constants.%T.as_type.4de -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c89 -// CHECK:STDOUT: %x.param_patt.loc12_28.2 => constants.%x.param_patt.1d2 -// CHECK:STDOUT: %x.patt.loc12_28.2 => constants.%x.patt.3a5 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresD(constants.%T.3dd) { -// CHECK:STDOUT: %T.patt.loc13_15.2 => constants.%T.patt.604 -// CHECK:STDOUT: %T.loc13_15.1 => constants.%T.3dd -// CHECK:STDOUT: %T.as_type.loc13_30.1 => constants.%T.as_type.8cd -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.86b -// CHECK:STDOUT: %x.param_patt.loc13_28.2 => constants.%x.param_patt.2ab -// CHECK:STDOUT: %x.patt.loc13_28.2 => constants.%x.patt.a712ca.2 -// CHECK:STDOUT: } -// CHECK:STDOUT: // CHECK:STDOUT: specific @RequiresA(constants.%T.626) { -// CHECK:STDOUT: %T.patt.loc15_15.2 => constants.%T.patt.a4b -// CHECK:STDOUT: %T.loc15_15.1 => constants.%T.626 -// CHECK:STDOUT: %T.as_type.loc15_23.1 => constants.%T.as_type.3b8 +// CHECK:STDOUT: %T.patt.loc16_15.2 => constants.%T.patt.a4b +// CHECK:STDOUT: %T.loc16_15.1 => constants.%T.626 +// CHECK:STDOUT: %T.as_type.loc16_23.1 => constants.%T.as_type.3b8 // CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc15_21.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc15_21.2 => constants.%x.patt.19b9f1.1 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresB(constants.%B.facet.c85) { -// CHECK:STDOUT: %T.patt.loc12_15.2 => constants.%T.patt.ca5 -// CHECK:STDOUT: %T.loc12_15.1 => constants.%B.facet.c85 -// CHECK:STDOUT: %T.as_type.loc12_30.1 => constants.%T.as_type.3b8 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc12_28.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc12_28.2 => constants.%x.patt.19b9f1.2 -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.94f -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.C.impl(constants.%B.facet.c85) { -// CHECK:STDOUT: %T.patt.loc9_15.2 => constants.%T.patt.ca5 -// CHECK:STDOUT: %T.loc9_15.2 => constants.%B.facet.c85 -// CHECK:STDOUT: %T.as_type.loc9_20.2 => constants.%T.as_type.3b8 -// CHECK:STDOUT: %C.impl_witness.loc9_27.2 => constants.%C.impl_witness.f05 -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.D.impl(constants.%C.facet.124) { -// CHECK:STDOUT: %T.patt.loc10_15.2 => constants.%T.patt.ece -// CHECK:STDOUT: %T.loc10_15.2 => constants.%C.facet.124 -// CHECK:STDOUT: %T.as_type.loc10_20.2 => constants.%T.as_type.3b8 -// CHECK:STDOUT: %D.impl_witness.loc10_27.2 => constants.%D.impl_witness.049 -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresD(constants.%D.facet.5cf) { -// CHECK:STDOUT: %T.patt.loc13_15.2 => constants.%T.patt.604 -// CHECK:STDOUT: %T.loc13_15.1 => constants.%D.facet.5cf -// CHECK:STDOUT: %T.as_type.loc13_30.1 => constants.%T.as_type.3b8 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc13_28.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc13_28.2 => constants.%x.patt.19b9f1.2 -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.94f +// CHECK:STDOUT: %x.param_patt.loc16_21.2 => constants.%x.param_patt.241 +// CHECK:STDOUT: %x.patt.loc16_21.2 => constants.%x.patt.19b9f1.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_nested_functions_in_outer.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.frozen.197: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.029: type = pattern_type %A.type [concrete] @@ -4149,149 +761,104 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: %require_complete.963: = require_complete_type %U.as_type [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .RequiresA = %RequiresA.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} // CHECK:STDOUT: %RequiresA.decl: %RequiresA.type = fn_decl @RequiresA [concrete = constants.%RequiresA] { -// CHECK:STDOUT: %T.patt.loc6_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %x.param_patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.1 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] +// CHECK:STDOUT: %T.patt.loc7_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_15.2 (constants.%T.patt)] +// CHECK:STDOUT: %x.param_patt.loc7_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc7_28.2 (constants.%x.param_patt.241)] +// CHECK:STDOUT: %x.patt.loc7_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc7_28.1 [symbolic = %x.patt.loc7_28.2 (constants.%x.patt.19b)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_17: type = splice_block %A.ref [concrete = constants.%A.type] { +// CHECK:STDOUT: %.loc7_17: type = splice_block %A.ref [concrete = constants.%A.type] { // CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc6_30.1: type = splice_block %.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc6_15.2 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_30.2: type = converted %T.ref, %T.as_type.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] +// CHECK:STDOUT: %T.loc7_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_15.1 (constants.%T)] +// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc7_30.1 (%T.as_type) = value_param call_param0 +// CHECK:STDOUT: %.loc7_30.1: type = splice_block %.loc7_30.2 [symbolic = %T.as_type.loc7_30.1 (constants.%T.as_type)] { +// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc7_15.2 [symbolic = %T.loc7_15.1 (constants.%T)] +// CHECK:STDOUT: %T.as_type.loc7_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc7_30.1 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc7_30.2: type = converted %T.ref, %T.as_type.loc7_30.2 [symbolic = %T.as_type.loc7_30.1 (constants.%T.as_type)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = wrapper_binding x, %x.param +// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc7_30.1 (%T.as_type) = wrapper_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc7_7.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %U.patt.loc7_13.1: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] +// CHECK:STDOUT: %T.patt.loc8_7.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_7.2 (constants.%T.patt)] +// CHECK:STDOUT: %U.patt.loc8_13.1: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc8_13.2 (constants.%U.patt)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc7_9: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] +// CHECK:STDOUT: %.loc8_9: type = splice_block %A.ref [concrete = constants.%A.type] { +// CHECK:STDOUT: %.Self.frozen.loc8_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc7_7.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc7_17.1: type = splice_block %.loc7_17.2 [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] +// CHECK:STDOUT: %T.loc8_7.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T)] +// CHECK:STDOUT: %.loc8_17.1: type = splice_block %.loc8_17.2 [concrete = constants.%B_where.type] { +// CHECK:STDOUT: %.Self.frozen.loc8_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %.Self.frozen.loc7_17: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.f7e] +// CHECK:STDOUT: %.Self.frozen.loc8_17: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.f7e] // CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref [concrete] -// CHECK:STDOUT: %.Self.ref.loc7_23.1: %B.type = name_ref .Self, %.Self.frozen.loc7_17 [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %T.ref.loc7: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %equiv.loc7_29.1 = requirement_equivalent %.Self.ref.loc7_23.1, %T.ref.loc7 [concrete] +// CHECK:STDOUT: %.Self.ref.loc8_23.1: %B.type = name_ref .Self, %.Self.frozen.loc8_17 [symbolic_self = constants.%.Self.frozen.f7e] +// CHECK:STDOUT: %T.ref.loc8: %A.type = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T)] +// CHECK:STDOUT: %equiv.loc8_29.1 = requirement_equivalent %.Self.ref.loc8_23.1, %T.ref.loc8 [concrete] // CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %.Self.ref.loc7_23.2: %B.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref.loc7 [concrete] -// CHECK:STDOUT: %.loc7_17.2: type = where_expr [concrete = constants.%B_where.type] { +// CHECK:STDOUT: %.Self.ref.loc8_23.2: %B.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] +// CHECK:STDOUT: %equiv.loc8_29.2 = requirement_equivalent %.Self.ref.loc8_23.2, %T.ref.loc8 [concrete] +// CHECK:STDOUT: %.loc8_17.2: type = where_expr [concrete = constants.%B_where.type] { // CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref [concrete] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref.loc7 [concrete] +// CHECK:STDOUT: %equiv.loc8_29.2 = requirement_equivalent %.Self.ref.loc8_23.2, %T.ref.loc8 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc7_13.2: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] +// CHECK:STDOUT: %U.loc8_13.2: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc8_13.1 (constants.%U)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresA(%T.loc6_15.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc6_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.1: type = facet_access_type %T.loc6_15.1 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_30.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] -// CHECK:STDOUT: %x.param_patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.2 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] +// CHECK:STDOUT: generic fn @RequiresA(%T.loc7_15.2: %A.type) { +// CHECK:STDOUT: %T.patt.loc7_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_15.2 (constants.%T.patt)] +// CHECK:STDOUT: %T.loc7_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_15.1 (constants.%T)] +// CHECK:STDOUT: %T.as_type.loc7_30.1: type = facet_access_type %T.loc7_15.1 [symbolic = %T.as_type.loc7_30.1 (constants.%T.as_type)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc7_30.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] +// CHECK:STDOUT: %x.param_patt.loc7_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc7_28.2 (constants.%x.param_patt.241)] +// CHECK:STDOUT: %x.patt.loc7_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc7_28.2 [symbolic = %x.patt.loc7_28.2 (constants.%x.patt.19b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_30.1 [symbolic = %require_complete (constants.%require_complete.94f)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc7_30.1 [symbolic = %require_complete (constants.%require_complete.94f)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type)) { +// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc7_30.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc7_7.2: %A.type, %U.loc7_13.2: %B_where.type) { -// CHECK:STDOUT: %T.patt.loc7_7.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc7_7.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.patt.loc7_13.2: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc7_13.1: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] +// CHECK:STDOUT: generic fn @F(%T.loc8_7.2: %A.type, %U.loc8_13.2: %B_where.type) { +// CHECK:STDOUT: %T.patt.loc8_7.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_7.2 (constants.%T.patt)] +// CHECK:STDOUT: %T.loc8_7.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T)] +// CHECK:STDOUT: %U.patt.loc8_13.2: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc8_13.2 (constants.%U.patt)] +// CHECK:STDOUT: %U.loc8_13.1: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc8_13.1 (constants.%U)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %U.as_type.loc8_16.2: type = facet_access_type %U.loc7_13.1 [symbolic = %U.as_type.loc8_16.2 (constants.%U.as_type)] -// CHECK:STDOUT: %T.as_type.loc8_11.2: type = facet_access_type %T.loc7_7.1 [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %eq = observe_equivalent %T.loc7_7.1, %U.loc7_13.1 [symbolic = %eq (constants.%eq)] -// CHECK:STDOUT: %InnerF.type: type = fn_type @InnerF, @F(%T.loc7_7.1, %U.loc7_13.1) [symbolic = %InnerF.type (constants.%InnerF.type)] +// CHECK:STDOUT: %U.as_type.loc9_16.2: type = facet_access_type %U.loc8_13.1 [symbolic = %U.as_type.loc9_16.2 (constants.%U.as_type)] +// CHECK:STDOUT: %T.as_type.loc9_11.2: type = facet_access_type %T.loc8_7.1 [symbolic = %T.as_type.loc9_11.2 (constants.%T.as_type)] +// CHECK:STDOUT: %eq = observe_equivalent %T.loc8_7.1, %U.loc8_13.1 [symbolic = %eq (constants.%eq)] +// CHECK:STDOUT: %InnerF.type: type = fn_type @InnerF, @F(%T.loc8_7.1, %U.loc8_13.1) [symbolic = %InnerF.type (constants.%InnerF.type)] // CHECK:STDOUT: %InnerF: @F.%InnerF.type (%InnerF.type) = struct_value () [symbolic = %InnerF (constants.%InnerF)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref.loc8: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.ref: %B_where.type = name_ref U, %U.loc7_13.2 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc8_16.1: type = facet_access_type %U.ref [symbolic = %U.as_type.loc8_16.2 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc8_16: type = converted %U.ref, %U.as_type.loc8_16.1 [symbolic = %U.as_type.loc8_16.2 (constants.%U.as_type)] -// CHECK:STDOUT: %T.as_type.loc8_11.1: type = facet_access_type %T.ref.loc8 [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc8_11: type = converted %T.ref.loc8, %T.as_type.loc8_11.1 [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] +// CHECK:STDOUT: %T.ref.loc9: %A.type = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T)] +// CHECK:STDOUT: %U.ref: %B_where.type = name_ref U, %U.loc8_13.2 [symbolic = %U.loc8_13.1 (constants.%U)] +// CHECK:STDOUT: %U.as_type.loc9_16.1: type = facet_access_type %U.ref [symbolic = %U.as_type.loc9_16.2 (constants.%U.as_type)] +// CHECK:STDOUT: %.loc9_16: type = converted %U.ref, %U.as_type.loc9_16.1 [symbolic = %U.as_type.loc9_16.2 (constants.%U.as_type)] +// CHECK:STDOUT: %T.as_type.loc9_11.1: type = facet_access_type %T.ref.loc9 [symbolic = %T.as_type.loc9_11.2 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc9_11: type = converted %T.ref.loc9, %T.as_type.loc9_11.1 [symbolic = %T.as_type.loc9_11.2 (constants.%T.as_type)] // CHECK:STDOUT: %F.observe.decl = observe_decl @F.observe [concrete] // CHECK:STDOUT: %InnerF.decl: @F.%InnerF.type (%InnerF.type) = fn_decl @InnerF [symbolic = @F.%InnerF (constants.%InnerF)] { -// CHECK:STDOUT: %x.param_patt.loc10_14.1: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc10_14.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc10_14.1: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc10_14.1 [symbolic = %x.patt.loc10_14.2 (constants.%x.patt.cdb)] +// CHECK:STDOUT: %x.param_patt.loc11_14.1: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc11_14.2 (constants.%x.param_patt.fbe)] +// CHECK:STDOUT: %x.patt.loc11_14.1: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc11_14.1 [symbolic = %x.patt.loc11_14.2 (constants.%x.patt.cdb)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: @InnerF.%U.as_type.loc10_16.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc10_16.1: type = splice_block %.loc10_16.2 [symbolic = %U.as_type.loc10_16.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref: %B_where.type = name_ref U, @F.%U.loc7_13.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc10_16.2: type = facet_access_type %U.ref [symbolic = %U.as_type.loc10_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc10_16.2: type = converted %U.ref, %U.as_type.loc10_16.2 [symbolic = %U.as_type.loc10_16.1 (constants.%U.as_type)] +// CHECK:STDOUT: %x.param: @InnerF.%U.as_type.loc11_16.1 (%U.as_type) = value_param call_param0 +// CHECK:STDOUT: %.loc11_16.1: type = splice_block %.loc11_16.2 [symbolic = %U.as_type.loc11_16.1 (constants.%U.as_type)] { +// CHECK:STDOUT: %U.ref: %B_where.type = name_ref U, @F.%U.loc8_13.2 [symbolic = %U (constants.%U)] +// CHECK:STDOUT: %U.as_type.loc11_16.2: type = facet_access_type %U.ref [symbolic = %U.as_type.loc11_16.1 (constants.%U.as_type)] +// CHECK:STDOUT: %.loc11_16.2: type = converted %U.ref, %U.as_type.loc11_16.2 [symbolic = %U.as_type.loc11_16.1 (constants.%U.as_type)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @InnerF.%U.as_type.loc10_16.1 (%U.as_type) = wrapper_binding x, %x.param +// CHECK:STDOUT: %x: @InnerF.%U.as_type.loc11_16.1 (%U.as_type) = wrapper_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: return // CHECK:STDOUT: @@ -4302,1504 +869,53 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @InnerF(@F.%T.loc7_7.2: %A.type, @F.%U.loc7_13.2: %B_where.type) { +// CHECK:STDOUT: generic fn @InnerF(@F.%T.loc8_7.2: %A.type, @F.%U.loc8_13.2: %B_where.type) { // CHECK:STDOUT: %U: %B_where.type = symbolic_binding U, 1 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc10_16.1: type = facet_access_type %U [symbolic = %U.as_type.loc10_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc10_16.1 [symbolic = %pattern_type (constants.%pattern_type.d51)] -// CHECK:STDOUT: %x.param_patt.loc10_14.2: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc10_14.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc10_14.2: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc10_14.2 [symbolic = %x.patt.loc10_14.2 (constants.%x.patt.cdb)] +// CHECK:STDOUT: %U.as_type.loc11_16.1: type = facet_access_type %U [symbolic = %U.as_type.loc11_16.1 (constants.%U.as_type)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc11_16.1 [symbolic = %pattern_type (constants.%pattern_type.d51)] +// CHECK:STDOUT: %x.param_patt.loc11_14.2: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc11_14.2 (constants.%x.param_patt.fbe)] +// CHECK:STDOUT: %x.patt.loc11_14.2: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc11_14.2 [symbolic = %x.patt.loc11_14.2 (constants.%x.patt.cdb)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc10_16.1 [symbolic = %require_complete (constants.%require_complete.963)] +// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc11_16.1 [symbolic = %require_complete (constants.%require_complete.963)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @InnerF.%U.as_type.loc10_16.1 (%U.as_type)) { +// CHECK:STDOUT: fn(%x.param: @InnerF.%U.as_type.loc11_16.1 (%U.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %RequiresA.ref: %RequiresA.type = name_ref RequiresA, file.%RequiresA.decl [concrete = constants.%RequiresA] -// CHECK:STDOUT: %x.ref: @InnerF.%U.as_type.loc10_16.1 (%U.as_type) = name_ref x, %x +// CHECK:STDOUT: %x.ref: @InnerF.%U.as_type.loc11_16.1 (%U.as_type) = name_ref x, %x // CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete = constants.%B.type] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: // CHECK:STDOUT: specific @RequiresA(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_15.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_15.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc6_30.1 => constants.%T.as_type +// CHECK:STDOUT: %T.patt.loc7_15.2 => constants.%T.patt +// CHECK:STDOUT: %T.loc7_15.1 => constants.%T +// CHECK:STDOUT: %T.as_type.loc7_30.1 => constants.%T.as_type // CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc6_28.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc6_28.2 => constants.%x.patt.19b +// CHECK:STDOUT: %x.param_patt.loc7_28.2 => constants.%x.param_patt.241 +// CHECK:STDOUT: %x.patt.loc7_28.2 => constants.%x.patt.19b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T, constants.%U) { -// CHECK:STDOUT: %T.patt.loc7_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc7_7.1 => constants.%T -// CHECK:STDOUT: %U.patt.loc7_13.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc7_13.1 => constants.%U +// CHECK:STDOUT: %T.patt.loc8_7.2 => constants.%T.patt +// CHECK:STDOUT: %T.loc8_7.1 => constants.%T +// CHECK:STDOUT: %U.patt.loc8_13.2 => constants.%U.patt +// CHECK:STDOUT: %U.loc8_13.1 => constants.%U // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @InnerF(constants.%T, constants.%U) { // CHECK:STDOUT: %U => constants.%U -// CHECK:STDOUT: %U.as_type.loc10_16.1 => constants.%U.as_type +// CHECK:STDOUT: %U.as_type.loc11_16.1 => constants.%U.as_type // CHECK:STDOUT: %pattern_type => constants.%pattern_type.d51 -// CHECK:STDOUT: %x.param_patt.loc10_14.2 => constants.%x.param_patt.fbe -// CHECK:STDOUT: %x.patt.loc10_14.2 => constants.%x.patt.cdb -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_todo_nested_functions_in_inner.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen.197: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.029: type = pattern_type %A.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.a0e: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.241: %pattern_type.a0e = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.19b: %pattern_type.a0e = at_binding_pattern x, %x.param_patt.241 [symbolic] -// CHECK:STDOUT: %RequiresA.type: type = fn_type @RequiresA [concrete] -// CHECK:STDOUT: %RequiresA: %RequiresA.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.94f: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %.Self.frozen.f7e: %B.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %B_where.type: type = facet_type <@B where TODO> [concrete] -// CHECK:STDOUT: %pattern_type.831: type = pattern_type %B_where.type [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic] -// CHECK:STDOUT: %U: %B_where.type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.d51: type = pattern_type %U.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.fbe: %pattern_type.d51 = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.cdb: %pattern_type.d51 = at_binding_pattern x, %x.param_patt.fbe [symbolic] -// CHECK:STDOUT: %InnerF.type: type = fn_type @InnerF, @F(%T, %U) [symbolic] -// CHECK:STDOUT: %InnerF: %InnerF.type = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.963: = require_complete_type %U.as_type [symbolic] -// CHECK:STDOUT: %eq = observe_equivalent %T, %U [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .RequiresA = %RequiresA.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} -// CHECK:STDOUT: %RequiresA.decl: %RequiresA.type = fn_decl @RequiresA [concrete = constants.%RequiresA] { -// CHECK:STDOUT: %T.patt.loc6_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %x.param_patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.1 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_17: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc6_30.1: type = splice_block %.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc6_15.2 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_30.2: type = converted %T.ref, %T.as_type.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc7_7.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %U.patt.loc7_13.1: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc7_9: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc7_7.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc7_17.1: type = splice_block %.loc7_17.2 [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %.Self.frozen.loc7_17: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref [concrete] -// CHECK:STDOUT: %.Self.ref.loc7_23.1: %B.type = name_ref .Self, %.Self.frozen.loc7_17 [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %equiv.loc7_29.1 = requirement_equivalent %.Self.ref.loc7_23.1, %T.ref [concrete] -// CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %.Self.ref.loc7_23.2: %B.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref [concrete] -// CHECK:STDOUT: %.loc7_17.2: type = where_expr [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref [concrete] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref [concrete] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc7_13.2: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresA(%T.loc6_15.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc6_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.1: type = facet_access_type %T.loc6_15.1 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_30.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] -// CHECK:STDOUT: %x.param_patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.2 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_30.1 [symbolic = %require_complete (constants.%require_complete.94f)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc7_7.2: %A.type, %U.loc7_13.2: %B_where.type) { -// CHECK:STDOUT: %T.patt.loc7_7.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc7_7.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.patt.loc7_13.2: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc7_13.1: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %InnerF.type: type = fn_type @InnerF, @F(%T.loc7_7.1, %U.loc7_13.1) [symbolic = %InnerF.type (constants.%InnerF.type)] -// CHECK:STDOUT: %InnerF: @F.%InnerF.type (%InnerF.type) = struct_value () [symbolic = %InnerF (constants.%InnerF)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn() { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %InnerF.decl: @F.%InnerF.type (%InnerF.type) = fn_decl @InnerF [symbolic = @F.%InnerF (constants.%InnerF)] { -// CHECK:STDOUT: %x.param_patt.loc9_14.1: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc9_14.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc9_14.1: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc9_14.1 [symbolic = %x.patt.loc9_14.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: @InnerF.%U.as_type.loc9_16.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc9_16.1: type = splice_block %.loc9_16.2 [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref.loc9: %B_where.type = name_ref U, @F.%U.loc7_13.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc9_16.2: type = facet_access_type %U.ref.loc9 [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc9_16.2: type = converted %U.ref.loc9, %U.as_type.loc9_16.2 [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @InnerF.%U.as_type.loc9_16.1 (%U.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @InnerF(@F.%T.loc7_7.2: %A.type, @F.%U.loc7_13.2: %B_where.type) { -// CHECK:STDOUT: %U: %B_where.type = symbolic_binding U, 1 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc9_16.1: type = facet_access_type %U [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc9_16.1 [symbolic = %pattern_type (constants.%pattern_type.d51)] -// CHECK:STDOUT: %x.param_patt.loc9_14.2: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc9_14.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc9_14.2: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc9_14.2 [symbolic = %x.patt.loc9_14.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc9_16.1 [symbolic = %require_complete (constants.%require_complete.963)] -// CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc10_13.2: type = facet_access_type %T [symbolic = %T.as_type.loc10_13.2 (constants.%T.as_type)] -// CHECK:STDOUT: %eq = observe_equivalent %T, %U [symbolic = %eq (constants.%eq)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @InnerF.%U.as_type.loc9_16.1 (%U.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, @F.%T.loc7_7.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %U.ref.loc10: %B_where.type = name_ref U, @F.%U.loc7_13.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc10: type = facet_access_type %U.ref.loc10 [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc10_18: type = converted %U.ref.loc10, %U.as_type.loc10 [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %T.as_type.loc10_13.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc10_13.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc10_13: type = converted %T.ref, %T.as_type.loc10_13.1 [symbolic = %T.as_type.loc10_13.2 (constants.%T.as_type)] -// CHECK:STDOUT: %InnerF.observe.decl = observe_decl @InnerF.observe [concrete] -// CHECK:STDOUT: %RequiresA.ref: %RequiresA.type = name_ref RequiresA, file.%RequiresA.decl [concrete = constants.%RequiresA] -// CHECK:STDOUT: %x.ref: @InnerF.%U.as_type.loc9_16.1 (%U.as_type) = name_ref x, %x -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete = constants.%B.type] -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @InnerF.observe { -// CHECK:STDOUT: observe constants.%T == constants.%U -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresA(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_15.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_15.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc6_30.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc6_28.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc6_28.2 => constants.%x.patt.19b -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T, constants.%U) { -// CHECK:STDOUT: %T.patt.loc7_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc7_7.1 => constants.%T -// CHECK:STDOUT: %U.patt.loc7_13.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc7_13.1 => constants.%U -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @InnerF(constants.%T, constants.%U) { -// CHECK:STDOUT: %U => constants.%U -// CHECK:STDOUT: %U.as_type.loc9_16.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d51 -// CHECK:STDOUT: %x.param_patt.loc9_14.2 => constants.%x.param_patt.fbe -// CHECK:STDOUT: %x.patt.loc9_14.2 => constants.%x.patt.cdb -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_nested_functions_lexical_order.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen.197: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.029: type = pattern_type %A.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.a0e: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.241: %pattern_type.a0e = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.19b: %pattern_type.a0e = at_binding_pattern x, %x.param_patt.241 [symbolic] -// CHECK:STDOUT: %RequiresA.type: type = fn_type @RequiresA [concrete] -// CHECK:STDOUT: %RequiresA: %RequiresA.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.94f: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %.Self.frozen.f7e: %B.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %B_where.type: type = facet_type <@B where TODO> [concrete] -// CHECK:STDOUT: %pattern_type.831: type = pattern_type %B_where.type [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic] -// CHECK:STDOUT: %U: %B_where.type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.d51: type = pattern_type %U.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.fbe: %pattern_type.d51 = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.cdb: %pattern_type.d51 = at_binding_pattern x, %x.param_patt.fbe [symbolic] -// CHECK:STDOUT: %InnerF.type: type = fn_type @InnerF, @F(%T, %U) [symbolic] -// CHECK:STDOUT: %InnerF: %InnerF.type = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.963: = require_complete_type %U.as_type [symbolic] -// CHECK:STDOUT: %eq = observe_equivalent %T, %U [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .RequiresA = %RequiresA.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} -// CHECK:STDOUT: %RequiresA.decl: %RequiresA.type = fn_decl @RequiresA [concrete = constants.%RequiresA] { -// CHECK:STDOUT: %T.patt.loc6_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %x.param_patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.1 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_17: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc6_30.1: type = splice_block %.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc6_15.2 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_30.2: type = converted %T.ref, %T.as_type.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc7_7.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %U.patt.loc7_13.1: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc7_9: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc7_7.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc7_17.1: type = splice_block %.loc7_17.2 [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %.Self.frozen.loc7_17: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref [concrete] -// CHECK:STDOUT: %.Self.ref.loc7_23.1: %B.type = name_ref .Self, %.Self.frozen.loc7_17 [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %T.ref.loc7: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %equiv.loc7_29.1 = requirement_equivalent %.Self.ref.loc7_23.1, %T.ref.loc7 [concrete] -// CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %.Self.ref.loc7_23.2: %B.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref.loc7 [concrete] -// CHECK:STDOUT: %.loc7_17.2: type = where_expr [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref [concrete] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref.loc7 [concrete] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc7_13.2: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresA(%T.loc6_15.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc6_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.1: type = facet_access_type %T.loc6_15.1 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_30.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] -// CHECK:STDOUT: %x.param_patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.2 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_30.1 [symbolic = %require_complete (constants.%require_complete.94f)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc7_7.2: %A.type, %U.loc7_13.2: %B_where.type) { -// CHECK:STDOUT: %T.patt.loc7_7.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc7_7.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.patt.loc7_13.2: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc7_13.1: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %InnerF.type: type = fn_type @InnerF, @F(%T.loc7_7.1, %U.loc7_13.1) [symbolic = %InnerF.type (constants.%InnerF.type)] -// CHECK:STDOUT: %InnerF: @F.%InnerF.type (%InnerF.type) = struct_value () [symbolic = %InnerF (constants.%InnerF)] -// CHECK:STDOUT: %U.as_type.loc20_16.2: type = facet_access_type %U.loc7_13.1 [symbolic = %U.as_type.loc20_16.2 (constants.%U.as_type)] -// CHECK:STDOUT: %T.as_type.loc20_11.2: type = facet_access_type %T.loc7_7.1 [symbolic = %T.as_type.loc20_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %eq = observe_equivalent %T.loc7_7.1, %U.loc7_13.1 [symbolic = %eq (constants.%eq)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn() { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %InnerF.decl: @F.%InnerF.type (%InnerF.type) = fn_decl @InnerF [symbolic = @F.%InnerF (constants.%InnerF)] { -// CHECK:STDOUT: %x.param_patt.loc9_14.1: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc9_14.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc9_14.1: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc9_14.1 [symbolic = %x.patt.loc9_14.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: @InnerF.%U.as_type.loc9_16.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc9_16.1: type = splice_block %.loc9_16.2 [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref: %B_where.type = name_ref U, @F.%U.loc7_13.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc9_16.2: type = facet_access_type %U.ref [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc9_16.2: type = converted %U.ref, %U.as_type.loc9_16.2 [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @InnerF.%U.as_type.loc9_16.1 (%U.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.ref.loc20: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.ref: %B_where.type = name_ref U, %U.loc7_13.2 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc20_16.1: type = facet_access_type %U.ref [symbolic = %U.as_type.loc20_16.2 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc20_16: type = converted %U.ref, %U.as_type.loc20_16.1 [symbolic = %U.as_type.loc20_16.2 (constants.%U.as_type)] -// CHECK:STDOUT: %T.as_type.loc20_11.1: type = facet_access_type %T.ref.loc20 [symbolic = %T.as_type.loc20_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc20_11: type = converted %T.ref.loc20, %T.as_type.loc20_11.1 [symbolic = %T.as_type.loc20_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %F.observe.decl = observe_decl @F.observe [concrete] -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @F.observe { -// CHECK:STDOUT: observe constants.%T == constants.%U -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @InnerF(@F.%T.loc7_7.2: %A.type, @F.%U.loc7_13.2: %B_where.type) { -// CHECK:STDOUT: %U: %B_where.type = symbolic_binding U, 1 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc9_16.1: type = facet_access_type %U [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc9_16.1 [symbolic = %pattern_type (constants.%pattern_type.d51)] -// CHECK:STDOUT: %x.param_patt.loc9_14.2: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc9_14.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc9_14.2: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc9_14.2 [symbolic = %x.patt.loc9_14.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc9_16.1 [symbolic = %require_complete (constants.%require_complete.963)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @InnerF.%U.as_type.loc9_16.1 (%U.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %RequiresA.ref: %RequiresA.type = name_ref RequiresA, file.%RequiresA.decl [concrete = constants.%RequiresA] -// CHECK:STDOUT: %x.ref: @InnerF.%U.as_type.loc9_16.1 (%U.as_type) = name_ref x, %x -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete = constants.%B.type] -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresA(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_15.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_15.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc6_30.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc6_28.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc6_28.2 => constants.%x.patt.19b -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T, constants.%U) { -// CHECK:STDOUT: %T.patt.loc7_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc7_7.1 => constants.%T -// CHECK:STDOUT: %U.patt.loc7_13.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc7_13.1 => constants.%U -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @InnerF(constants.%T, constants.%U) { -// CHECK:STDOUT: %U => constants.%U -// CHECK:STDOUT: %U.as_type.loc9_16.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d51 -// CHECK:STDOUT: %x.param_patt.loc9_14.2 => constants.%x.param_patt.fbe -// CHECK:STDOUT: %x.patt.loc9_14.2 => constants.%x.patt.cdb -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_nested_functions_leak_upward.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen.197: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.029: type = pattern_type %A.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.a0e: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.241: %pattern_type.a0e = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.19b: %pattern_type.a0e = at_binding_pattern x, %x.param_patt.241 [symbolic] -// CHECK:STDOUT: %RequiresA.type: type = fn_type @RequiresA [concrete] -// CHECK:STDOUT: %RequiresA: %RequiresA.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.94f: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %.Self.frozen.f7e: %B.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %B_where.type: type = facet_type <@B where TODO> [concrete] -// CHECK:STDOUT: %pattern_type.831: type = pattern_type %B_where.type [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic] -// CHECK:STDOUT: %U: %B_where.type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.d51: type = pattern_type %U.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.fbe: %pattern_type.d51 = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.cdb: %pattern_type.d51 = at_binding_pattern x, %x.param_patt.fbe [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.963: = require_complete_type %U.as_type [symbolic] -// CHECK:STDOUT: %InnerF.type: type = fn_type @InnerF, @F(%T, %U) [symbolic] -// CHECK:STDOUT: %InnerF: %InnerF.type = struct_value () [symbolic] -// CHECK:STDOUT: %eq = observe_equivalent %T, %U [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .RequiresA = %RequiresA.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} -// CHECK:STDOUT: %RequiresA.decl: %RequiresA.type = fn_decl @RequiresA [concrete = constants.%RequiresA] { -// CHECK:STDOUT: %T.patt.loc6_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %x.param_patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.1 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_17: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc6_30.1: type = splice_block %.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc6_15.2 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_30.2: type = converted %T.ref, %T.as_type.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc7_7.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %U.patt.loc7_13.1: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %x.param_patt.loc7_36.1: @F.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc7_36.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc7_36.1: @F.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc7_36.1 [symbolic = %x.patt.loc7_36.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc7_9: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc7_7.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc7_17.1: type = splice_block %.loc7_17.2 [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %.Self.frozen.loc7_17: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref [concrete] -// CHECK:STDOUT: %.Self.ref.loc7_23.1: %B.type = name_ref .Self, %.Self.frozen.loc7_17 [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %equiv.loc7_29.1 = requirement_equivalent %.Self.ref.loc7_23.1, %T.ref [concrete] -// CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %.Self.ref.loc7_23.2: %B.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref [concrete] -// CHECK:STDOUT: %.loc7_17.2: type = where_expr [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref [concrete] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref [concrete] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc7_13.2: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %x.param: @F.%U.as_type.loc7_38.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc7_38.1: type = splice_block %.loc7_38.2 [symbolic = %U.as_type.loc7_38.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref: %B_where.type = name_ref U, %U.loc7_13.2 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc7_38.2: type = facet_access_type %U.ref [symbolic = %U.as_type.loc7_38.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc7_38.2: type = converted %U.ref, %U.as_type.loc7_38.2 [symbolic = %U.as_type.loc7_38.1 (constants.%U.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%U.as_type.loc7_38.1 (%U.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresA(%T.loc6_15.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc6_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.1: type = facet_access_type %T.loc6_15.1 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_30.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] -// CHECK:STDOUT: %x.param_patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.2 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_30.1 [symbolic = %require_complete (constants.%require_complete.94f)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc7_7.2: %A.type, %U.loc7_13.2: %B_where.type) { -// CHECK:STDOUT: %T.patt.loc7_7.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc7_7.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.patt.loc7_13.2: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc7_13.1: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc7_38.1: type = facet_access_type %U.loc7_13.1 [symbolic = %U.as_type.loc7_38.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc7_38.1 [symbolic = %pattern_type (constants.%pattern_type.d51)] -// CHECK:STDOUT: %x.param_patt.loc7_36.2: @F.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc7_36.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc7_36.2: @F.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc7_36.2 [symbolic = %x.patt.loc7_36.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc7_38.1 [symbolic = %require_complete (constants.%require_complete.963)] -// CHECK:STDOUT: %InnerF.type: type = fn_type @InnerF, @F(%T.loc7_7.1, %U.loc7_13.1) [symbolic = %InnerF.type (constants.%InnerF.type)] -// CHECK:STDOUT: %InnerF: @F.%InnerF.type (%InnerF.type) = struct_value () [symbolic = %InnerF (constants.%InnerF)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%U.as_type.loc7_38.1 (%U.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %InnerF.decl: @F.%InnerF.type (%InnerF.type) = fn_decl @InnerF [symbolic = @F.%InnerF (constants.%InnerF)] { -// CHECK:STDOUT: %x.param_patt.loc9_21.1: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc9_21.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc9_21.1: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc9_21.1 [symbolic = %x.patt.loc9_21.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: @InnerF.%U.as_type.loc9_23.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc9_23.1: type = splice_block %.loc9_23.2 [symbolic = %U.as_type.loc9_23.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref.loc9: %B_where.type = name_ref U, @F.%U.loc7_13.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc9_23.2: type = facet_access_type %U.ref.loc9 [symbolic = %U.as_type.loc9_23.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc9_23.2: type = converted %U.ref.loc9, %U.as_type.loc9_23.2 [symbolic = %U.as_type.loc9_23.1 (constants.%U.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @InnerF.%U.as_type.loc9_23.1 (%U.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %RequiresA.ref: %RequiresA.type = name_ref RequiresA, file.%RequiresA.decl [concrete = constants.%RequiresA] -// CHECK:STDOUT: %x.ref: @F.%U.as_type.loc7_38.1 (%U.as_type) = name_ref x, %x -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete = constants.%B.type] -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @InnerF(@F.%T.loc7_7.2: %A.type, @F.%U.loc7_13.2: %B_where.type) { -// CHECK:STDOUT: %U: %B_where.type = symbolic_binding U, 1 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc9_23.1: type = facet_access_type %U [symbolic = %U.as_type.loc9_23.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc9_23.1 [symbolic = %pattern_type (constants.%pattern_type.d51)] -// CHECK:STDOUT: %x.param_patt.loc9_21.2: @InnerF.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc9_21.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc9_21.2: @InnerF.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc9_21.2 [symbolic = %x.patt.loc9_21.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc9_23.1 [symbolic = %require_complete (constants.%require_complete.963)] -// CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc10_13.2: type = facet_access_type %T [symbolic = %T.as_type.loc10_13.2 (constants.%T.as_type)] -// CHECK:STDOUT: %eq = observe_equivalent %T, %U [symbolic = %eq (constants.%eq)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @InnerF.%U.as_type.loc9_23.1 (%U.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, @F.%T.loc7_7.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %U.ref.loc10: %B_where.type = name_ref U, @F.%U.loc7_13.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc10: type = facet_access_type %U.ref.loc10 [symbolic = %U.as_type.loc9_23.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc10_18: type = converted %U.ref.loc10, %U.as_type.loc10 [symbolic = %U.as_type.loc9_23.1 (constants.%U.as_type)] -// CHECK:STDOUT: %T.as_type.loc10_13.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc10_13.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc10_13: type = converted %T.ref, %T.as_type.loc10_13.1 [symbolic = %T.as_type.loc10_13.2 (constants.%T.as_type)] -// CHECK:STDOUT: %InnerF.observe.decl = observe_decl @InnerF.observe [concrete] -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @InnerF.observe { -// CHECK:STDOUT: observe constants.%T == constants.%U -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresA(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_15.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_15.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc6_30.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc6_28.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc6_28.2 => constants.%x.patt.19b -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T, constants.%U) { -// CHECK:STDOUT: %T.patt.loc7_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc7_7.1 => constants.%T -// CHECK:STDOUT: %U.patt.loc7_13.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc7_13.1 => constants.%U -// CHECK:STDOUT: %U.as_type.loc7_38.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d51 -// CHECK:STDOUT: %x.param_patt.loc7_36.2 => constants.%x.param_patt.fbe -// CHECK:STDOUT: %x.patt.loc7_36.2 => constants.%x.patt.cdb -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @InnerF(constants.%T, constants.%U) { -// CHECK:STDOUT: %U => constants.%U -// CHECK:STDOUT: %U.as_type.loc9_23.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d51 -// CHECK:STDOUT: %x.param_patt.loc9_21.2 => constants.%x.param_patt.fbe -// CHECK:STDOUT: %x.patt.loc9_21.2 => constants.%x.patt.cdb -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_not_observed.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen.197: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.029: type = pattern_type %A.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.a0e: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.241: %pattern_type.a0e = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.19b: %pattern_type.a0e = at_binding_pattern x, %x.param_patt.241 [symbolic] -// CHECK:STDOUT: %RequiresA.type: type = fn_type @RequiresA [concrete] -// CHECK:STDOUT: %RequiresA: %RequiresA.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.94f: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %.Self.frozen.f7e: %B.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %B_where.type: type = facet_type <@B where TODO> [concrete] -// CHECK:STDOUT: %pattern_type.831: type = pattern_type %B_where.type [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic] -// CHECK:STDOUT: %U: %B_where.type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %B.type [concrete] -// CHECK:STDOUT: %V.patt: %pattern_type.7b5 = symbolic_binding_pattern V, 2 [symbolic] -// CHECK:STDOUT: %V: %B.type = symbolic_binding V, 2 [symbolic] -// CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.d51: type = pattern_type %U.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.fbe: %pattern_type.d51 = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.cdb: %pattern_type.d51 = at_binding_pattern x, %x.param_patt.fbe [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.963: = require_complete_type %U.as_type [symbolic] -// CHECK:STDOUT: %V.as_type: type = facet_access_type %V [symbolic] -// CHECK:STDOUT: %eq = observe_equivalent %T, %V [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .RequiresA = %RequiresA.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} -// CHECK:STDOUT: %RequiresA.decl: %RequiresA.type = fn_decl @RequiresA [concrete = constants.%RequiresA] { -// CHECK:STDOUT: %T.patt.loc6_15.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %x.param_patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.1: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.1 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_17: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_15.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc6_30.1: type = splice_block %.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc6_15.2 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_30.2: type = converted %T.ref, %T.as_type.loc6_30.2 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc7_7.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %U.patt.loc7_13.1: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %V.patt.loc7_36.1: %pattern_type.7b5 = symbolic_binding_pattern V, 2 [symbolic = %V.patt.loc7_36.2 (constants.%V.patt)] -// CHECK:STDOUT: %x.param_patt.loc7_42.1: @F.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc7_42.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc7_42.1: @F.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc7_42.1 [symbolic = %x.patt.loc7_42.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc7_9: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc7_7.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc7_17.1: type = splice_block %.loc7_17.2 [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %B.ref.loc7_15: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %.Self.frozen.loc7_17: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref.loc7_15 [concrete] -// CHECK:STDOUT: %.Self.ref.loc7_23.1: %B.type = name_ref .Self, %.Self.frozen.loc7_17 [symbolic_self = constants.%.Self.frozen.f7e] -// CHECK:STDOUT: %T.ref.loc7: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %equiv.loc7_29.1 = requirement_equivalent %.Self.ref.loc7_23.1, %T.ref.loc7 [concrete] -// CHECK:STDOUT: %.Self: %B.type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %.Self.ref.loc7_23.2: %B.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref.loc7 [concrete] -// CHECK:STDOUT: %.loc7_17.2: type = where_expr [concrete = constants.%B_where.type] { -// CHECK:STDOUT: %base_facet_type = requirement_base_facet_type %B.ref.loc7_15 [concrete] -// CHECK:STDOUT: %equiv.loc7_29.2 = requirement_equivalent %.Self.ref.loc7_23.2, %T.ref.loc7 [concrete] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc7_13.2: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %.loc7_38: type = splice_block %B.ref.loc7_38 [concrete = constants.%B.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_36: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] -// CHECK:STDOUT: %B.ref.loc7_38: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %V.loc7_36.2: %B.type = symbolic_binding V, 2 [symbolic = %V.loc7_36.1 (constants.%V)] -// CHECK:STDOUT: %x.param: @F.%U.as_type.loc7_44.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc7_44.1: type = splice_block %.loc7_44.2 [symbolic = %U.as_type.loc7_44.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref: %B_where.type = name_ref U, %U.loc7_13.2 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc7_44.2: type = facet_access_type %U.ref [symbolic = %U.as_type.loc7_44.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc7_44.2: type = converted %U.ref, %U.as_type.loc7_44.2 [symbolic = %U.as_type.loc7_44.1 (constants.%U.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%U.as_type.loc7_44.1 (%U.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @RequiresA(%T.loc6_15.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc6_15.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_15.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_15.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_30.1: type = facet_access_type %T.loc6_15.1 [symbolic = %T.as_type.loc6_30.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_30.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] -// CHECK:STDOUT: %x.param_patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_28.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_28.2: @RequiresA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_28.2 [symbolic = %x.patt.loc6_28.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_30.1 [symbolic = %require_complete (constants.%require_complete.94f)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @RequiresA.%T.as_type.loc6_30.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc7_7.2: %A.type, %U.loc7_13.2: %B_where.type, %V.loc7_36.2: %B.type) { -// CHECK:STDOUT: %T.patt.loc7_7.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc7_7.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.patt.loc7_13.2: %pattern_type.831 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc7_13.1: %B_where.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %V.patt.loc7_36.2: %pattern_type.7b5 = symbolic_binding_pattern V, 2 [symbolic = %V.patt.loc7_36.2 (constants.%V.patt)] -// CHECK:STDOUT: %V.loc7_36.1: %B.type = symbolic_binding V, 2 [symbolic = %V.loc7_36.1 (constants.%V)] -// CHECK:STDOUT: %U.as_type.loc7_44.1: type = facet_access_type %U.loc7_13.1 [symbolic = %U.as_type.loc7_44.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc7_44.1 [symbolic = %pattern_type (constants.%pattern_type.d51)] -// CHECK:STDOUT: %x.param_patt.loc7_42.2: @F.%pattern_type (%pattern_type.d51) = value_param_pattern [symbolic = %x.param_patt.loc7_42.2 (constants.%x.param_patt.fbe)] -// CHECK:STDOUT: %x.patt.loc7_42.2: @F.%pattern_type (%pattern_type.d51) = at_binding_pattern x, %x.param_patt.loc7_42.2 [symbolic = %x.patt.loc7_42.2 (constants.%x.patt.cdb)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc7_44.1 [symbolic = %require_complete (constants.%require_complete.963)] -// CHECK:STDOUT: %V.as_type.loc8_16.2: type = facet_access_type %V.loc7_36.1 [symbolic = %V.as_type.loc8_16.2 (constants.%V.as_type)] -// CHECK:STDOUT: %T.as_type.loc8_11.2: type = facet_access_type %T.loc7_7.1 [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %eq = observe_equivalent %T.loc7_7.1, %V.loc7_36.1 [symbolic = %eq (constants.%eq)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%U.as_type.loc7_44.1 (%U.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref.loc8: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %V.ref: %B.type = name_ref V, %V.loc7_36.2 [symbolic = %V.loc7_36.1 (constants.%V)] -// CHECK:STDOUT: %V.as_type.loc8_16.1: type = facet_access_type %V.ref [symbolic = %V.as_type.loc8_16.2 (constants.%V.as_type)] -// CHECK:STDOUT: %.loc8_16: type = converted %V.ref, %V.as_type.loc8_16.1 [symbolic = %V.as_type.loc8_16.2 (constants.%V.as_type)] -// CHECK:STDOUT: %T.as_type.loc8_11.1: type = facet_access_type %T.ref.loc8 [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc8_11: type = converted %T.ref.loc8, %T.as_type.loc8_11.1 [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %F.observe.decl = observe_decl @F.observe [concrete] -// CHECK:STDOUT: %RequiresA.ref: %RequiresA.type = name_ref RequiresA, file.%RequiresA.decl [concrete = constants.%RequiresA] -// CHECK:STDOUT: %x.ref: @F.%U.as_type.loc7_44.1 (%U.as_type) = name_ref x, %x -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete = constants.%B.type] -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @F.observe { -// CHECK:STDOUT: observe constants.%T == constants.%V -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @RequiresA(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_15.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_15.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc6_30.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc6_28.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc6_28.2 => constants.%x.patt.19b -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T, constants.%U, constants.%V) { -// CHECK:STDOUT: %T.patt.loc7_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc7_7.1 => constants.%T -// CHECK:STDOUT: %U.patt.loc7_13.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc7_13.1 => constants.%U -// CHECK:STDOUT: %V.patt.loc7_36.2 => constants.%V.patt -// CHECK:STDOUT: %V.loc7_36.1 => constants.%V -// CHECK:STDOUT: %U.as_type.loc7_44.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d51 -// CHECK:STDOUT: %x.param_patt.loc7_42.2 => constants.%x.param_patt.fbe -// CHECK:STDOUT: %x.patt.loc7_42.2 => constants.%x.patt.cdb -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_invalid_equivalent.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.029: type = pattern_type %A.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.a0e: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.241: %pattern_type.a0e = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.19b: %pattern_type.a0e = at_binding_pattern x, %x.param_patt.241 [symbolic] -// CHECK:STDOUT: %TakesA.type: type = fn_type @TakesA [concrete] -// CHECK:STDOUT: %TakesA: %TakesA.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.94f: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %B.type [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.7b5 = symbolic_binding_pattern U, 1 [symbolic] -// CHECK:STDOUT: %U: %B.type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %U.as_type [symbolic] -// CHECK:STDOUT: %x.param_patt.19f: %pattern_type.d7b = value_param_pattern [symbolic] -// CHECK:STDOUT: %x.patt.033: %pattern_type.d7b = at_binding_pattern x, %x.param_patt.19f [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.806: = require_complete_type %U.as_type [symbolic] -// CHECK:STDOUT: %eq = observe_equivalent %T, %U [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .TakesA = %TakesA.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} -// CHECK:STDOUT: %TakesA.decl: %TakesA.type = fn_decl @TakesA [concrete = constants.%TakesA] { -// CHECK:STDOUT: %T.patt.loc6_12.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_12.2 (constants.%T.patt)] -// CHECK:STDOUT: %x.param_patt.loc6_25.1: @TakesA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_25.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_25.1: @TakesA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_25.1 [symbolic = %x.patt.loc6_25.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_14: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_12.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_12.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @TakesA.%T.as_type.loc6_27.1 (%T.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc6_27.1: type = splice_block %.loc6_27.2 [symbolic = %T.as_type.loc6_27.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc6_12.2 [symbolic = %T.loc6_12.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_27.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc6_27.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_27.2: type = converted %T.ref, %T.as_type.loc6_27.2 [symbolic = %T.as_type.loc6_27.1 (constants.%T.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @TakesA.%T.as_type.loc6_27.1 (%T.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc7_7.1: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %U.patt.loc7_13.1: %pattern_type.7b5 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %x.param_patt.loc7_19.1: @F.%pattern_type (%pattern_type.d7b) = value_param_pattern [symbolic = %x.param_patt.loc7_19.2 (constants.%x.param_patt.19f)] -// CHECK:STDOUT: %x.patt.loc7_19.1: @F.%pattern_type (%pattern_type.d7b) = at_binding_pattern x, %x.param_patt.loc7_19.1 [symbolic = %x.patt.loc7_19.2 (constants.%x.patt.033)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc7_9: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc7_7.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %.loc7_15: type = splice_block %B.ref [concrete = constants.%B.type] { -// CHECK:STDOUT: %.Self.frozen.loc7_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc7_13.2: %B.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %x.param: @F.%U.as_type.loc7_21.1 (%U.as_type) = value_param call_param0 -// CHECK:STDOUT: %.loc7_21.1: type = splice_block %.loc7_21.2 [symbolic = %U.as_type.loc7_21.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref.loc7: %B.type = name_ref U, %U.loc7_13.2 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc7_21.2: type = facet_access_type %U.ref.loc7 [symbolic = %U.as_type.loc7_21.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc7_21.2: type = converted %U.ref.loc7, %U.as_type.loc7_21.2 [symbolic = %U.as_type.loc7_21.1 (constants.%U.as_type)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%U.as_type.loc7_21.1 (%U.as_type) = wrapper_binding x, %x.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @TakesA(%T.loc6_12.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc6_12.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_12.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_12.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_12.1 (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc6_27.1: type = facet_access_type %T.loc6_12.1 [symbolic = %T.as_type.loc6_27.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_27.1 [symbolic = %pattern_type (constants.%pattern_type.a0e)] -// CHECK:STDOUT: %x.param_patt.loc6_25.2: @TakesA.%pattern_type (%pattern_type.a0e) = value_param_pattern [symbolic = %x.param_patt.loc6_25.2 (constants.%x.param_patt.241)] -// CHECK:STDOUT: %x.patt.loc6_25.2: @TakesA.%pattern_type (%pattern_type.a0e) = at_binding_pattern x, %x.param_patt.loc6_25.2 [symbolic = %x.patt.loc6_25.2 (constants.%x.patt.19b)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_27.1 [symbolic = %require_complete (constants.%require_complete.94f)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @TakesA.%T.as_type.loc6_27.1 (%T.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc7_7.2: %A.type, %U.loc7_13.2: %B.type) { -// CHECK:STDOUT: %T.patt.loc7_7.2: %pattern_type.029 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc7_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc7_7.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.patt.loc7_13.2: %pattern_type.7b5 = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc7_13.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc7_13.1: %B.type = symbolic_binding U, 1 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc7_21.1: type = facet_access_type %U.loc7_13.1 [symbolic = %U.as_type.loc7_21.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc7_21.1 [symbolic = %pattern_type (constants.%pattern_type.d7b)] -// CHECK:STDOUT: %x.param_patt.loc7_19.2: @F.%pattern_type (%pattern_type.d7b) = value_param_pattern [symbolic = %x.param_patt.loc7_19.2 (constants.%x.param_patt.19f)] -// CHECK:STDOUT: %x.patt.loc7_19.2: @F.%pattern_type (%pattern_type.d7b) = at_binding_pattern x, %x.param_patt.loc7_19.2 [symbolic = %x.patt.loc7_19.2 (constants.%x.patt.033)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc7_21.1 [symbolic = %require_complete (constants.%require_complete.806)] -// CHECK:STDOUT: %T.as_type.loc8_11.2: type = facet_access_type %T.loc7_7.1 [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %eq = observe_equivalent %T.loc7_7.1, %U.loc7_13.1 [symbolic = %eq (constants.%eq)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%U.as_type.loc7_21.1 (%U.as_type)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %U.ref.loc8: %B.type = name_ref U, %U.loc7_13.2 [symbolic = %U.loc7_13.1 (constants.%U)] -// CHECK:STDOUT: %U.as_type.loc8: type = facet_access_type %U.ref.loc8 [symbolic = %U.as_type.loc7_21.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc8_16: type = converted %U.ref.loc8, %U.as_type.loc8 [symbolic = %U.as_type.loc7_21.1 (constants.%U.as_type)] -// CHECK:STDOUT: %T.as_type.loc8_11.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc8_11: type = converted %T.ref, %T.as_type.loc8_11.1 [symbolic = %T.as_type.loc8_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %F.observe.decl = observe_decl @F.observe [concrete] -// CHECK:STDOUT: %TakesA.ref: %TakesA.type = name_ref TakesA, file.%TakesA.decl [concrete = constants.%TakesA] -// CHECK:STDOUT: %x.ref: @F.%U.as_type.loc7_21.1 (%U.as_type) = name_ref x, %x -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @F.observe { -// CHECK:STDOUT: observe constants.%T == constants.%U -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @TakesA(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_12.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_12.1 => constants.%T -// CHECK:STDOUT: %T.as_type.loc6_27.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a0e -// CHECK:STDOUT: %x.param_patt.loc6_25.2 => constants.%x.param_patt.241 -// CHECK:STDOUT: %x.patt.loc6_25.2 => constants.%x.patt.19b -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T, constants.%U) { -// CHECK:STDOUT: %T.patt.loc7_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc7_7.1 => constants.%T -// CHECK:STDOUT: %U.patt.loc7_13.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc7_13.1 => constants.%U -// CHECK:STDOUT: %U.as_type.loc7_21.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b -// CHECK:STDOUT: %x.param_patt.loc7_19.2 => constants.%x.param_patt.19f -// CHECK:STDOUT: %x.patt.loc7_19.2 => constants.%x.patt.033 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_wrong_scope_class.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %U.patt: %pattern_type = symbolic_binding_pattern U, 1 [symbolic] -// CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] -// CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T, %U) [symbolic] -// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .C = %C.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %C.decl: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %T.patt.loc3_10.1: %pattern_type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc3_10.2 (constants.%T.patt)] -// CHECK:STDOUT: %U.patt.loc3_19.1: %pattern_type = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc3_19.2 (constants.%U.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc3_12.1: type = splice_block %.loc3_12.2 [concrete = type] { -// CHECK:STDOUT: %.Self.frozen.loc3_10: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %.loc3_12.2: type = type_literal type [concrete = type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc3_10.2: type = symbolic_binding T, 0 [symbolic = %T.loc3_10.1 (constants.%T)] -// CHECK:STDOUT: %.loc3_21.1: type = splice_block %.loc3_21.2 [concrete = type] { -// CHECK:STDOUT: %.Self.frozen.loc3_19: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %.loc3_21.2: type = type_literal type [concrete = type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc3_19.2: type = symbolic_binding U, 1 [symbolic = %U.loc3_19.1 (constants.%U)] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic class @C(%T.loc3_10.2: type, %U.loc3_19.2: type) { -// CHECK:STDOUT: %T.patt.loc3_10.2: %pattern_type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc3_10.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc3_10.1: type = symbolic_binding T, 0 [symbolic = %T.loc3_10.1 (constants.%T)] -// CHECK:STDOUT: %U.patt.loc3_19.2: %pattern_type = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc3_19.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc3_19.1: type = symbolic_binding U, 1 [symbolic = %U.loc3_19.1 (constants.%U)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: -// CHECK:STDOUT: class { -// CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc3_10.2 [symbolic = %T.loc3_10.1 (constants.%T)] -// CHECK:STDOUT: %U.ref: type = name_ref U, %U.loc3_19.2 [symbolic = %U.loc3_19.1 (constants.%U)] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type] -// CHECK:STDOUT: complete_type_witness = %complete_type -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C -// CHECK:STDOUT: .T = -// CHECK:STDOUT: .U = -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%T, constants.%U) { -// CHECK:STDOUT: %T.patt.loc3_10.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc3_10.1 => constants.%T -// CHECK:STDOUT: %U.patt.loc3_19.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc3_19.1 => constants.%U -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_wrong_scope_named_constraint.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %U.patt: %pattern_type = symbolic_binding_pattern U, 1 [symbolic] -// CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %C.type.eac: type = generic_named_constaint_type @C [concrete] -// CHECK:STDOUT: %empty_struct: %C.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %C.type.d68: type = facet_type <@C, @C(%T, %U)> [symbolic] -// CHECK:STDOUT: %Self: %C.type.d68 = symbolic_binding Self, 2 [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .C = %C.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %C.decl: %C.type.eac = constraint_decl @C [concrete = constants.%empty_struct] { -// CHECK:STDOUT: %T.patt.loc3_15.1: %pattern_type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc3_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %U.patt.loc3_24.1: %pattern_type = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc3_24.2 (constants.%U.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc3_17.1: type = splice_block %.loc3_17.2 [concrete = type] { -// CHECK:STDOUT: %.Self.frozen.loc3_15: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %.loc3_17.2: type = type_literal type [concrete = type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc3_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc3_15.1 (constants.%T)] -// CHECK:STDOUT: %.loc3_26.1: type = splice_block %.loc3_26.2 [concrete = type] { -// CHECK:STDOUT: %.Self.frozen.loc3_24: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %.loc3_26.2: type = type_literal type [concrete = type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc3_24.2: type = symbolic_binding U, 1 [symbolic = %U.loc3_24.1 (constants.%U)] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic constraint @C(%T.loc3_15.2: type, %U.loc3_24.2: type) { -// CHECK:STDOUT: %T.patt.loc3_15.2: %pattern_type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc3_15.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc3_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc3_15.1 (constants.%T)] -// CHECK:STDOUT: %U.patt.loc3_24.2: %pattern_type = symbolic_binding_pattern U, 1 [symbolic = %U.patt.loc3_24.2 (constants.%U.patt)] -// CHECK:STDOUT: %U.loc3_24.1: type = symbolic_binding U, 1 [symbolic = %U.loc3_24.1 (constants.%U)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.type: type = facet_type <@C, @C(%T.loc3_15.1, %U.loc3_24.1)> [symbolic = %C.type (constants.%C.type.d68)] -// CHECK:STDOUT: %Self.loc3_32.2: @C.%C.type (%C.type.d68) = symbolic_binding Self, 2 [symbolic = %Self.loc3_32.2 (constants.%Self)] -// CHECK:STDOUT: -// CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc3_32.1: @C.%C.type (%C.type.d68) = symbolic_binding Self, 2 [symbolic = %Self.loc3_32.2 (constants.%Self)] -// CHECK:STDOUT: %C.WithSelf.decl = constraint_with_self_decl @C [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %T.ref: type = name_ref T, @C.%T.loc3_15.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %U.ref: type = name_ref U, @C.%U.loc3_24.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self.loc3_32.1 -// CHECK:STDOUT: .T = -// CHECK:STDOUT: .U = -// CHECK:STDOUT: .T = -// CHECK:STDOUT: .U = -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%T, constants.%U) { -// CHECK:STDOUT: %T.patt.loc3_15.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc3_15.1 => constants.%T -// CHECK:STDOUT: %U.patt.loc3_24.2 => constants.%U.patt -// CHECK:STDOUT: %U.loc3_24.1 => constants.%U -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @C.WithSelf(constants.%T, constants.%U, constants.%Self) {} -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_non_facet_type_in_impls.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type: type = pattern_type %A.type [concrete] -// CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %impls = observe_impls %T, %C [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .C = %C.decl -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc6_7.1: %pattern_type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_7.2 (constants.%T.patt)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6: type = splice_block %A.ref [concrete = constants.%A.type] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc6_7.2: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: class @C { -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type] -// CHECK:STDOUT: complete_type_witness = %complete_type -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc6_7.2: %A.type) { -// CHECK:STDOUT: %T.patt.loc6_7.2: %pattern_type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_7.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc6_7.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.loc11_11.2: type = facet_access_type %T.loc6_7.1 [symbolic = %T.as_type.loc11_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %impls = observe_impls %T.loc6_7.1, constants.%C [symbolic = %impls (constants.%impls)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn() { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref: %A.type = name_ref T, %T.loc6_7.2 [symbolic = %T.loc6_7.1 (constants.%T)] -// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %T.as_type.loc11_11.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc11_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc11: type = converted %T.ref, %T.as_type.loc11_11.1 [symbolic = %T.as_type.loc11_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T) { -// CHECK:STDOUT: %T.patt.loc6_7.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc6_7.1 => constants.%T +// CHECK:STDOUT: %x.param_patt.loc11_14.2 => constants.%x.param_patt.fbe +// CHECK:STDOUT: %x.patt.loc11_14.2 => constants.%x.patt.cdb // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_observe.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.d0c: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.b45: %B.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.frozen.197: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] @@ -5861,19 +977,10 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core -// CHECK:STDOUT: .A = %A.decl -// CHECK:STDOUT: .B = %B.decl -// CHECK:STDOUT: .I = %I.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} -// CHECK:STDOUT: %B.decl: type = interface_decl @B [concrete = constants.%B.type] {} {} // CHECK:STDOUT: %I.decl: %I.type.335 = interface_decl @I [concrete = constants.%I.generic] { -// CHECK:STDOUT: %T.patt.loc5_14.1: %pattern_type.827 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc5_14.2 (constants.%T.patt)] +// CHECK:STDOUT: %T.patt.loc6_14.1: %pattern_type.827 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_14.2 (constants.%T.patt)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc5_18.1: type = splice_block %.loc5_18.3 [concrete = constants.%facet_type.8cb] { +// CHECK:STDOUT: %.loc6_18.1: type = splice_block %.loc6_18.3 [concrete = constants.%facet_type.8cb] { // CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen.197] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] @@ -5881,49 +988,23 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: %impl.elem0: %.d56 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %A.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.36e] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%A.ref, %Destroy.ref) [concrete = constants.%facet_type.8cb] -// CHECK:STDOUT: %.loc5_18.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.8cb] -// CHECK:STDOUT: %.loc5_18.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc5_18.2 [concrete = constants.%facet_type.8cb] +// CHECK:STDOUT: %.loc6_18.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.8cb] +// CHECK:STDOUT: %.loc6_18.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc6_18.2 [concrete = constants.%facet_type.8cb] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc5_14.2: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T)] +// CHECK:STDOUT: %T.loc6_14.2: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T.loc6_14.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d0c] -// CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b45] -// CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic interface @I(%T.loc5_14.2: %facet_type.8cb) { -// CHECK:STDOUT: %T.patt.loc5_14.2: %pattern_type.827 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc5_14.2 (constants.%T.patt)] -// CHECK:STDOUT: %T.loc5_14.1: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T)] +// CHECK:STDOUT: generic interface @I(%T.loc6_14.2: %facet_type.8cb) { +// CHECK:STDOUT: %T.patt.loc6_14.2: %pattern_type.827 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc6_14.2 (constants.%T.patt)] +// CHECK:STDOUT: %T.loc6_14.1: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T.loc6_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc5_14.1)> [symbolic = %I.type (constants.%I.type.715)] -// CHECK:STDOUT: %Self.loc5_34.2: @I.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self.loc5_34.2 (constants.%Self.dca)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc6_14.1)> [symbolic = %I.type (constants.%I.type.715)] +// CHECK:STDOUT: %Self.loc6_34.2: @I.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self.loc6_34.2 (constants.%Self.dca)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc5_34.1: @I.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self.loc5_34.2 (constants.%Self.dca)] +// CHECK:STDOUT: %Self.loc6_34.1: @I.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self.loc6_34.2 (constants.%Self.dca)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -5931,69 +1012,69 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: %assoc0: @I.WithSelf.%I.assoc_type (%I.assoc_type) = assoc_entity element0, @I.WithSelf.%U [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.93a)] // CHECK:STDOUT: } // CHECK:STDOUT: %I.WithSelf.GetU.decl: @I.WithSelf.%I.WithSelf.GetU.type (%I.WithSelf.GetU.type) = fn_decl @I.WithSelf.GetU [symbolic = @I.WithSelf.%I.WithSelf.GetU (constants.%I.WithSelf.GetU)] { -// CHECK:STDOUT: %self.param_patt.loc8_11.1: @I.WithSelf.GetU.%pattern_type.loc8_11 (%pattern_type.f76) = value_param_pattern [symbolic = %self.param_patt.loc8_11.2 (constants.%self.param_patt.ee4)] -// CHECK:STDOUT: %self.patt.loc8_11.1: @I.WithSelf.GetU.%pattern_type.loc8_11 (%pattern_type.f76) = at_binding_pattern self, %self.param_patt.loc8_11.1 [symbolic = %self.patt.loc8_11.2 (constants.%self.patt.2e1)] -// CHECK:STDOUT: %return.param_patt.loc8_20.1: @I.WithSelf.GetU.%pattern_type.loc8_20 (%pattern_type.079) = out_param_pattern [symbolic = %return.param_patt.loc8_20.2 (constants.%return.param_patt.82c)] -// CHECK:STDOUT: %return.patt.loc8_17.1: @I.WithSelf.GetU.%pattern_type.loc8_20 (%pattern_type.079) = return_slot_pattern %return.param_patt.loc8_20.1, %.loc8_20.2 [symbolic = %return.patt.loc8_17.2 (constants.%return.patt.4f7)] +// CHECK:STDOUT: %self.param_patt.loc9_11.1: @I.WithSelf.GetU.%pattern_type.loc9_11 (%pattern_type.f76) = value_param_pattern [symbolic = %self.param_patt.loc9_11.2 (constants.%self.param_patt.ee4)] +// CHECK:STDOUT: %self.patt.loc9_11.1: @I.WithSelf.GetU.%pattern_type.loc9_11 (%pattern_type.f76) = at_binding_pattern self, %self.param_patt.loc9_11.1 [symbolic = %self.patt.loc9_11.2 (constants.%self.patt.2e1)] +// CHECK:STDOUT: %return.param_patt.loc9_20.1: @I.WithSelf.GetU.%pattern_type.loc9_20 (%pattern_type.079) = out_param_pattern [symbolic = %return.param_patt.loc9_20.2 (constants.%return.param_patt.82c)] +// CHECK:STDOUT: %return.patt.loc9_17.1: @I.WithSelf.GetU.%pattern_type.loc9_20 (%pattern_type.079) = return_slot_pattern %return.param_patt.loc9_20.1, %.loc9_20.2 [symbolic = %return.patt.loc9_17.2 (constants.%return.patt.4f7)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %impl.elem0.loc8_20.2: %facet_type.208 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_20.1 (constants.%impl.elem0)] -// CHECK:STDOUT: %U.ref: %facet_type.208 = name_ref U, %impl.elem0.loc8_20.2 [symbolic = %impl.elem0.loc8_20.1 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc9_20.2: %facet_type.208 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_20.1 (constants.%impl.elem0)] +// CHECK:STDOUT: %U.ref: %facet_type.208 = name_ref U, %impl.elem0.loc9_20.2 [symbolic = %impl.elem0.loc9_20.1 (constants.%impl.elem0)] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U.ref [symbolic = %as_type (constants.%as_type)] -// CHECK:STDOUT: %.loc8_20.2: type = converted %U.ref, %U.as_type [symbolic = %as_type (constants.%as_type)] -// CHECK:STDOUT: %.loc8_20.3: Core.Form = init_form %.loc8_20.2 [symbolic = %.loc8_20.1 (constants.%.344)] -// CHECK:STDOUT: %self.param: @I.WithSelf.GetU.%Self.as_type.loc8_11.1 (%Self.as_type.37b) = value_param call_param0 -// CHECK:STDOUT: %.loc8_11.1: type = splice_block %.loc8_11.3 [symbolic = %Self.as_type.loc8_11.1 (constants.%Self.as_type.37b)] { -// CHECK:STDOUT: %.loc8_11.2: @I.WithSelf.GetU.%I.type (%I.type.715) = specific_constant @I.%Self.loc5_34.1, @I(constants.%T) [symbolic = %Self (constants.%Self.dca)] -// CHECK:STDOUT: %Self.ref: @I.WithSelf.GetU.%I.type (%I.type.715) = name_ref Self, %.loc8_11.2 [symbolic = %Self (constants.%Self.dca)] -// CHECK:STDOUT: %Self.as_type.loc8_11.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc8_11.1 (constants.%Self.as_type.37b)] -// CHECK:STDOUT: %.loc8_11.3: type = converted %Self.ref, %Self.as_type.loc8_11.2 [symbolic = %Self.as_type.loc8_11.1 (constants.%Self.as_type.37b)] +// CHECK:STDOUT: %.loc9_20.2: type = converted %U.ref, %U.as_type [symbolic = %as_type (constants.%as_type)] +// CHECK:STDOUT: %.loc9_20.3: Core.Form = init_form %.loc9_20.2 [symbolic = %.loc9_20.1 (constants.%.344)] +// CHECK:STDOUT: %self.param: @I.WithSelf.GetU.%Self.as_type.loc9_11.1 (%Self.as_type.37b) = value_param call_param0 +// CHECK:STDOUT: %.loc9_11.1: type = splice_block %.loc9_11.3 [symbolic = %Self.as_type.loc9_11.1 (constants.%Self.as_type.37b)] { +// CHECK:STDOUT: %.loc9_11.2: @I.WithSelf.GetU.%I.type (%I.type.715) = specific_constant @I.%Self.loc6_34.1, @I(constants.%T) [symbolic = %Self (constants.%Self.dca)] +// CHECK:STDOUT: %Self.ref: @I.WithSelf.GetU.%I.type (%I.type.715) = name_ref Self, %.loc9_11.2 [symbolic = %Self (constants.%Self.dca)] +// CHECK:STDOUT: %Self.as_type.loc9_11.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_11.1 (constants.%Self.as_type.37b)] +// CHECK:STDOUT: %.loc9_11.3: type = converted %Self.ref, %Self.as_type.loc9_11.2 [symbolic = %Self.as_type.loc9_11.1 (constants.%Self.as_type.37b)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @I.WithSelf.GetU.%Self.as_type.loc8_11.1 (%Self.as_type.37b) = wrapper_binding self, %self.param +// CHECK:STDOUT: %self: @I.WithSelf.GetU.%Self.as_type.loc9_11.1 (%Self.as_type.37b) = wrapper_binding self, %self.param // CHECK:STDOUT: %return.param: ref @I.WithSelf.GetU.%as_type (%as_type) = out_param call_param1 // CHECK:STDOUT: %return: ref @I.WithSelf.GetU.%as_type (%as_type) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc1.loc8_21.1: @I.WithSelf.%I.assoc_type (%I.assoc_type) = assoc_entity element1, %I.WithSelf.GetU.decl [symbolic = %assoc1.loc8_21.2 (constants.%assoc1)] +// CHECK:STDOUT: %assoc1.loc9_21.1: @I.WithSelf.%I.assoc_type (%I.assoc_type) = assoc_entity element1, %I.WithSelf.GetU.decl [symbolic = %assoc1.loc9_21.2 (constants.%assoc1)] // CHECK:STDOUT: %I.WithSelf.TakesT.decl: @I.WithSelf.%I.WithSelf.TakesT.type (%I.WithSelf.TakesT.type) = fn_decl @I.WithSelf.TakesT [symbolic = @I.WithSelf.%I.WithSelf.TakesT (constants.%I.WithSelf.TakesT)] { -// CHECK:STDOUT: %self.param_patt.loc9_13.1: @I.WithSelf.TakesT.%pattern_type.loc9_13 (%pattern_type.f76) = value_param_pattern [symbolic = %self.param_patt.loc9_13.2 (constants.%self.param_patt.ee4)] -// CHECK:STDOUT: %self.patt.loc9_13.1: @I.WithSelf.TakesT.%pattern_type.loc9_13 (%pattern_type.f76) = at_binding_pattern self, %self.param_patt.loc9_13.1 [symbolic = %self.patt.loc9_13.2 (constants.%self.patt.2e1)] -// CHECK:STDOUT: %t.param_patt.loc9_20.1: @I.WithSelf.TakesT.%pattern_type.loc9_20 (%pattern_type.bc3) = value_param_pattern [symbolic = %t.param_patt.loc9_20.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc9_20.1: @I.WithSelf.TakesT.%pattern_type.loc9_20 (%pattern_type.bc3) = at_binding_pattern t, %t.param_patt.loc9_20.1 [symbolic = %t.patt.loc9_20.2 (constants.%t.patt)] +// CHECK:STDOUT: %self.param_patt.loc10_13.1: @I.WithSelf.TakesT.%pattern_type.loc10_13 (%pattern_type.f76) = value_param_pattern [symbolic = %self.param_patt.loc10_13.2 (constants.%self.param_patt.ee4)] +// CHECK:STDOUT: %self.patt.loc10_13.1: @I.WithSelf.TakesT.%pattern_type.loc10_13 (%pattern_type.f76) = at_binding_pattern self, %self.param_patt.loc10_13.1 [symbolic = %self.patt.loc10_13.2 (constants.%self.patt.2e1)] +// CHECK:STDOUT: %t.param_patt.loc10_20.1: @I.WithSelf.TakesT.%pattern_type.loc10_20 (%pattern_type.bc3) = value_param_pattern [symbolic = %t.param_patt.loc10_20.2 (constants.%t.param_patt)] +// CHECK:STDOUT: %t.patt.loc10_20.1: @I.WithSelf.TakesT.%pattern_type.loc10_20 (%pattern_type.bc3) = at_binding_pattern t, %t.param_patt.loc10_20.1 [symbolic = %t.patt.loc10_20.2 (constants.%t.patt)] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @I.WithSelf.TakesT.%Self.as_type.loc9_13.1 (%Self.as_type.37b) = value_param call_param0 -// CHECK:STDOUT: %.loc9_13.1: type = splice_block %.loc9_13.3 [symbolic = %Self.as_type.loc9_13.1 (constants.%Self.as_type.37b)] { -// CHECK:STDOUT: %.loc9_13.2: @I.WithSelf.TakesT.%I.type (%I.type.715) = specific_constant @I.%Self.loc5_34.1, @I(constants.%T) [symbolic = %Self (constants.%Self.dca)] -// CHECK:STDOUT: %Self.ref: @I.WithSelf.TakesT.%I.type (%I.type.715) = name_ref Self, %.loc9_13.2 [symbolic = %Self (constants.%Self.dca)] -// CHECK:STDOUT: %Self.as_type.loc9_13.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_13.1 (constants.%Self.as_type.37b)] -// CHECK:STDOUT: %.loc9_13.3: type = converted %Self.ref, %Self.as_type.loc9_13.2 [symbolic = %Self.as_type.loc9_13.1 (constants.%Self.as_type.37b)] +// CHECK:STDOUT: %self.param: @I.WithSelf.TakesT.%Self.as_type.loc10_13.1 (%Self.as_type.37b) = value_param call_param0 +// CHECK:STDOUT: %.loc10_13.1: type = splice_block %.loc10_13.3 [symbolic = %Self.as_type.loc10_13.1 (constants.%Self.as_type.37b)] { +// CHECK:STDOUT: %.loc10_13.2: @I.WithSelf.TakesT.%I.type (%I.type.715) = specific_constant @I.%Self.loc6_34.1, @I(constants.%T) [symbolic = %Self (constants.%Self.dca)] +// CHECK:STDOUT: %Self.ref: @I.WithSelf.TakesT.%I.type (%I.type.715) = name_ref Self, %.loc10_13.2 [symbolic = %Self (constants.%Self.dca)] +// CHECK:STDOUT: %Self.as_type.loc10_13.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc10_13.1 (constants.%Self.as_type.37b)] +// CHECK:STDOUT: %.loc10_13.3: type = converted %Self.ref, %Self.as_type.loc10_13.2 [symbolic = %Self.as_type.loc10_13.1 (constants.%Self.as_type.37b)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @I.WithSelf.TakesT.%Self.as_type.loc9_13.1 (%Self.as_type.37b) = wrapper_binding self, %self.param -// CHECK:STDOUT: %t.param: @I.WithSelf.TakesT.%T.as_type.loc9_22.1 (%T.as_type) = value_param call_param1 -// CHECK:STDOUT: %.loc9_22.1: type = splice_block %.loc9_22.2 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %facet_type.8cb = name_ref T, @I.%T.loc5_14.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %T.as_type.loc9_22.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc9_22.2: type = converted %T.ref, %T.as_type.loc9_22.2 [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type)] +// CHECK:STDOUT: %self: @I.WithSelf.TakesT.%Self.as_type.loc10_13.1 (%Self.as_type.37b) = wrapper_binding self, %self.param +// CHECK:STDOUT: %t.param: @I.WithSelf.TakesT.%T.as_type.loc10_22.1 (%T.as_type) = value_param call_param1 +// CHECK:STDOUT: %.loc10_22.1: type = splice_block %.loc10_22.2 [symbolic = %T.as_type.loc10_22.1 (constants.%T.as_type)] { +// CHECK:STDOUT: %T.ref: %facet_type.8cb = name_ref T, @I.%T.loc6_14.2 [symbolic = %T (constants.%T)] +// CHECK:STDOUT: %T.as_type.loc10_22.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc10_22.1 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc10_22.2: type = converted %T.ref, %T.as_type.loc10_22.2 [symbolic = %T.as_type.loc10_22.1 (constants.%T.as_type)] // CHECK:STDOUT: } -// CHECK:STDOUT: %t: @I.WithSelf.TakesT.%T.as_type.loc9_22.1 (%T.as_type) = wrapper_binding t, %t.param +// CHECK:STDOUT: %t: @I.WithSelf.TakesT.%T.as_type.loc10_22.1 (%T.as_type) = wrapper_binding t, %t.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc2.loc9_24.1: @I.WithSelf.%I.assoc_type (%I.assoc_type) = assoc_entity element2, %I.WithSelf.TakesT.decl [symbolic = %assoc2.loc9_24.2 (constants.%assoc2)] -// CHECK:STDOUT: %T.ref: %facet_type.8cb = name_ref T, @I.%T.loc5_14.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %impl.elem0.loc11_16.1: %facet_type.208 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %U.ref: %facet_type.208 = name_ref U, %impl.elem0.loc11_16.1 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %assoc2.loc10_24.1: @I.WithSelf.%I.assoc_type (%I.assoc_type) = assoc_entity element2, %I.WithSelf.TakesT.decl [symbolic = %assoc2.loc10_24.2 (constants.%assoc2)] +// CHECK:STDOUT: %T.ref: %facet_type.8cb = name_ref T, @I.%T.loc6_14.2 [symbolic = %T (constants.%T)] +// CHECK:STDOUT: %impl.elem0.loc12_16.1: %facet_type.208 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_16.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %U.ref: %facet_type.208 = name_ref U, %impl.elem0.loc12_16.1 [symbolic = %impl.elem0.loc12_16.2 (constants.%impl.elem0)] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U.ref [symbolic = %as_type (constants.%as_type)] -// CHECK:STDOUT: %.loc11_16: type = converted %U.ref, %U.as_type [symbolic = %as_type (constants.%as_type)] -// CHECK:STDOUT: %T.as_type.loc11_11.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc11_11.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc11_11: type = converted %T.ref, %T.as_type.loc11_11.1 [symbolic = %T.as_type.loc11_11.2 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc12_16: type = converted %U.ref, %U.as_type [symbolic = %as_type (constants.%as_type)] +// CHECK:STDOUT: %T.as_type.loc12_11.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc12_11.2 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc12_11: type = converted %T.ref, %T.as_type.loc12_11.1 [symbolic = %T.as_type.loc12_11.2 (constants.%T.as_type)] // CHECK:STDOUT: %I.observe.decl = observe_decl @I.observe [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = %Self.loc5_34.1 +// CHECK:STDOUT: .Self = %Self.loc6_34.1 // CHECK:STDOUT: .B = // CHECK:STDOUT: .T = // CHECK:STDOUT: .B = // CHECK:STDOUT: .T = // CHECK:STDOUT: .U = @U.%assoc0 -// CHECK:STDOUT: .GetU = @I.WithSelf.%assoc1.loc8_21.1 -// CHECK:STDOUT: .TakesT = @I.WithSelf.%assoc2.loc9_24.1 +// CHECK:STDOUT: .GetU = @I.WithSelf.%assoc1.loc9_21.1 +// CHECK:STDOUT: .TakesT = @I.WithSelf.%assoc2.loc10_24.1 // CHECK:STDOUT: witness = (@I.WithSelf.%U, @I.WithSelf.%I.WithSelf.GetU.decl, @I.WithSelf.%I.WithSelf.TakesT.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -6005,52 +1086,44 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.GetU(@I.%T.loc5_14.2: %facet_type.8cb, @I.%Self.loc5_34.1: @I.%I.type (%I.type.715)) { +// CHECK:STDOUT: generic fn @I.WithSelf.GetU(@I.%T.loc6_14.2: %facet_type.8cb, @I.%Self.loc6_34.1: @I.%I.type (%I.type.715)) { // CHECK:STDOUT: %T: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.715)] // CHECK:STDOUT: %Self: @I.WithSelf.GetU.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.dca)] -// CHECK:STDOUT: %Self.as_type.loc8_11.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc8_11.1 (constants.%Self.as_type.37b)] -// CHECK:STDOUT: %pattern_type.loc8_11: type = pattern_type %Self.as_type.loc8_11.1 [symbolic = %pattern_type.loc8_11 (constants.%pattern_type.f76)] -// CHECK:STDOUT: %self.param_patt.loc8_11.2: @I.WithSelf.GetU.%pattern_type.loc8_11 (%pattern_type.f76) = value_param_pattern [symbolic = %self.param_patt.loc8_11.2 (constants.%self.param_patt.ee4)] -// CHECK:STDOUT: %self.patt.loc8_11.2: @I.WithSelf.GetU.%pattern_type.loc8_11 (%pattern_type.f76) = at_binding_pattern self, %self.param_patt.loc8_11.2 [symbolic = %self.patt.loc8_11.2 (constants.%self.patt.2e1)] +// CHECK:STDOUT: %Self.as_type.loc9_11.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_11.1 (constants.%Self.as_type.37b)] +// CHECK:STDOUT: %pattern_type.loc9_11: type = pattern_type %Self.as_type.loc9_11.1 [symbolic = %pattern_type.loc9_11 (constants.%pattern_type.f76)] +// CHECK:STDOUT: %self.param_patt.loc9_11.2: @I.WithSelf.GetU.%pattern_type.loc9_11 (%pattern_type.f76) = value_param_pattern [symbolic = %self.param_patt.loc9_11.2 (constants.%self.param_patt.ee4)] +// CHECK:STDOUT: %self.patt.loc9_11.2: @I.WithSelf.GetU.%pattern_type.loc9_11 (%pattern_type.f76) = at_binding_pattern self, %self.param_patt.loc9_11.2 [symbolic = %self.patt.loc9_11.2 (constants.%self.patt.2e1)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self, @I, @I(%T) [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc8_20.1: %facet_type.208 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_20.1 (constants.%impl.elem0)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0.loc8_20.1 [symbolic = %as_type (constants.%as_type)] -// CHECK:STDOUT: %.loc8_20.1: Core.Form = init_form %as_type [symbolic = %.loc8_20.1 (constants.%.344)] -// CHECK:STDOUT: %pattern_type.loc8_20: type = pattern_type %as_type [symbolic = %pattern_type.loc8_20 (constants.%pattern_type.079)] -// CHECK:STDOUT: %return.param_patt.loc8_20.2: @I.WithSelf.GetU.%pattern_type.loc8_20 (%pattern_type.079) = out_param_pattern [symbolic = %return.param_patt.loc8_20.2 (constants.%return.param_patt.82c)] -// CHECK:STDOUT: %return.patt.loc8_17.2: @I.WithSelf.GetU.%pattern_type.loc8_20 (%pattern_type.079) = return_slot_pattern %return.param_patt.loc8_20.2, %as_type [symbolic = %return.patt.loc8_17.2 (constants.%return.patt.4f7)] +// CHECK:STDOUT: %impl.elem0.loc9_20.1: %facet_type.208 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_20.1 (constants.%impl.elem0)] +// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0.loc9_20.1 [symbolic = %as_type (constants.%as_type)] +// CHECK:STDOUT: %.loc9_20.1: Core.Form = init_form %as_type [symbolic = %.loc9_20.1 (constants.%.344)] +// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %as_type [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.079)] +// CHECK:STDOUT: %return.param_patt.loc9_20.2: @I.WithSelf.GetU.%pattern_type.loc9_20 (%pattern_type.079) = out_param_pattern [symbolic = %return.param_patt.loc9_20.2 (constants.%return.param_patt.82c)] +// CHECK:STDOUT: %return.patt.loc9_17.2: @I.WithSelf.GetU.%pattern_type.loc9_20 (%pattern_type.079) = return_slot_pattern %return.param_patt.loc9_20.2, %as_type [symbolic = %return.patt.loc9_17.2 (constants.%return.patt.4f7)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @I.WithSelf.GetU.%Self.as_type.loc8_11.1 (%Self.as_type.37b)) -> out %return.param: @I.WithSelf.GetU.%as_type (%as_type); +// CHECK:STDOUT: fn(%self.param: @I.WithSelf.GetU.%Self.as_type.loc9_11.1 (%Self.as_type.37b)) -> out %return.param: @I.WithSelf.GetU.%as_type (%as_type); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.TakesT(@I.%T.loc5_14.2: %facet_type.8cb, @I.%Self.loc5_34.1: @I.%I.type (%I.type.715)) { +// CHECK:STDOUT: generic fn @I.WithSelf.TakesT(@I.%T.loc6_14.2: %facet_type.8cb, @I.%Self.loc6_34.1: @I.%I.type (%I.type.715)) { // CHECK:STDOUT: %T: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.715)] // CHECK:STDOUT: %Self: @I.WithSelf.TakesT.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.dca)] -// CHECK:STDOUT: %Self.as_type.loc9_13.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_13.1 (constants.%Self.as_type.37b)] -// CHECK:STDOUT: %pattern_type.loc9_13: type = pattern_type %Self.as_type.loc9_13.1 [symbolic = %pattern_type.loc9_13 (constants.%pattern_type.f76)] -// CHECK:STDOUT: %self.param_patt.loc9_13.2: @I.WithSelf.TakesT.%pattern_type.loc9_13 (%pattern_type.f76) = value_param_pattern [symbolic = %self.param_patt.loc9_13.2 (constants.%self.param_patt.ee4)] -// CHECK:STDOUT: %self.patt.loc9_13.2: @I.WithSelf.TakesT.%pattern_type.loc9_13 (%pattern_type.f76) = at_binding_pattern self, %self.param_patt.loc9_13.2 [symbolic = %self.patt.loc9_13.2 (constants.%self.patt.2e1)] -// CHECK:STDOUT: %T.as_type.loc9_22.1: type = facet_access_type %T [symbolic = %T.as_type.loc9_22.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.as_type.loc9_22.1 [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.bc3)] -// CHECK:STDOUT: %t.param_patt.loc9_20.2: @I.WithSelf.TakesT.%pattern_type.loc9_20 (%pattern_type.bc3) = value_param_pattern [symbolic = %t.param_patt.loc9_20.2 (constants.%t.param_patt)] -// CHECK:STDOUT: %t.patt.loc9_20.2: @I.WithSelf.TakesT.%pattern_type.loc9_20 (%pattern_type.bc3) = at_binding_pattern t, %t.param_patt.loc9_20.2 [symbolic = %t.patt.loc9_20.2 (constants.%t.patt)] +// CHECK:STDOUT: %Self.as_type.loc10_13.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc10_13.1 (constants.%Self.as_type.37b)] +// CHECK:STDOUT: %pattern_type.loc10_13: type = pattern_type %Self.as_type.loc10_13.1 [symbolic = %pattern_type.loc10_13 (constants.%pattern_type.f76)] +// CHECK:STDOUT: %self.param_patt.loc10_13.2: @I.WithSelf.TakesT.%pattern_type.loc10_13 (%pattern_type.f76) = value_param_pattern [symbolic = %self.param_patt.loc10_13.2 (constants.%self.param_patt.ee4)] +// CHECK:STDOUT: %self.patt.loc10_13.2: @I.WithSelf.TakesT.%pattern_type.loc10_13 (%pattern_type.f76) = at_binding_pattern self, %self.param_patt.loc10_13.2 [symbolic = %self.patt.loc10_13.2 (constants.%self.patt.2e1)] +// CHECK:STDOUT: %T.as_type.loc10_22.1: type = facet_access_type %T [symbolic = %T.as_type.loc10_22.1 (constants.%T.as_type)] +// CHECK:STDOUT: %pattern_type.loc10_20: type = pattern_type %T.as_type.loc10_22.1 [symbolic = %pattern_type.loc10_20 (constants.%pattern_type.bc3)] +// CHECK:STDOUT: %t.param_patt.loc10_20.2: @I.WithSelf.TakesT.%pattern_type.loc10_20 (%pattern_type.bc3) = value_param_pattern [symbolic = %t.param_patt.loc10_20.2 (constants.%t.param_patt)] +// CHECK:STDOUT: %t.patt.loc10_20.2: @I.WithSelf.TakesT.%pattern_type.loc10_20 (%pattern_type.bc3) = at_binding_pattern t, %t.param_patt.loc10_20.2 [symbolic = %t.patt.loc10_20.2 (constants.%t.patt)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @I.WithSelf.TakesT.%Self.as_type.loc9_13.1 (%Self.as_type.37b), %t.param: @I.WithSelf.TakesT.%T.as_type.loc9_22.1 (%T.as_type)); -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.d0c) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.b45) { -// CHECK:STDOUT: !definition: +// CHECK:STDOUT: fn(%self.param: @I.WithSelf.TakesT.%Self.as_type.loc10_13.1 (%Self.as_type.37b), %t.param: @I.WithSelf.TakesT.%T.as_type.loc10_22.1 (%T.as_type)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T) { -// CHECK:STDOUT: %T.patt.loc5_14.2 => constants.%T.patt -// CHECK:STDOUT: %T.loc5_14.1 => constants.%T +// CHECK:STDOUT: %T.patt.loc6_14.2 => constants.%T.patt +// CHECK:STDOUT: %T.loc6_14.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.dca) {} @@ -6059,522 +1132,30 @@ fn F[T: I(C)](t: T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %I.type => constants.%I.type.715 // CHECK:STDOUT: %Self => constants.%Self.dca -// CHECK:STDOUT: %Self.as_type.loc8_11.1 => constants.%Self.as_type.37b -// CHECK:STDOUT: %pattern_type.loc8_11 => constants.%pattern_type.f76 -// CHECK:STDOUT: %self.param_patt.loc8_11.2 => constants.%self.param_patt.ee4 -// CHECK:STDOUT: %self.patt.loc8_11.2 => constants.%self.patt.2e1 +// CHECK:STDOUT: %Self.as_type.loc9_11.1 => constants.%Self.as_type.37b +// CHECK:STDOUT: %pattern_type.loc9_11 => constants.%pattern_type.f76 +// CHECK:STDOUT: %self.param_patt.loc9_11.2 => constants.%self.param_patt.ee4 +// CHECK:STDOUT: %self.patt.loc9_11.2 => constants.%self.patt.2e1 // CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness -// CHECK:STDOUT: %impl.elem0.loc8_20.1 => constants.%impl.elem0 +// CHECK:STDOUT: %impl.elem0.loc9_20.1 => constants.%impl.elem0 // CHECK:STDOUT: %as_type => constants.%as_type -// CHECK:STDOUT: %.loc8_20.1 => constants.%.344 -// CHECK:STDOUT: %pattern_type.loc8_20 => constants.%pattern_type.079 -// CHECK:STDOUT: %return.param_patt.loc8_20.2 => constants.%return.param_patt.82c -// CHECK:STDOUT: %return.patt.loc8_17.2 => constants.%return.patt.4f7 +// CHECK:STDOUT: %.loc9_20.1 => constants.%.344 +// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.079 +// CHECK:STDOUT: %return.param_patt.loc9_20.2 => constants.%return.param_patt.82c +// CHECK:STDOUT: %return.patt.loc9_17.2 => constants.%return.patt.4f7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.TakesT(constants.%T, constants.%Self.dca) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %I.type => constants.%I.type.715 // CHECK:STDOUT: %Self => constants.%Self.dca -// CHECK:STDOUT: %Self.as_type.loc9_13.1 => constants.%Self.as_type.37b -// CHECK:STDOUT: %pattern_type.loc9_13 => constants.%pattern_type.f76 -// CHECK:STDOUT: %self.param_patt.loc9_13.2 => constants.%self.param_patt.ee4 -// CHECK:STDOUT: %self.patt.loc9_13.2 => constants.%self.patt.2e1 -// CHECK:STDOUT: %T.as_type.loc9_22.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.bc3 -// CHECK:STDOUT: %t.param_patt.loc9_20.2 => constants.%t.param_patt -// CHECK:STDOUT: %t.patt.loc9_20.2 => constants.%t.patt -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: --- fail_todo_generic_import.carbon -// CHECK:STDOUT: -// CHECK:STDOUT: constants { -// CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.626: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %A.impl_witness: = impl_witness @C.as.A.impl.%A.impl_witness_table [concrete] -// CHECK:STDOUT: %A.facet: %A.type = facet_value %C, (%A.impl_witness) [concrete] -// CHECK:STDOUT: %type: type = facet_type [concrete] -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %I.type.335: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.generic: %I.type.335 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %facet_type.8cb: type = facet_type <@A & @Destroy> [concrete] -// CHECK:STDOUT: %T.2b7: %facet_type.8cb = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.715: type = facet_type <@I, @I(%T.2b7)> [symbolic] -// CHECK:STDOUT: %pattern_type.827: type = pattern_type %facet_type.8cb [concrete] -// CHECK:STDOUT: %T.patt.196: %pattern_type.827 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %Self.a17: %I.type.715 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.lookup_impl_witness.530: = lookup_impl_witness %Self.a17, @I, @I(%T.2b7) [symbolic] -// CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.ed4: %B.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %facet_type.0e2: type = facet_type <@Destroy & @B where TODO> [concrete] -// CHECK:STDOUT: %impl.elem0.0fe: %facet_type.0e2 = impl_witness_access %I.lookup_impl_witness.530, element0 [symbolic] -// CHECK:STDOUT: %T.as_type.64c: type = facet_access_type %T.2b7 [symbolic] -// CHECK:STDOUT: %as_type.b29: type = facet_access_type %impl.elem0.0fe [symbolic] -// CHECK:STDOUT: %I.assoc_type.233: type = assoc_entity_type @I, @I(%T.2b7) [symbolic] -// CHECK:STDOUT: %I.WithSelf.TakesT.type.74f: type = fn_type @I.WithSelf.TakesT, @I.WithSelf(%T.2b7, %Self.a17) [symbolic] -// CHECK:STDOUT: %I.WithSelf.TakesT.406: %I.WithSelf.TakesT.type.74f = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.1df: type = facet_access_type %Self.a17 [symbolic] -// CHECK:STDOUT: %pattern_type.e16: type = pattern_type %Self.as_type.1df [symbolic] -// CHECK:STDOUT: %self.param_patt.306: %pattern_type.e16 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.cad: %pattern_type.e16 = at_binding_pattern self, %self.param_patt.306 [symbolic] -// CHECK:STDOUT: %pattern_type.bc3: type = pattern_type %T.as_type.64c [symbolic] -// CHECK:STDOUT: %t.param_patt.2bb: %pattern_type.bc3 = value_param_pattern [symbolic] -// CHECK:STDOUT: %t.patt.974: %pattern_type.bc3 = at_binding_pattern t, %t.param_patt.2bb [symbolic] -// CHECK:STDOUT: %I.WithSelf.GetU.type.841: type = fn_type @I.WithSelf.GetU, @I.WithSelf(%T.2b7, %Self.a17) [symbolic] -// CHECK:STDOUT: %I.WithSelf.GetU.7cf: %I.WithSelf.GetU.type.841 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.304: type = pattern_type %as_type.b29 [symbolic] -// CHECK:STDOUT: %return.param_patt.8e4: %pattern_type.304 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.9ec: %pattern_type.304 = return_slot_pattern %return.param_patt.8e4, invalid [symbolic] -// CHECK:STDOUT: %.c94: Core.Form = init_form %as_type.b29 [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.1d8f74.2: type = fn_type @Destroy.Op.loc8_12.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1a2547.2: %Destroy.Op.type.1d8f74.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.df9cc1.2: = custom_witness (%Destroy.Op.1a2547.2), @Destroy [concrete] -// CHECK:STDOUT: %facet_value: %facet_type.8cb = facet_value %C, (%A.impl_witness, %custom_witness.df9cc1.2) [concrete] -// CHECK:STDOUT: %I.type.8a7: type = facet_type <@I, @I(%facet_value)> [concrete] -// CHECK:STDOUT: %pattern_type.7b0: type = pattern_type %I.type.8a7 [concrete] -// CHECK:STDOUT: %T.patt.fb5: %pattern_type.7b0 = symbolic_binding_pattern T, 0 [symbolic] -// CHECK:STDOUT: %T.e69: %I.type.8a7 = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Self.3ca: %I.type.8a7 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.assoc_type.cf6: type = assoc_entity_type @I, @I(%facet_value) [concrete] -// CHECK:STDOUT: %assoc0.64a: %I.assoc_type.cf6 = assoc_entity element0, imports.%Main.import_ref.bda [concrete] -// CHECK:STDOUT: %I.WithSelf.GetU.type.0c5: type = fn_type @I.WithSelf.GetU, @I.WithSelf(%facet_value, %Self.a17) [symbolic] -// CHECK:STDOUT: %I.WithSelf.GetU.878: %I.WithSelf.GetU.type.0c5 = struct_value () [symbolic] -// CHECK:STDOUT: %assoc1.9b4: %I.assoc_type.cf6 = assoc_entity element1, imports.%Main.import_ref.1a4 [concrete] -// CHECK:STDOUT: %I.WithSelf.TakesT.type.bd4: type = fn_type @I.WithSelf.TakesT, @I.WithSelf(%facet_value, %Self.a17) [symbolic] -// CHECK:STDOUT: %I.WithSelf.TakesT.148: %I.WithSelf.TakesT.type.bd4 = struct_value () [symbolic] -// CHECK:STDOUT: %assoc2.e5d: %I.assoc_type.cf6 = assoc_entity element2, imports.%Main.import_ref.93b [concrete] -// CHECK:STDOUT: %I.lookup_impl_witness.c15: = lookup_impl_witness %Self.a17, @I, @I(%facet_value) [symbolic] -// CHECK:STDOUT: %impl.elem0.a31: %facet_type.0e2 = impl_witness_access %I.lookup_impl_witness.c15, element0 [symbolic] -// CHECK:STDOUT: %as_type.7cc: type = facet_access_type %impl.elem0.a31 [symbolic] -// CHECK:STDOUT: %eq.f2b = observe_equivalent %facet_value, %impl.elem0.a31 [symbolic] -// CHECK:STDOUT: %T.as_type.a68: type = facet_access_type %T.e69 [symbolic] -// CHECK:STDOUT: %pattern_type.cf2: type = pattern_type %T.as_type.a68 [symbolic] -// CHECK:STDOUT: %t.param_patt.135: %pattern_type.cf2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %t.patt.1b6: %pattern_type.cf2 = at_binding_pattern t, %t.param_patt.135 [symbolic] -// CHECK:STDOUT: %F.type: type = fn_type @F [concrete] -// CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.3ae: = require_complete_type %T.as_type.a68 [symbolic] -// CHECK:STDOUT: %I.WithSelf.GetU.type.fd3: type = fn_type @I.WithSelf.GetU, @I.WithSelf(%facet_value, %T.e69) [symbolic] -// CHECK:STDOUT: %I.WithSelf.GetU.01c: %I.WithSelf.GetU.type.fd3 = struct_value () [symbolic] -// CHECK:STDOUT: %I.WithSelf.TakesT.type.f2f: type = fn_type @I.WithSelf.TakesT, @I.WithSelf(%facet_value, %T.e69) [symbolic] -// CHECK:STDOUT: %I.WithSelf.TakesT.9b6: %I.WithSelf.TakesT.type.f2f = struct_value () [symbolic] -// CHECK:STDOUT: %I.lookup_impl_witness.919: = lookup_impl_witness %T.e69, @I, @I(%facet_value) [symbolic] -// CHECK:STDOUT: %impl.elem0.ae2: %facet_type.0e2 = impl_witness_access %I.lookup_impl_witness.919, element0 [symbolic] -// CHECK:STDOUT: %as_type.93c: type = facet_access_type %impl.elem0.ae2 [symbolic] -// CHECK:STDOUT: %eq.e81 = observe_equivalent %facet_value, %impl.elem0.ae2 [symbolic] -// CHECK:STDOUT: %assoc0.aac: %I.assoc_type.233 = assoc_entity element0, imports.%Main.import_ref.4e9 [symbolic] -// CHECK:STDOUT: %require_complete.47f: = require_complete_type %as_type.93c [symbolic] -// CHECK:STDOUT: %pattern_type.439: type = pattern_type %as_type.93c [symbolic] -// CHECK:STDOUT: %u.patt: %pattern_type.439 = ref_binding_pattern u [symbolic] -// CHECK:STDOUT: %u.var_patt: %pattern_type.439 = var_pattern %u.patt [symbolic] -// CHECK:STDOUT: %assoc1.8f3: %I.assoc_type.233 = assoc_entity element1, imports.%Main.import_ref.1c1 [symbolic] -// CHECK:STDOUT: %.086: type = fn_type_with_self_type %I.WithSelf.GetU.type.fd3, %T.e69 [symbolic] -// CHECK:STDOUT: %impl.elem1: %.086 = impl_witness_access %I.lookup_impl_witness.919, element1 [symbolic] -// CHECK:STDOUT: %self.param_patt.8a4: %pattern_type.cf2 = value_param_pattern [symbolic] -// CHECK:STDOUT: %self.patt.1fe: %pattern_type.cf2 = at_binding_pattern self, %self.param_patt.8a4 [symbolic] -// CHECK:STDOUT: %.295: Core.Form = init_form %as_type.93c [symbolic] -// CHECK:STDOUT: %return.param_patt.099: %pattern_type.439 = out_param_pattern [symbolic] -// CHECK:STDOUT: %return.patt.b38: %pattern_type.439 = return_slot_pattern %return.param_patt.099, invalid [symbolic] -// CHECK:STDOUT: %specific_impl_fn.87f: = specific_impl_function %impl.elem1, @I.WithSelf.GetU(%facet_value, %T.e69) [symbolic] -// CHECK:STDOUT: %assoc2.f3c: %I.assoc_type.233 = assoc_entity element2, imports.%Main.import_ref.133 [symbolic] -// CHECK:STDOUT: %.dea: type = fn_type_with_self_type %I.WithSelf.TakesT.type.f2f, %T.e69 [symbolic] -// CHECK:STDOUT: %impl.elem2: %.dea = impl_witness_access %I.lookup_impl_witness.919, element2 [symbolic] -// CHECK:STDOUT: %facet_type.22d: type = facet_type <@Destroy & @B> [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %impl.elem0.ae2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.707: %Destroy.type = facet_value %as_type.93c, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.83d: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.707) [symbolic] -// CHECK:STDOUT: %.8d3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.83d, %Destroy.facet.707 [symbolic] -// CHECK:STDOUT: %impl.elem0.706: %.8d3 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.977: = specific_impl_function %impl.elem0.706, @Destroy.WithSelf.Op(%Destroy.facet.707) [symbolic] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.A: type = import_ref Main//generic_observe, A, loaded [concrete = constants.%A.type] -// CHECK:STDOUT: %Main.B = import_ref Main//generic_observe, B, unloaded -// CHECK:STDOUT: %Main.I: %I.type.335 = import_ref Main//generic_observe, I, loaded [concrete = constants.%I.generic] -// CHECK:STDOUT: %Core.048aa3.1: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .Destroy = %Core.Destroy -// CHECK:STDOUT: import Core//prelude -// CHECK:STDOUT: import Core//prelude/... -// CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.0a1 = import_ref Main//generic_observe, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.327: @I.WithSelf.%I.assoc_type (%I.assoc_type.233) = import_ref Main//generic_observe, loc6_8, loaded [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.aac)] -// CHECK:STDOUT: %Main.import_ref.c5a: @I.WithSelf.%I.assoc_type (%I.assoc_type.233) = import_ref Main//generic_observe, loc8_21, loaded [symbolic = @I.WithSelf.%assoc1 (constants.%assoc1.8f3)] -// CHECK:STDOUT: %Main.import_ref.f14: @I.WithSelf.%I.assoc_type (%I.assoc_type.233) = import_ref Main//generic_observe, loc9_24, loaded [symbolic = @I.WithSelf.%assoc2 (constants.%assoc2.f3c)] -// CHECK:STDOUT: %Main.U = import_ref Main//generic_observe, U, unloaded -// CHECK:STDOUT: %Main.GetU = import_ref Main//generic_observe, GetU, unloaded -// CHECK:STDOUT: %Main.TakesT = import_ref Main//generic_observe, TakesT, unloaded -// CHECK:STDOUT: %Main.import_ref.c07 = import_ref Main//generic_observe, loc4_13, unloaded -// CHECK:STDOUT: %Main.import_ref.93b: @I.WithSelf.%I.WithSelf.TakesT.type (%I.WithSelf.TakesT.type.74f) = import_ref Main//generic_observe, loc9_24, loaded [symbolic = @I.WithSelf.%I.WithSelf.TakesT (constants.%I.WithSelf.TakesT.406)] -// CHECK:STDOUT: %Main.import_ref.10abc5.2: %facet_type.8cb = import_ref Main//generic_observe, loc5_14, loaded [symbolic = @I.%T (constants.%T.2b7)] -// CHECK:STDOUT: %Main.import_ref.563720.2: @I.%I.type (%I.type.715) = import_ref Main//generic_observe, loc5_34, loaded [symbolic = @I.%Self (constants.%Self.a17)] -// CHECK:STDOUT: %Main.import_ref.1a4: @I.WithSelf.%I.WithSelf.GetU.type (%I.WithSelf.GetU.type.841) = import_ref Main//generic_observe, loc8_21, loaded [symbolic = @I.WithSelf.%I.WithSelf.GetU (constants.%I.WithSelf.GetU.7cf)] -// CHECK:STDOUT: %Main.import_ref.10abc5.3: %facet_type.8cb = import_ref Main//generic_observe, loc5_14, loaded [symbolic = @I.%T (constants.%T.2b7)] -// CHECK:STDOUT: %Main.import_ref.563720.3: @I.%I.type (%I.type.715) = import_ref Main//generic_observe, loc5_34, loaded [symbolic = @I.%Self (constants.%Self.a17)] -// CHECK:STDOUT: %Main.import_ref.bda: %facet_type.0e2 = import_ref Main//generic_observe, loc6_8, loaded [concrete = %U] -// CHECK:STDOUT: %Main.import_ref.603 = import_ref Main//generic_observe, loc5_34, unloaded -// CHECK:STDOUT: %Main.import_ref.10abc5.4: %facet_type.8cb = import_ref Main//generic_observe, loc5_14, loaded [symbolic = @I.%T (constants.%T.2b7)] -// CHECK:STDOUT: %Main.import_ref.4e9 = import_ref Main//generic_observe, loc6_8, unloaded -// CHECK:STDOUT: %U: %facet_type.0e2 = assoc_const_decl @U [concrete] {} -// CHECK:STDOUT: %Main.import_ref.1c1 = import_ref Main//generic_observe, loc8_21, unloaded -// CHECK:STDOUT: %Main.import_ref.133 = import_ref Main//generic_observe, loc9_24, unloaded -// CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: file { -// CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .A = imports.%Main.A -// CHECK:STDOUT: .B = imports.%Main.B -// CHECK:STDOUT: .I = imports.%Main.I -// CHECK:STDOUT: .Core = imports.%Core.048aa3.1 -// CHECK:STDOUT: .C = %C.decl -// CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %default.import = import -// CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: impl_decl @C.as.A.impl [concrete] {} { -// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A.type] -// CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt.loc8_7.1: %pattern_type.7b0 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_7.2 (constants.%T.patt.fb5)] -// CHECK:STDOUT: %t.param_patt.loc8_16.1: @F.%pattern_type.loc8 (%pattern_type.cf2) = value_param_pattern [symbolic = %t.param_patt.loc8_16.2 (constants.%t.param_patt.135)] -// CHECK:STDOUT: %t.patt.loc8_16.1: @F.%pattern_type.loc8 (%pattern_type.cf2) = at_binding_pattern t, %t.param_patt.loc8_16.1 [symbolic = %t.patt.loc8_16.2 (constants.%t.patt.1b6)] -// CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc8_12.1: type = splice_block %I.type [concrete = constants.%I.type.8a7] { -// CHECK:STDOUT: %.Self.frozen: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.frozen] -// CHECK:STDOUT: %I.ref: %I.type.335 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] -// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %facet_value: %facet_type.8cb = facet_value %C.ref, (constants.%A.impl_witness, constants.%custom_witness.df9cc1.2) [concrete = constants.%facet_value] -// CHECK:STDOUT: %.loc8_12.2: %facet_type.8cb = converted %C.ref, %facet_value [concrete = constants.%facet_value] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%facet_value)> [concrete = constants.%I.type.8a7] -// CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc8_7.2: %I.type.8a7 = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T.e69)] -// CHECK:STDOUT: %t.param: @F.%T.as_type.loc8_18.1 (%T.as_type.a68) = value_param call_param0 -// CHECK:STDOUT: %.loc8_18.1: type = splice_block %.loc8_18.2 [symbolic = %T.as_type.loc8_18.1 (constants.%T.as_type.a68)] { -// CHECK:STDOUT: %T.ref.loc8: %I.type.8a7 = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T.e69)] -// CHECK:STDOUT: %T.as_type.loc8_18.2: type = facet_access_type %T.ref.loc8 [symbolic = %T.as_type.loc8_18.1 (constants.%T.as_type.a68)] -// CHECK:STDOUT: %.loc8_18.2: type = converted %T.ref.loc8, %T.as_type.loc8_18.2 [symbolic = %T.as_type.loc8_18.1 (constants.%T.as_type.a68)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %t: @F.%T.as_type.loc8_18.1 (%T.as_type.a68) = wrapper_binding t, %t.param -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @A [from "generic_observe.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.0a1 -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic interface @I(imports.%Main.import_ref.10abc5.4: %facet_type.8cb) [from "generic_observe.carbon"] { -// CHECK:STDOUT: %T.patt: %pattern_type.827 = symbolic_binding_pattern T, 0 [symbolic = %T.patt (constants.%T.patt.196)] -// CHECK:STDOUT: %T: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T (constants.%T.2b7)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.715)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.a17)] -// CHECK:STDOUT: -// CHECK:STDOUT: interface { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.603 -// CHECK:STDOUT: .U = imports.%Main.import_ref.327 -// CHECK:STDOUT: .GetU = imports.%Main.import_ref.c5a -// CHECK:STDOUT: .TakesT = imports.%Main.import_ref.f14 -// CHECK:STDOUT: witness = (imports.%Main.U, imports.%Main.GetU, imports.%Main.TakesT) -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: @I.observe { -// CHECK:STDOUT: observe constants.%T.2b7 == constants.%impl.elem0.0fe -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: interface @B [from "generic_observe.carbon"] { -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.c07 -// CHECK:STDOUT: witness = () -// CHECK:STDOUT: -// CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.A.impl: %C.ref as %A.ref { -// CHECK:STDOUT: %A.impl_witness_table = impl_witness_table (), @C.as.A.impl [concrete] -// CHECK:STDOUT: %A.impl_witness: = impl_witness %A.impl_witness_table [concrete = constants.%A.impl_witness] -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: extend %A.ref -// CHECK:STDOUT: witness = %A.impl_witness -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: class @C { -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type] -// CHECK:STDOUT: complete_type_witness = %complete_type -// CHECK:STDOUT: -// CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.TakesT(imports.%Main.import_ref.10abc5.2: %facet_type.8cb, imports.%Main.import_ref.563720.2: @I.%I.type (%I.type.715)) [from "generic_observe.carbon"] { -// CHECK:STDOUT: %T: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T (constants.%T.2b7)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.715)] -// CHECK:STDOUT: %Self: @I.WithSelf.TakesT.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.a17)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.1df)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.e16)] -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.TakesT.%pattern_type.1 (%pattern_type.e16) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.306)] -// CHECK:STDOUT: %self.patt: @I.WithSelf.TakesT.%pattern_type.1 (%pattern_type.e16) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.cad)] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic = %T.as_type (constants.%T.as_type.64c)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %T.as_type [symbolic = %pattern_type.2 (constants.%pattern_type.bc3)] -// CHECK:STDOUT: %t.param_patt: @I.WithSelf.TakesT.%pattern_type.2 (%pattern_type.bc3) = value_param_pattern [symbolic = %t.param_patt (constants.%t.param_patt.2bb)] -// CHECK:STDOUT: %t.patt: @I.WithSelf.TakesT.%pattern_type.2 (%pattern_type.bc3) = at_binding_pattern t, %t.param_patt [symbolic = %t.patt (constants.%t.patt.974)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.GetU(imports.%Main.import_ref.10abc5.3: %facet_type.8cb, imports.%Main.import_ref.563720.3: @I.%I.type (%I.type.715)) [from "generic_observe.carbon"] { -// CHECK:STDOUT: %T: %facet_type.8cb = symbolic_binding T, 0 [symbolic = %T (constants.%T.2b7)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.715)] -// CHECK:STDOUT: %Self: @I.WithSelf.GetU.%I.type (%I.type.715) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.a17)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.1df)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.e16)] -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.GetU.%pattern_type.1 (%pattern_type.e16) = value_param_pattern [symbolic = %self.param_patt (constants.%self.param_patt.306)] -// CHECK:STDOUT: %self.patt: @I.WithSelf.GetU.%pattern_type.1 (%pattern_type.e16) = at_binding_pattern self, %self.param_patt [symbolic = %self.patt (constants.%self.patt.cad)] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self, @I, @I(%T) [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness.530)] -// CHECK:STDOUT: %impl.elem0: %facet_type.0e2 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.0fe)] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0 [symbolic = %as_type (constants.%as_type.b29)] -// CHECK:STDOUT: %.1: Core.Form = init_form %as_type [symbolic = %.1 (constants.%.c94)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %as_type [symbolic = %pattern_type.2 (constants.%pattern_type.304)] -// CHECK:STDOUT: %return.param_patt: @I.WithSelf.GetU.%pattern_type.2 (%pattern_type.304) = out_param_pattern [symbolic = %return.param_patt (constants.%return.param_patt.8e4)] -// CHECK:STDOUT: %return.patt: @I.WithSelf.GetU.%pattern_type.2 (%pattern_type.304) = return_slot_pattern %return.param_patt, invalid [symbolic = %return.patt (constants.%return.patt.9ec)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn; -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_12.1(%self.param: ref %empty_struct_type) = "no_op"; -// CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_12.2(%self.param: ref %C) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc8_7.2: %I.type.8a7) { -// CHECK:STDOUT: %T.patt.loc8_7.2: %pattern_type.7b0 = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_7.2 (constants.%T.patt.fb5)] -// CHECK:STDOUT: %T.loc8_7.1: %I.type.8a7 = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T.e69)] -// CHECK:STDOUT: %T.as_type.loc8_18.1: type = facet_access_type %T.loc8_7.1 [symbolic = %T.as_type.loc8_18.1 (constants.%T.as_type.a68)] -// CHECK:STDOUT: %pattern_type.loc8: type = pattern_type %T.as_type.loc8_18.1 [symbolic = %pattern_type.loc8 (constants.%pattern_type.cf2)] -// CHECK:STDOUT: %t.param_patt.loc8_16.2: @F.%pattern_type.loc8 (%pattern_type.cf2) = value_param_pattern [symbolic = %t.param_patt.loc8_16.2 (constants.%t.param_patt.135)] -// CHECK:STDOUT: %t.patt.loc8_16.2: @F.%pattern_type.loc8 (%pattern_type.cf2) = at_binding_pattern t, %t.param_patt.loc8_16.2 [symbolic = %t.patt.loc8_16.2 (constants.%t.patt.1b6)] -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc8: = require_complete_type %T.as_type.loc8_18.1 [symbolic = %require_complete.loc8 (constants.%require_complete.3ae)] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc8_7.1, @I, @I(constants.%facet_value) [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness.919)] -// CHECK:STDOUT: %impl.elem0.loc9_11.2: %facet_type.0e2 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_11.2 (constants.%impl.elem0.ae2)] -// CHECK:STDOUT: %as_type.loc9_11.2: type = facet_access_type %impl.elem0.loc9_11.2 [symbolic = %as_type.loc9_11.2 (constants.%as_type.93c)] -// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %as_type.loc9_11.2 [symbolic = %require_complete.loc9 (constants.%require_complete.47f)] -// CHECK:STDOUT: %pattern_type.loc9: type = pattern_type %as_type.loc9_11.2 [symbolic = %pattern_type.loc9 (constants.%pattern_type.439)] -// CHECK:STDOUT: %u.patt.loc9_8.2: @F.%pattern_type.loc9 (%pattern_type.439) = ref_binding_pattern u [symbolic = %u.patt.loc9_8.2 (constants.%u.patt)] -// CHECK:STDOUT: %u.var_patt.loc9_3.2: @F.%pattern_type.loc9 (%pattern_type.439) = var_pattern %u.patt.loc9_8.2 [symbolic = %u.var_patt.loc9_3.2 (constants.%u.var_patt)] -// CHECK:STDOUT: %I.WithSelf.GetU.type: type = fn_type @I.WithSelf.GetU, @I.WithSelf(constants.%facet_value, %T.loc8_7.1) [symbolic = %I.WithSelf.GetU.type (constants.%I.WithSelf.GetU.type.fd3)] -// CHECK:STDOUT: %.loc9_17.2: type = fn_type_with_self_type %I.WithSelf.GetU.type, %T.loc8_7.1 [symbolic = %.loc9_17.2 (constants.%.086)] -// CHECK:STDOUT: %impl.elem1.loc9_17.2: @F.%.loc9_17.2 (%.086) = impl_witness_access %I.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc9_17.2 (constants.%impl.elem1)] -// CHECK:STDOUT: %specific_impl_fn.loc9_17.2: = specific_impl_function %impl.elem1.loc9_17.2, @I.WithSelf.GetU(constants.%facet_value, %T.loc8_7.1) [symbolic = %specific_impl_fn.loc9_17.2 (constants.%specific_impl_fn.87f)] -// CHECK:STDOUT: %I.WithSelf.TakesT.type: type = fn_type @I.WithSelf.TakesT, @I.WithSelf(constants.%facet_value, %T.loc8_7.1) [symbolic = %I.WithSelf.TakesT.type (constants.%I.WithSelf.TakesT.type.f2f)] -// CHECK:STDOUT: %.loc19_4.2: type = fn_type_with_self_type %I.WithSelf.TakesT.type, %T.loc8_7.1 [symbolic = %.loc19_4.2 (constants.%.dea)] -// CHECK:STDOUT: %impl.elem2.loc19_4.2: @F.%.loc19_4.2 (%.dea) = impl_witness_access %I.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc19_4.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %impl.elem0.loc9_11.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet.loc9_3.3: %Destroy.type = facet_value %as_type.loc9_11.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc9_3.3 (constants.%Destroy.facet.707)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc9_3.3) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.83d)] -// CHECK:STDOUT: %.loc9_3.4: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet.loc9_3.3 [symbolic = %.loc9_3.4 (constants.%.8d3)] -// CHECK:STDOUT: %impl.elem0.loc9_3.2: @F.%.loc9_3.4 (%.8d3) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_3.2 (constants.%impl.elem0.706)] -// CHECK:STDOUT: %specific_impl_fn.loc9_3.2: = specific_impl_function %impl.elem0.loc9_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc9_3.3) [symbolic = %specific_impl_fn.loc9_3.2 (constants.%specific_impl_fn.977)] -// CHECK:STDOUT: -// CHECK:STDOUT: fn(%t.param: @F.%T.as_type.loc8_18.1 (%T.as_type.a68)) { -// CHECK:STDOUT: !entry: -// CHECK:STDOUT: %u.var: ref @F.%as_type.loc9_11.2 (%as_type.93c) = var_storage %u.var_patt.loc9_3.1 -// CHECK:STDOUT: %t.ref.loc9: @F.%T.as_type.loc8_18.1 (%T.as_type.a68) = name_ref t, %t -// CHECK:STDOUT: %.loc9_17.1: %I.assoc_type.cf6 = specific_constant imports.%Main.import_ref.c5a, @I.WithSelf(constants.%facet_value, constants.%T.e69) [concrete = constants.%assoc1.9b4] -// CHECK:STDOUT: %GetU.ref: %I.assoc_type.cf6 = name_ref GetU, %.loc9_17.1 [concrete = constants.%assoc1.9b4] -// CHECK:STDOUT: %impl.elem1.loc9_17.1: @F.%.loc9_17.2 (%.086) = impl_witness_access constants.%I.lookup_impl_witness.919, element1 [symbolic = %impl.elem1.loc9_17.2 (constants.%impl.elem1)] -// CHECK:STDOUT: %bound_method.loc9_17: = bound_method %t.ref.loc9, %impl.elem1.loc9_17.1 -// CHECK:STDOUT: %specific_impl_fn.loc9_17.1: = specific_impl_function %impl.elem1.loc9_17.1, @I.WithSelf.GetU(constants.%facet_value, constants.%T.e69) [symbolic = %specific_impl_fn.loc9_17.2 (constants.%specific_impl_fn.87f)] -// CHECK:STDOUT: %bound_method.loc9_23: = bound_method %t.ref.loc9, %specific_impl_fn.loc9_17.1 -// CHECK:STDOUT: %.loc9_3.1: ref @F.%as_type.loc9_11.2 (%as_type.93c) = splice_block %u.var {} -// CHECK:STDOUT: %I.WithSelf.GetU.call: init @F.%as_type.loc9_11.2 (%as_type.93c) to %.loc9_3.1 = call %bound_method.loc9_23(%t.ref.loc9) -// CHECK:STDOUT: assign %u.var, %I.WithSelf.GetU.call -// CHECK:STDOUT: %.loc9_11.1: type = splice_block %.loc9_11.4 [symbolic = %as_type.loc9_11.2 (constants.%as_type.93c)] { -// CHECK:STDOUT: %T.ref.loc9: %I.type.8a7 = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T.e69)] -// CHECK:STDOUT: %T.as_type.loc9: type = facet_access_type %T.ref.loc9 [symbolic = %T.as_type.loc8_18.1 (constants.%T.as_type.a68)] -// CHECK:STDOUT: %.loc9_11.2: type = converted %T.ref.loc9, %T.as_type.loc9 [symbolic = %T.as_type.loc8_18.1 (constants.%T.as_type.a68)] -// CHECK:STDOUT: %.loc9_11.3: %I.assoc_type.cf6 = specific_constant imports.%Main.import_ref.327, @I.WithSelf(constants.%facet_value, constants.%T.e69) [concrete = constants.%assoc0.64a] -// CHECK:STDOUT: %U.ref: %I.assoc_type.cf6 = name_ref U, %.loc9_11.3 [concrete = constants.%assoc0.64a] -// CHECK:STDOUT: %impl.elem0.loc9_11.1: %facet_type.0e2 = impl_witness_access constants.%I.lookup_impl_witness.919, element0 [symbolic = %impl.elem0.loc9_11.2 (constants.%impl.elem0.ae2)] -// CHECK:STDOUT: %as_type.loc9_11.1: type = facet_access_type %impl.elem0.loc9_11.1 [symbolic = %as_type.loc9_11.2 (constants.%as_type.93c)] -// CHECK:STDOUT: %.loc9_11.4: type = converted %impl.elem0.loc9_11.1, %as_type.loc9_11.1 [symbolic = %as_type.loc9_11.2 (constants.%as_type.93c)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %u: ref @F.%as_type.loc9_11.2 (%as_type.93c) = wrapper_binding u, %u.var -// CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %u.patt.loc9_8.1: @F.%pattern_type.loc9 (%pattern_type.439) = ref_binding_pattern u [symbolic = %u.patt.loc9_8.2 (constants.%u.patt)] -// CHECK:STDOUT: %u.var_patt.loc9_3.1: @F.%pattern_type.loc9 (%pattern_type.439) = var_pattern %u.patt.loc9_8.1 [symbolic = %u.var_patt.loc9_3.2 (constants.%u.var_patt)] -// CHECK:STDOUT: } -// CHECK:STDOUT: %t.ref.loc19: @F.%T.as_type.loc8_18.1 (%T.as_type.a68) = name_ref t, %t -// CHECK:STDOUT: %.loc19_4.1: %I.assoc_type.cf6 = specific_constant imports.%Main.import_ref.f14, @I.WithSelf(constants.%facet_value, constants.%T.e69) [concrete = constants.%assoc2.e5d] -// CHECK:STDOUT: %TakesT.ref: %I.assoc_type.cf6 = name_ref TakesT, %.loc19_4.1 [concrete = constants.%assoc2.e5d] -// CHECK:STDOUT: %impl.elem2.loc19_4.1: @F.%.loc19_4.2 (%.dea) = impl_witness_access constants.%I.lookup_impl_witness.919, element2 [symbolic = %impl.elem2.loc19_4.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %bound_method.loc19: = bound_method %t.ref.loc19, %impl.elem2.loc19_4.1 -// CHECK:STDOUT: %u.ref: ref @F.%as_type.loc9_11.2 (%as_type.93c) = name_ref u, %u -// CHECK:STDOUT: %facet_type: type = facet_type <@Destroy & @B> [concrete = constants.%facet_type.22d] -// CHECK:STDOUT: %impl.elem0.loc9_3.1: @F.%.loc9_3.4 (%.8d3) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_3.2 (constants.%impl.elem0.706)] -// CHECK:STDOUT: %bound_method.loc9_3.1: = bound_method %u.var, %impl.elem0.loc9_3.1 -// CHECK:STDOUT: %Destroy.facet.loc9_3.1: %Destroy.type = facet_value constants.%as_type.93c, (constants.%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc9_3.3 (constants.%Destroy.facet.707)] -// CHECK:STDOUT: %.loc9_3.2: %Destroy.type = converted constants.%as_type.93c, %Destroy.facet.loc9_3.1 [symbolic = %Destroy.facet.loc9_3.3 (constants.%Destroy.facet.707)] -// CHECK:STDOUT: %Destroy.facet.loc9_3.2: %Destroy.type = facet_value constants.%as_type.93c, (constants.%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet.loc9_3.3 (constants.%Destroy.facet.707)] -// CHECK:STDOUT: %.loc9_3.3: %Destroy.type = converted constants.%as_type.93c, %Destroy.facet.loc9_3.2 [symbolic = %Destroy.facet.loc9_3.3 (constants.%Destroy.facet.707)] -// CHECK:STDOUT: %specific_impl_fn.loc9_3.1: = specific_impl_function %impl.elem0.loc9_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.707) [symbolic = %specific_impl_fn.loc9_3.2 (constants.%specific_impl_fn.977)] -// CHECK:STDOUT: %bound_method.loc9_3.2: = bound_method %u.var, %specific_impl_fn.loc9_3.1 -// CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc9_3.2(%u.var) -// CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: -// CHECK:STDOUT: } -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.626) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @I(constants.%T.2b7) { -// CHECK:STDOUT: %T.patt => constants.%T.patt.196 -// CHECK:STDOUT: %T => constants.%T.2b7 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.ed4) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T.2b7, constants.%Self.a17) {} -// CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.TakesT(constants.%T.2b7, constants.%Self.a17) { -// CHECK:STDOUT: %T => constants.%T.2b7 -// CHECK:STDOUT: %I.type => constants.%I.type.715 -// CHECK:STDOUT: %Self => constants.%Self.a17 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.1df -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.e16 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.306 -// CHECK:STDOUT: %self.patt => constants.%self.patt.cad -// CHECK:STDOUT: %T.as_type => constants.%T.as_type.64c -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.bc3 -// CHECK:STDOUT: %t.param_patt => constants.%t.param_patt.2bb -// CHECK:STDOUT: %t.patt => constants.%t.patt.974 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.GetU(constants.%T.2b7, constants.%Self.a17) { -// CHECK:STDOUT: %T => constants.%T.2b7 -// CHECK:STDOUT: %I.type => constants.%I.type.715 -// CHECK:STDOUT: %Self => constants.%Self.a17 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.1df -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.e16 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.306 -// CHECK:STDOUT: %self.patt => constants.%self.patt.cad -// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness.530 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.0fe -// CHECK:STDOUT: %as_type => constants.%as_type.b29 -// CHECK:STDOUT: %.1 => constants.%.c94 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.304 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.8e4 -// CHECK:STDOUT: %return.patt => constants.%return.patt.9ec -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @I(constants.%facet_value) { -// CHECK:STDOUT: %T.patt => constants.%T.patt.196 -// CHECK:STDOUT: %T => constants.%facet_value -// CHECK:STDOUT: -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.8a7 -// CHECK:STDOUT: %Self => constants.%Self.3ca -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%facet_value, constants.%Self.a17) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T => constants.%facet_value -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.cf6 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.64a -// CHECK:STDOUT: %I.type => constants.%I.type.8a7 -// CHECK:STDOUT: %Self => constants.%Self.a17 -// CHECK:STDOUT: %I.WithSelf.GetU.type => constants.%I.WithSelf.GetU.type.0c5 -// CHECK:STDOUT: %I.WithSelf.GetU => constants.%I.WithSelf.GetU.878 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.9b4 -// CHECK:STDOUT: %I.WithSelf.TakesT.type => constants.%I.WithSelf.TakesT.type.bd4 -// CHECK:STDOUT: %I.WithSelf.TakesT => constants.%I.WithSelf.TakesT.148 -// CHECK:STDOUT: %assoc2 => constants.%assoc2.e5d -// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness.c15 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.a31 -// CHECK:STDOUT: %as_type => constants.%as_type.7cc -// CHECK:STDOUT: %T.as_type => constants.%C -// CHECK:STDOUT: %eq => constants.%eq.f2b -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.e69) { -// CHECK:STDOUT: %T.patt.loc8_7.2 => constants.%T.patt.fb5 -// CHECK:STDOUT: %T.loc8_7.1 => constants.%T.e69 -// CHECK:STDOUT: %T.as_type.loc8_18.1 => constants.%T.as_type.a68 -// CHECK:STDOUT: %pattern_type.loc8 => constants.%pattern_type.cf2 -// CHECK:STDOUT: %t.param_patt.loc8_16.2 => constants.%t.param_patt.135 -// CHECK:STDOUT: %t.patt.loc8_16.2 => constants.%t.patt.1b6 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%facet_value, constants.%T.e69) { -// CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T => constants.%facet_value -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.cf6 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.64a -// CHECK:STDOUT: %I.type => constants.%I.type.8a7 -// CHECK:STDOUT: %Self => constants.%T.e69 -// CHECK:STDOUT: %I.WithSelf.GetU.type => constants.%I.WithSelf.GetU.type.fd3 -// CHECK:STDOUT: %I.WithSelf.GetU => constants.%I.WithSelf.GetU.01c -// CHECK:STDOUT: %assoc1 => constants.%assoc1.9b4 -// CHECK:STDOUT: %I.WithSelf.TakesT.type => constants.%I.WithSelf.TakesT.type.f2f -// CHECK:STDOUT: %I.WithSelf.TakesT => constants.%I.WithSelf.TakesT.9b6 -// CHECK:STDOUT: %assoc2 => constants.%assoc2.e5d -// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness.919 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.ae2 -// CHECK:STDOUT: %as_type => constants.%as_type.93c -// CHECK:STDOUT: %T.as_type => constants.%C -// CHECK:STDOUT: %eq => constants.%eq.e81 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.GetU(constants.%facet_value, constants.%T.e69) { -// CHECK:STDOUT: %T => constants.%facet_value -// CHECK:STDOUT: %I.type => constants.%I.type.8a7 -// CHECK:STDOUT: %Self => constants.%T.e69 -// CHECK:STDOUT: %Self.as_type => constants.%T.as_type.a68 -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.cf2 -// CHECK:STDOUT: %self.param_patt => constants.%self.param_patt.8a4 -// CHECK:STDOUT: %self.patt => constants.%self.patt.1fe -// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness.919 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.ae2 -// CHECK:STDOUT: %as_type => constants.%as_type.93c -// CHECK:STDOUT: %.1 => constants.%.295 -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.439 -// CHECK:STDOUT: %return.param_patt => constants.%return.param_patt.099 -// CHECK:STDOUT: %return.patt => constants.%return.patt.b38 +// CHECK:STDOUT: %Self.as_type.loc10_13.1 => constants.%Self.as_type.37b +// CHECK:STDOUT: %pattern_type.loc10_13 => constants.%pattern_type.f76 +// CHECK:STDOUT: %self.param_patt.loc10_13.2 => constants.%self.param_patt.ee4 +// CHECK:STDOUT: %self.patt.loc10_13.2 => constants.%self.patt.2e1 +// CHECK:STDOUT: %T.as_type.loc10_22.1 => constants.%T.as_type +// CHECK:STDOUT: %pattern_type.loc10_20 => constants.%pattern_type.bc3 +// CHECK:STDOUT: %t.param_patt.loc10_20.2 => constants.%t.param_patt +// CHECK:STDOUT: %t.patt.loc10_20.2 => constants.%t.patt // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/require.carbon b/toolchain/check/testdata/interface/require.carbon index 8a3b09b49b4a..d688a6ac9e2c 100644 --- a/toolchain/check/testdata/interface/require.carbon +++ b/toolchain/check/testdata/interface/require.carbon @@ -411,8 +411,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.Self.as_type.impls.Y.type.require { // CHECK:STDOUT: require @Z.WithSelf.Self.as_type.impls.Y.type.require.%Self.as_type.loc9_18.1 impls @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.ref // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { @@ -482,8 +480,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.Self.as_type.impls.Y.type.require { // CHECK:STDOUT: require @Z.WithSelf.Self.as_type.impls.Y.type.require.%Self.as_type.loc9_18.1 impls @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.type.loc9_30.1 // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { @@ -549,8 +545,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.Self.as_type.impls.Y.type.require { // CHECK:STDOUT: require @Z.WithSelf.Self.as_type.impls.Y.type.require.%Self.as_type.loc9_11.1 impls @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.ref // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { @@ -604,8 +598,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.Self.as_type.impls.Y.type.require { // CHECK:STDOUT: require @Z.WithSelf.Self.as_type.impls.Y.type.require.%.loc9 impls @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.ref // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { @@ -666,8 +658,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.C.impls.Y.type.require { // CHECK:STDOUT: require @Z.WithSelf.C.impls.Y.type.require.%C.loc9_17.1 impls @Z.WithSelf.C.impls.Y.type.require.%Y.ref // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.C.impls.Y.type.require(@Z.%Self: %Z.type) { @@ -747,8 +737,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.Self.as_type.impls.Y_where.type.require { // CHECK:STDOUT: require @Z.WithSelf.Self.as_type.impls.Y_where.type.require.%Self.as_type.loc7_11.1 impls @Z.WithSelf.Self.as_type.impls.Y_where.type.require.%.loc7_19 // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y_where.type.require(@Z.%Self: %Z.type) { @@ -828,8 +816,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.T.impls.Z.type.require { // CHECK:STDOUT: require @Z.WithSelf.T.impls.Z.type.require.%T.ref impls @Z.WithSelf.T.impls.Z.type.require.%Z.type.loc5_25.1 // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -923,8 +909,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.Self.as_type.impls.Y_where.type.require { // CHECK:STDOUT: require @Z.WithSelf.Self.as_type.impls.Y_where.type.require.%Self.as_type.loc10_11.1 impls @Z.WithSelf.Self.as_type.impls.Y_where.type.require.%.loc10_19 // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y_where.type.require(@Z.%Self: %Z.type) { @@ -1002,8 +986,6 @@ interface Z(T: type) { // CHECK:STDOUT: @Z.WithSelf.Self.as_type.impls.Z.type.require { // CHECK:STDOUT: require @Z.WithSelf.Self.as_type.impls.Z.type.require.%Self.as_type.loc11_11.1 impls @Z.WithSelf.Self.as_type.impls.Z.type.require.%Z.type.loc11_20 // CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/self.carbon b/toolchain/check/testdata/interface/self.carbon index 8b5e87eb4878..eb83162a45bf 100644 --- a/toolchain/check/testdata/interface/self.carbon +++ b/toolchain/check/testdata/interface/self.carbon @@ -75,8 +75,6 @@ interface UseSelf { // CHECK:STDOUT: witness = (@UseSelf.WithSelf.%UseSelf.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @UseSelf.WithSelf.F(@UseSelf.%Self: %UseSelf.type) { diff --git a/toolchain/check/testdata/interface/syntactic_merge.carbon b/toolchain/check/testdata/interface/syntactic_merge.carbon index f93143561717..514b863fe584 100644 --- a/toolchain/check/testdata/interface/syntactic_merge.carbon +++ b/toolchain/check/testdata/interface/syntactic_merge.carbon @@ -283,8 +283,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -305,8 +303,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -392,8 +388,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -481,8 +475,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -575,8 +567,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -768,8 +758,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -797,8 +785,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -907,8 +893,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1004,8 +988,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1101,8 +1083,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1250,8 +1230,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1347,8 +1325,6 @@ interface Foo(a: const (const C)) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/todo_define_not_default.carbon b/toolchain/check/testdata/interface/todo_define_not_default.carbon index 9756cb272409..d0bd8fa14869 100644 --- a/toolchain/check/testdata/interface/todo_define_not_default.carbon +++ b/toolchain/check/testdata/interface/todo_define_not_default.carbon @@ -148,8 +148,6 @@ interface I { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.%I.WithSelf.G.decl, @I.WithSelf.%T, @I.WithSelf.%N) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { @@ -158,8 +156,6 @@ interface I { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/basics/import/cpp_namespace.carbon b/toolchain/check/testdata/interop/cpp/basics/import/cpp_namespace.carbon index 0c0f5b5872a5..e67b11aec92c 100644 --- a/toolchain/check/testdata/interop/cpp/basics/import/cpp_namespace.carbon +++ b/toolchain/check/testdata/interop/cpp/basics/import/cpp_namespace.carbon @@ -162,7 +162,5 @@ fn F() { // CHECK:STDOUT: %system_function.ref: %system_function.cpp_overload_set.type = name_ref system_function, imports.%system_function.cpp_overload_set.value [concrete = constants.%system_function.cpp_overload_set.value] // CHECK:STDOUT: %system_function.call: init %empty_tuple.type = call imports.%system_function.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/basics/import/import.carbon b/toolchain/check/testdata/interop/cpp/basics/import/import.carbon index 172df7e5acff..a43a19cd0215 100644 --- a/toolchain/check/testdata/interop/cpp/basics/import/import.carbon +++ b/toolchain/check/testdata/interop/cpp/basics/import/import.carbon @@ -140,8 +140,6 @@ fn F() { // CHECK:STDOUT: %x.ref: = name_ref x, %x [concrete = ] // CHECK:STDOUT: %Foo.ref: = name_ref Foo, [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_function_api.carbon @@ -189,7 +187,5 @@ fn F() { // CHECK:STDOUT: %FooInt.ref: = name_ref FooInt, imports.%Main.FooInt [concrete = ] // CHECK:STDOUT: %int_9: Core.IntLiteral = int_value 9 [concrete = constants.%int_9] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/basics/import/indirect.carbon b/toolchain/check/testdata/interop/cpp/basics/import/indirect.carbon index 9c2270669fc1..1d0d9ac233b2 100644 --- a/toolchain/check/testdata/interop/cpp/basics/import/indirect.carbon +++ b/toolchain/check/testdata/interop/cpp/basics/import/indirect.carbon @@ -191,8 +191,6 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %X.cpp_destructor.bound: = bound_method %.loc9_12.2, constants.%X.cpp_destructor // CHECK:STDOUT: %X.cpp_destructor.call: init %empty_tuple.type = call %X.cpp_destructor.bound(%.loc9_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Function() -> out %return.param: %i32 { @@ -208,8 +206,6 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %X.cpp_destructor.bound: = bound_method %.loc15_12.2, constants.%X.cpp_destructor // CHECK:STDOUT: %X.cpp_destructor.call: init %empty_tuple.type = call %X.cpp_destructor.bound(%.loc15_12.2) // CHECK:STDOUT: return %X.g.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- indirect_import_via_alias.carbon @@ -326,8 +322,6 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %X.cpp_destructor.bound: = bound_method %ax.var, constants.%X.cpp_destructor // CHECK:STDOUT: %X.cpp_destructor.call: init %empty_tuple.type = call %X.cpp_destructor.bound(%ax.var) // CHECK:STDOUT: return %.loc10_24 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_template.carbon @@ -409,8 +403,6 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %Y.cpp_destructor.bound: = bound_method %.loc9_12.2, constants.%Y.cpp_destructor.be1864.1 // CHECK:STDOUT: %Y.cpp_destructor.call: init %empty_tuple.type = call %Y.cpp_destructor.bound(%.loc9_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @UseZ() -> out %return.param: %Z { @@ -438,7 +430,5 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %Y.cpp_destructor.bound: = bound_method %.loc15_12.2, constants.%Y.cpp_destructor.be1864.2 // CHECK:STDOUT: %Y.cpp_destructor.call: init %empty_tuple.type = call %Y.cpp_destructor.bound(%.loc15_12.2) // CHECK:STDOUT: return %.loc15_13.7 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/basics/inline/import.carbon b/toolchain/check/testdata/interop/cpp/basics/inline/import.carbon index aae9db9a2cdd..5c574872b584 100644 --- a/toolchain/check/testdata/interop/cpp/basics/inline/import.carbon +++ b/toolchain/check/testdata/interop/cpp/basics/inline/import.carbon @@ -79,8 +79,6 @@ fn Run() { // CHECK:STDOUT: %func.ref: %func.cpp_overload_set.type = name_ref func, imports.%func.cpp_overload_set.value [concrete = constants.%func.cpp_overload_set.value] // CHECK:STDOUT: %func.call: init %empty_tuple.type = call imports.%func.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- with_language_marker.carbon @@ -114,7 +112,5 @@ fn Run() { // CHECK:STDOUT: %another_func.ref: %another_func.cpp_overload_set.type = name_ref another_func, imports.%another_func.cpp_overload_set.value [concrete = constants.%another_func.cpp_overload_set.value] // CHECK:STDOUT: %another_func.call: init %empty_tuple.type = call imports.%another_func.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/basics/unsupported_decl_type.carbon b/toolchain/check/testdata/interop/cpp/basics/unsupported_decl_type.carbon index a11020038434..a2e284bdda8b 100644 --- a/toolchain/check/testdata/interop/cpp/basics/unsupported_decl_type.carbon +++ b/toolchain/check/testdata/interop/cpp/basics/unsupported_decl_type.carbon @@ -54,7 +54,5 @@ fn F() -> i32 { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %a.ref: = name_ref a, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/class/import/abstract.carbon b/toolchain/check/testdata/interop/cpp/class/import/abstract.carbon index dbb73dbceea5..a18a6055f6c4 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/abstract.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/abstract.carbon @@ -151,7 +151,5 @@ fn F() -> Cpp.AbstractFinal { // CHECK:STDOUT: %.loc11_14.1: ref %AbstractFinal = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %AbstractFinal to %.loc11_14.1 = call %F.ref() // CHECK:STDOUT: return %F.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/class/import/access.carbon b/toolchain/check/testdata/interop/cpp/class/import/access.carbon index 63d0edd98483..a2bdc80955b8 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/access.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/access.carbon @@ -1666,8 +1666,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %static_data.patt: %pattern_type.6b6 = value_binding_pattern static_data [concrete = constants.%static_data.patt.405] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_non_function_member_public_extend.carbon @@ -1715,8 +1713,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %static_data.patt: %pattern_type.6b6 = value_binding_pattern static_data [concrete = constants.%static_data.patt.405] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_non_function_member_protected_extend_call_in_member.carbon @@ -1801,8 +1797,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %base_static_data.patt: %pattern_type.6b6 = value_binding_pattern base_static_data [concrete = constants.%base_static_data.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_function_member_public.carbon @@ -1849,8 +1843,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %static_fn.ref: %S.static_fn.cpp_overload_set.type = name_ref static_fn, imports.%S.static_fn.cpp_overload_set.value [concrete = constants.%S.static_fn.cpp_overload_set.value] // CHECK:STDOUT: %S.static_fn.call: init %empty_tuple.type = call imports.%S.static_fn.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_function_member_protected_extend_call_instance_in_member.carbon @@ -1883,8 +1875,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %instance_fn.ref: %C.instance_fn.cpp_overload_set.type = name_ref instance_fn, imports.%C.instance_fn.cpp_overload_set.value [concrete = constants.%C.instance_fn.cpp_overload_set.value] // CHECK:STDOUT: %bound_method: = bound_method %self.ref, %instance_fn.ref // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_function_member_protected_extend_call_static_in_member.carbon @@ -1934,8 +1924,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %static_fn.ref.loc12: %C.static_fn.cpp_overload_set.type = name_ref static_fn, imports.%C.static_fn.cpp_overload_set.value [concrete = constants.%C.static_fn.cpp_overload_set.value] // CHECK:STDOUT: %C.static_fn.call.loc12: init %empty_tuple.type = call imports.%C.static_fn.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_overload_set_public.carbon @@ -2035,8 +2023,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %PublicCall.cpp_destructor.bound.loc8: = bound_method %.loc8_37.3, constants.%PublicCall.cpp_destructor // CHECK:STDOUT: %PublicCall.cpp_destructor.call.loc8: init %empty_tuple.type = call %PublicCall.cpp_destructor.bound.loc8(%.loc8_37.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_overload_set_protected_base.carbon @@ -2168,8 +2154,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %PublicCall.cpp_destructor.bound: = bound_method %.loc11_49.3, constants.%PublicCall.cpp_destructor // CHECK:STDOUT: %PublicCall.cpp_destructor.call: init %empty_tuple.type = call %PublicCall.cpp_destructor.bound(%.loc11_49.3) // CHECK:STDOUT: return %.loc11_52 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @D.MakeProtected() -> out %return.param: %D { @@ -2199,8 +2183,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %ProtectedCall.cpp_destructor.bound: = bound_method %.loc17_55.3, constants.%ProtectedCall.cpp_destructor // CHECK:STDOUT: %ProtectedCall.cpp_destructor.call: init %empty_tuple.type = call %ProtectedCall.cpp_destructor.bound(%.loc17_55.3) // CHECK:STDOUT: return %.loc17_58 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @D.CallPublic() { @@ -2221,8 +2203,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %PublicCall.cpp_destructor.bound: = bound_method %.loc23_40.3, constants.%PublicCall.cpp_destructor // CHECK:STDOUT: %PublicCall.cpp_destructor.call: init %empty_tuple.type = call %PublicCall.cpp_destructor.bound(%.loc23_40.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @D.CallProtected() { @@ -2243,8 +2223,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %ProtectedCall.cpp_destructor.bound: = bound_method %.loc29_46.3, constants.%ProtectedCall.cpp_destructor // CHECK:STDOUT: %ProtectedCall.cpp_destructor.call: init %empty_tuple.type = call %ProtectedCall.cpp_destructor.bound(%.loc29_46.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_overload_set_public_base_class_call_public.carbon @@ -2308,8 +2286,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %PublicCall.cpp_destructor.bound: = bound_method %.loc8_49.3, constants.%PublicCall.cpp_destructor // CHECK:STDOUT: %PublicCall.cpp_destructor.call: init %empty_tuple.type = call %PublicCall.cpp_destructor.bound(%.loc8_49.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_overload_set_public_base_class_derived_call_non_private.carbon @@ -2422,8 +2398,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %PublicCall.cpp_destructor.bound: = bound_method %.loc11_40.3, constants.%PublicCall.cpp_destructor // CHECK:STDOUT: %PublicCall.cpp_destructor.call: init %empty_tuple.type = call %PublicCall.cpp_destructor.bound(%.loc11_40.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_overload_set_protected_base_class_derived_call_non_private.carbon @@ -2536,8 +2510,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %PublicCall.cpp_destructor.bound: = bound_method %.loc11_40.3, constants.%PublicCall.cpp_destructor // CHECK:STDOUT: %PublicCall.cpp_destructor.call: init %empty_tuple.type = call %PublicCall.cpp_destructor.bound(%.loc11_40.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- base_class_public_access_allowed.carbon @@ -2620,8 +2592,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %ProtectedStatic.ref.loc17: %Public.ProtectedStatic.cpp_overload_set.type = name_ref ProtectedStatic, imports.%Public.ProtectedStatic.cpp_overload_set.value [concrete = constants.%Public.ProtectedStatic.cpp_overload_set.value] // CHECK:STDOUT: %Base.ProtectedStatic.call.loc17: init %empty_tuple.type = call imports.%Base.ProtectedStatic.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Derived.CallInstance(%instance.param: ref %Public) { @@ -2641,8 +2611,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %.loc26_5.3: ref %Base = converted %instance.ref.loc26, %.loc26_5.2 // CHECK:STDOUT: %Base.ProtectedInstance.call: init %empty_tuple.type = call imports.%Base.ProtectedInstance.decl(%.loc26_5.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Call(%instance.param: ref %Public) { @@ -2669,8 +2637,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %.loc37_3.3: ref %Base = converted %instance.ref.loc37, %.loc37_3.2 // CHECK:STDOUT: %Base.PublicInstance.call.loc37: init %empty_tuple.type = call imports.%Base.PublicInstance.decl(%.loc37_3.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_base_class_public_access_denied.carbon @@ -2699,8 +2665,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %instance.ref: ref %Public = name_ref instance, %instance // CHECK:STDOUT: %PrivateInstance.ref: = name_ref PrivateInstance, [concrete = ] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- base_class_protected_access_allowed.carbon @@ -2783,8 +2747,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %ProtectedStatic.ref.loc17: %Protected.ProtectedStatic.cpp_overload_set.type = name_ref ProtectedStatic, imports.%Protected.ProtectedStatic.cpp_overload_set.value [concrete = constants.%Protected.ProtectedStatic.cpp_overload_set.value] // CHECK:STDOUT: %Base.ProtectedStatic.call.loc17: init %empty_tuple.type = call imports.%Base.ProtectedStatic.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Derived.CallInstance(%instance.param: ref %Protected) { @@ -2804,8 +2766,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %.loc26_5.3: ref %Base = converted %instance.ref.loc26, %.loc26_5.2 // CHECK:STDOUT: %Base.ProtectedInstance.call: init %empty_tuple.type = call imports.%Base.ProtectedInstance.decl(%.loc26_5.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- base_class_public_protected_access_allowed.carbon @@ -2889,8 +2849,6 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %ProtectedStatic.ref.loc17: %PublicProtected.ProtectedStatic.cpp_overload_set.type = name_ref ProtectedStatic, imports.%PublicProtected.ProtectedStatic.cpp_overload_set.value [concrete = constants.%PublicProtected.ProtectedStatic.cpp_overload_set.value] // CHECK:STDOUT: %Base.ProtectedStatic.call.loc17: init %empty_tuple.type = call imports.%Base.ProtectedStatic.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Derived.CallInstance(%instance.param: ref %PublicProtected) { @@ -2912,7 +2870,5 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %.loc26_5.4: ref %Base = converted %instance.ref.loc26, %.loc26_5.3 // CHECK:STDOUT: %Base.ProtectedInstance.call: init %empty_tuple.type = call imports.%Base.ProtectedInstance.decl(%.loc26_5.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/class/import/base.carbon b/toolchain/check/testdata/interop/cpp/class/import/base.carbon index 4ee8714f9973..2ed9801c1947 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/base.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/base.carbon @@ -562,8 +562,6 @@ class V { // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.3, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.0e0 = call %bound_method.loc8_11.2(%.loc8_11.3) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConvertVal(%d.param: %Derived) { @@ -576,8 +574,6 @@ class V { // CHECK:STDOUT: %.loc16_13.4: %Base = acquire_value %.loc16_13.3 // CHECK:STDOUT: %AcceptVal.call: init %empty_tuple.type = call %AcceptVal.ref(%.loc16_13.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_static_member.carbon @@ -628,8 +624,6 @@ class V { // CHECK:STDOUT: %derived_fn.ref: %Derived.derived_fn.cpp_overload_set.type = name_ref derived_fn, imports.%Derived.derived_fn.cpp_overload_set.value [concrete = constants.%Derived.derived_fn.cpp_overload_set.value] // CHECK:STDOUT: %Derived.derived_fn.call: init %empty_tuple.type = call imports.%Derived.derived_fn.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_base_field.carbon @@ -680,8 +674,6 @@ class V { // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.5, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc8_11.2(%.loc8_11.5) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @AccessQualified(%d.param: %Derived) -> out %return.param: %i32 { @@ -701,8 +693,6 @@ class V { // CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %.loc14_11.5, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc14_11.2(%.loc14_11.5) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_base_method.carbon @@ -754,8 +744,6 @@ class V { // CHECK:STDOUT: %.loc8_3.4: %Base = acquire_value %.loc8_3.3 // CHECK:STDOUT: %f__carbon_thunk.call: init %empty_tuple.type = call imports.%f__carbon_thunk.decl(%.loc8_3.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallQualified(%d.param: %Derived) { @@ -771,8 +759,6 @@ class V { // CHECK:STDOUT: %.loc14_3.4: %Base = acquire_value %.loc14_3.3 // CHECK:STDOUT: %g__carbon_thunk.call: init %empty_tuple.type = call imports.%g__carbon_thunk.decl(%.loc14_3.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallBaseQualifiedByDerived(%d.param: %Derived, %b.param: %Base) { @@ -794,7 +780,5 @@ class V { // CHECK:STDOUT: %bound_method.loc24: = bound_method %b.ref, %f.ref.loc24 // CHECK:STDOUT: %f__carbon_thunk.call.loc24: init %empty_tuple.type = call imports.%f__carbon_thunk.decl(%b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/class/import/class.carbon b/toolchain/check/testdata/interop/cpp/class/import/class.carbon index abe3d660f775..ae0696993549 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/class.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/class.carbon @@ -391,8 +391,6 @@ fn GenericUse(p2: Generic(Cpp.Class1)) { // CHECK:STDOUT: %foo.ref: %Bar.foo.cpp_overload_set.type = name_ref foo, imports.%Bar.foo.cpp_overload_set.value [concrete = constants.%Bar.foo.cpp_overload_set.value] // CHECK:STDOUT: %Bar.foo.call: init %empty_tuple.type = call imports.%Bar.foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_static_data_member.carbon @@ -433,8 +431,6 @@ fn GenericUse(p2: Generic(Cpp.Class1)) { // CHECK:STDOUT: %bar.patt: %pattern_type = value_binding_pattern bar [concrete = constants.%bar.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_data_member.carbon @@ -491,8 +487,6 @@ fn GenericUse(p2: Generic(Cpp.Class1)) { // CHECK:STDOUT: %foo_bar.patt: %pattern_type = value_binding_pattern foo_bar [concrete = constants.%foo_bar.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_dynamic.carbon @@ -555,8 +549,6 @@ fn GenericUse(p2: Generic(Cpp.Class1)) { // CHECK:STDOUT: %bound_method: = bound_method %.loc8, %f.ref // CHECK:STDOUT: %Bar.f.call: init %empty_tuple.type = call imports.%Bar.f.decl(%.loc8) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_to_inherit_public.carbon @@ -611,8 +603,6 @@ fn GenericUse(p2: Generic(Cpp.Class1)) { // CHECK:STDOUT: %foo.ref: %Bar.foo.cpp_overload_set.type = name_ref foo, imports.%Bar.foo.cpp_overload_set.value [concrete = constants.%Bar.foo.cpp_overload_set.value] // CHECK:STDOUT: %Bar.foo.call: init %empty_tuple.type = call imports.%Bar.foo.decl() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_template.carbon diff --git a/toolchain/check/testdata/interop/cpp/class/import/constructor.carbon b/toolchain/check/testdata/interop/cpp/class/import/constructor.carbon index de14b6da7a1d..e4e3e3294b10 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/constructor.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/constructor.carbon @@ -364,8 +364,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound: = bound_method %.loc8_33.3, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call: init %empty_tuple.type = call %C.cpp_destructor.bound(%.loc8_33.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- implicit_default.carbon @@ -424,8 +422,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound: = bound_method %c.var, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call: init %empty_tuple.type = call %C.cpp_destructor.bound(%c.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_non_default.carbon @@ -519,8 +515,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound: = bound_method %.loc8_41.3, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call: init %empty_tuple.type = call %C.cpp_destructor.bound(%.loc8_41.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_multiple.carbon @@ -641,8 +635,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_34.3, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_34.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_default_arguments.carbon @@ -771,8 +763,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_38.3, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_38.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_template.carbon @@ -937,8 +927,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %c1.var, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%c1.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref bool) = "no_op"; @@ -1063,8 +1051,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_35.3, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_35.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_implicit_multi_arguments.carbon @@ -1234,7 +1220,5 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_38.3, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_38.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/class/import/field.carbon b/toolchain/check/testdata/interop/cpp/class/import/field.carbon index b164816a7547..0a7f8a814fe8 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/field.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/field.carbon @@ -329,8 +329,6 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %.loc8_43.7: init %tuple.type.ccd to %return.param = tuple_init (%.loc8_43.2, %.loc8_43.3, %.loc8_43.4, %.loc8_43.5, %.loc8_43.6) // CHECK:STDOUT: %.loc8_44: init %tuple.type.ccd = converted %.loc8_43.1, %.loc8_43.7 // CHECK:STDOUT: return %.loc8_44 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_union_fields.carbon @@ -372,8 +370,6 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc8_11.2(%.loc8_11.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%u.param: %Union) -> out %return.param: %i32 { @@ -388,8 +384,6 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %.loc14_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc14_11.2(%.loc14_11.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H(%u.param: %Union) -> out %return.param: %i32 { @@ -406,8 +400,6 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %bound_method.loc20_10.2: = bound_method %.loc20_10.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc20_10.2(%.loc20_10.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_non_bitfields_in_type_with_bitfields.carbon @@ -449,8 +441,6 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc8_11.2(%.loc8_11.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%s.param: %Union) -> out %return.param: %i32 { @@ -465,8 +455,6 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %.loc14_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc14_11.2(%.loc14_11.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_use_bitfields.carbon @@ -483,8 +471,6 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %s.ref: %Struct = name_ref s, %s // CHECK:STDOUT: %b.ref: = name_ref b, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%s.param: %Union) -> out %return.param: %i32 { @@ -492,7 +478,5 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %s.ref: %Union = name_ref s, %s // CHECK:STDOUT: %d.ref: = name_ref d, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/class/import/method.carbon b/toolchain/check/testdata/interop/cpp/class/import/method.carbon index c5bc1748c6e6..5e66f15208bd 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/method.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/method.carbon @@ -491,8 +491,6 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %HasQualifiers.cpp_destructor.bound.loc19: = bound_method %.loc19_8.2, %Op.ref.loc19 // CHECK:STDOUT: %HasQualifiers.cpp_destructor.call.loc19: init %empty_tuple.type = call %HasQualifiers.cpp_destructor.bound.loc19(%.loc19_8.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_object_param_qualifiers_overloaded.carbon @@ -595,8 +593,6 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9(%self.param: ref %ptr.d08) = "no_op"; @@ -606,8 +602,6 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallFWithRefQualifier(%v.param: %WithRefQualifier, %p.param: %ptr.90c) { @@ -645,8 +639,6 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %Destroy.Op.bound.loc15: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc15: init %empty_tuple.type = call %Destroy.Op.bound.loc15(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_explicit_object_param.carbon @@ -724,8 +716,6 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %addr.loc10: %ptr.bad = addr_of %.loc10 // CHECK:STDOUT: %H__carbon_thunk.call: init %empty_tuple.type = call imports.%H__carbon_thunk.decl(%addr.loc10) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_explicit_object_param_overloaded.carbon @@ -797,7 +787,5 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %addr.loc10: %ptr.bad = addr_of %.loc10 // CHECK:STDOUT: %F__carbon_thunk.call.loc10: init %empty_tuple.type = call imports.%F__carbon_thunk.decl.828b0d.3(%addr.loc10) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/class/import/template.carbon b/toolchain/check/testdata/interop/cpp/class/import/template.carbon index 78a06f5e8d68..68ccdc7e76e5 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/template.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/template.carbon @@ -166,8 +166,6 @@ fn F() { // CHECK:STDOUT: %bound_method.loc10_11.2: = bound_method %.loc10_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc10_11.2(%.loc10_11.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%p.param: %ptr.f2d) -> out %return.param: %ptr.0e0 { @@ -183,8 +181,6 @@ fn F() { // CHECK:STDOUT: %bound_method.loc17_11.2: = bound_method %.loc17_11.3, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.0e0 = call %bound_method.loc17_11.2(%.loc17_11.3) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_use_instantiation_error.carbon @@ -274,7 +270,5 @@ fn F() { // CHECK:STDOUT: %.loc21: init %i32 = converted %int_0.loc21, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_0.3c0] // CHECK:STDOUT: assign file.%y.var, %.loc21 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/class/import/union.carbon b/toolchain/check/testdata/interop/cpp/class/import/union.carbon index fc6f88644697..e7b26bceb22c 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/union.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/union.carbon @@ -312,8 +312,6 @@ fn MyF(bar: Cpp.Bar(Cpp.X)*); // CHECK:STDOUT: %foo.ref: %Bar.foo.cpp_overload_set.type = name_ref foo, imports.%Bar.foo.cpp_overload_set.value [concrete = constants.%Bar.foo.cpp_overload_set.value] // CHECK:STDOUT: %Bar.foo.call: init %empty_tuple.type = call imports.%Bar.foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_static_data_member.carbon @@ -354,8 +352,6 @@ fn MyF(bar: Cpp.Bar(Cpp.X)*); // CHECK:STDOUT: %bar.patt: %pattern_type = value_binding_pattern bar [concrete = constants.%bar.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_data_member.carbon @@ -412,8 +408,6 @@ fn MyF(bar: Cpp.Bar(Cpp.X)*); // CHECK:STDOUT: %foo_bar.patt: %pattern_type = value_binding_pattern foo_bar [concrete = constants.%foo_bar.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_template.carbon diff --git a/toolchain/check/testdata/interop/cpp/enum/anonymous.carbon b/toolchain/check/testdata/interop/cpp/enum/anonymous.carbon index 8eea2abcb9be..2f3db4ac3f21 100644 --- a/toolchain/check/testdata/interop/cpp/enum/anonymous.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/anonymous.carbon @@ -124,7 +124,5 @@ fn G() { // CHECK:STDOUT: %C.cpp_destructor.bound: = bound_method %.loc10_11.3, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call: init %empty_tuple.type = call %C.cpp_destructor.bound(%.loc10_11.3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/enum/convert.carbon b/toolchain/check/testdata/interop/cpp/enum/convert.carbon index 089812e38ed9..ac7f35ef538d 100644 --- a/toolchain/check/testdata/interop/cpp/enum/convert.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/convert.carbon @@ -188,7 +188,5 @@ fn F() { // CHECK:STDOUT: %c.patt: %pattern_type.d91 = value_binding_pattern c [concrete = constants.%c.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/enum/copy.carbon b/toolchain/check/testdata/interop/cpp/enum/copy.carbon index 10d1efd035d1..44e3ed4abf94 100644 --- a/toolchain/check/testdata/interop/cpp/enum/copy.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/copy.carbon @@ -97,8 +97,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %Enum) = "no_op"; diff --git a/toolchain/check/testdata/interop/cpp/enum/fixed.carbon b/toolchain/check/testdata/interop/cpp/enum/fixed.carbon index 0de93c2c8c04..0f2a615bbf2e 100644 --- a/toolchain/check/testdata/interop/cpp/enum/fixed.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/fixed.carbon @@ -79,7 +79,5 @@ fn F() { // CHECK:STDOUT: %b.patt: %pattern_type = value_binding_pattern b [concrete = constants.%b.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/enum/member.carbon b/toolchain/check/testdata/interop/cpp/enum/member.carbon index b4971f08cc60..b4b04072d625 100644 --- a/toolchain/check/testdata/interop/cpp/enum/member.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/member.carbon @@ -87,7 +87,5 @@ fn F() { // CHECK:STDOUT: %b.patt: %pattern_type = value_binding_pattern b [concrete = constants.%b.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/enum/scoped.carbon b/toolchain/check/testdata/interop/cpp/enum/scoped.carbon index 7a672703c965..4f5afc77e354 100644 --- a/toolchain/check/testdata/interop/cpp/enum/scoped.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/scoped.carbon @@ -78,7 +78,5 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/enum/unscoped.carbon b/toolchain/check/testdata/interop/cpp/enum/unscoped.carbon index 50854bed1241..c675076ebaaf 100644 --- a/toolchain/check/testdata/interop/cpp/enum/unscoped.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/unscoped.carbon @@ -121,7 +121,5 @@ fn F() { // CHECK:STDOUT: %b.patt: %pattern_type = value_binding_pattern b [concrete = constants.%b.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/enum/using.carbon b/toolchain/check/testdata/interop/cpp/enum/using.carbon index 45b78f8a5166..b83257cc6f05 100644 --- a/toolchain/check/testdata/interop/cpp/enum/using.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/using.carbon @@ -138,7 +138,5 @@ fn F() { // CHECK:STDOUT: %pet2.patt: %pattern_type.8cd = value_binding_pattern pet2 [concrete = constants.%pet2.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/export/generic.carbon b/toolchain/check/testdata/interop/cpp/function/export/generic.carbon index 0988c51da093..a70849245fc4 100644 --- a/toolchain/check/testdata/interop/cpp/function/export/generic.carbon +++ b/toolchain/check/testdata/interop/cpp/function/export/generic.carbon @@ -276,8 +276,6 @@ void G() { // CHECK:STDOUT: witness = (@I.WithSelf.%I.WithSelf.Doit.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @A.as.I.impl: %Self.ref as %I.ref { @@ -355,15 +353,11 @@ void G() { // CHECK:STDOUT: fn @A.as.I.impl.Doit(%self.param: %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.as.I.impl.Doit(%self.param: %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc20_7.2: %I.type) { @@ -394,8 +388,6 @@ void G() { // CHECK:STDOUT: %bound_method.loc21_10: = bound_method %t.ref, %specific_impl_fn.loc21_4.1 // CHECK:STDOUT: %I.WithSelf.Doit.call: init %empty_tuple.type = call %bound_method.loc21_10(%t.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -405,8 +397,6 @@ void G() { // CHECK:STDOUT: %bound_method: = bound_method %self.param, %impl.elem0 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %bound_method(%self.param) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_9.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -414,8 +404,6 @@ void G() { // CHECK:STDOUT: fn @Destroy.Op.loc9_9.2(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B.__destroy_thunk(%self.param: ref %B) { @@ -424,15 +412,11 @@ void G() { // CHECK:STDOUT: %bound_method: = bound_method %self.param, %impl.elem0 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %bound_method(%self.param) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14(%self.param: ref %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F__carbon_thunkinst64000035(%_.param: ref %A) { @@ -446,8 +430,6 @@ void G() { // CHECK:STDOUT: %.loc20_18.3: %A = acquire_value %_.param // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc20_18.3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F__carbon_thunkinst64000050(%_.param: ref %B) { @@ -461,8 +443,6 @@ void G() { // CHECK:STDOUT: %.loc20_18.3: %B = acquire_value %_.param // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc20_18.3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self.37e) { diff --git a/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_bridged.carbon b/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_bridged.carbon index 3ab9dfa36e49..88d9ee592147 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_bridged.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_bridged.carbon @@ -605,8 +605,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.bb2 = addr_of %.loc8_11.2 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref bool) = "no_op"; @@ -661,8 +659,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.bb2 = addr_of %.loc8_11.2 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref bool) = "no_op"; @@ -771,8 +767,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.309) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_11.1(%self.param: ref %i8.builtin) = "no_op"; @@ -780,8 +774,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_11.2(%self.param: ref %i8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_unsigned_char_param.carbon @@ -871,8 +863,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.599) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_11.1(%self.param: ref %u8.builtin) = "no_op"; @@ -880,8 +870,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_11.2(%self.param: ref %u8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_char_param.carbon @@ -958,8 +946,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2ff) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_11.1(%self.param: ref %u8.builtin) = "no_op"; @@ -967,15 +953,11 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_11.2(%self.param: ref %u8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_11.3(%self.param: ref %char) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_wchar_t_param.carbon @@ -1000,8 +982,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %.loc12: Core.CharLiteral = char_value U+0058 [concrete = constants.%.d16] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_char8_t_param.carbon @@ -1060,8 +1040,6 @@ fn F() { // CHECK:STDOUT: %.loc13_11.2: %i32 = converted %int_1, %.loc13_11.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc13_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_char16_t_param.carbon @@ -1086,8 +1064,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_char32_t_param.carbon @@ -1112,8 +1088,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_short_param.carbon @@ -1204,8 +1178,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_13.1(%self.param: ref %i16.builtin) = "no_op"; @@ -1213,8 +1185,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_13.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_short_param_max.carbon @@ -1304,8 +1274,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.0d8) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_11.1(%self.param: ref %i16.builtin) = "no_op"; @@ -1313,8 +1281,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_11.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_short_param_min.carbon @@ -1421,8 +1387,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.60a) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_11.1(%self.param: ref %i16.builtin) = "no_op"; @@ -1430,8 +1394,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_11.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_short_int_param.carbon @@ -1522,8 +1484,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_13.1(%self.param: ref %i16.builtin) = "no_op"; @@ -1531,8 +1491,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_13.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_signed_short_param.carbon @@ -1623,8 +1581,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_13.1(%self.param: ref %i16.builtin) = "no_op"; @@ -1632,8 +1588,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_13.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_signed_short_int_param.carbon @@ -1724,8 +1678,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_13.1(%self.param: ref %i16.builtin) = "no_op"; @@ -1733,8 +1685,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_13.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int16_t_param.carbon @@ -1825,8 +1775,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_13.1(%self.param: ref %i16.builtin) = "no_op"; @@ -1834,8 +1782,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_13.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_float16_param.carbon @@ -1925,8 +1871,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.b6a) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_15.1(%self.param: ref %f16.3ab) = "no_op"; @@ -1934,8 +1878,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f16.907) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_float_param.carbon @@ -2025,8 +1967,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.798) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_15.1(%self.param: ref %f32.9b3) = "no_op"; @@ -2034,8 +1974,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_double_param.carbon @@ -2125,8 +2063,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2a9) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_15.1(%self.param: ref %f64.794) = "no_op"; @@ -2134,8 +2070,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f64.dc1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_float128_param.carbon @@ -2225,8 +2159,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.4aa) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_15.1(%self.param: ref %f128.853) = "no_op"; @@ -2234,8 +2166,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f128.e39) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_bool_return.carbon @@ -2284,8 +2214,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_37.3, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_37.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref bool) = "no_op"; @@ -2339,8 +2267,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_37.3, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_37.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_37.1(%self.param: ref %i16.builtin) = "no_op"; @@ -2348,8 +2274,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_37.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_bit_int_24_param.carbon @@ -2374,8 +2298,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_double_return.carbon @@ -2427,8 +2349,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_38.3, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_38.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_38.1(%self.param: ref %f64.794) = "no_op"; @@ -2436,7 +2356,5 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_38.2(%self.param: ref %f64.dc1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_direct.carbon b/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_direct.carbon index afbd3a0f5a03..3590d8ce26ae 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_direct.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_direct.carbon @@ -372,8 +372,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int_param_max.carbon @@ -432,8 +430,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_2147483647, %.loc8_11.1 [concrete = constants.%int_2147483647.a0e] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int_param_min.carbon @@ -509,8 +505,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.4: %i32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-2147483648.45f] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_signed_int_param.carbon @@ -569,8 +563,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_signed_param.carbon @@ -629,8 +621,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_unsigned_int_param.carbon @@ -689,8 +679,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %u32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.92d] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int32_t_param.carbon @@ -749,8 +737,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int_params.carbon @@ -821,8 +807,6 @@ fn F() { // CHECK:STDOUT: %.loc8_14.2: %i32 = converted %int_2, %.loc8_14.1 [concrete = constants.%int_2.295] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2, %.loc8_14.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_multiple_int_params.carbon @@ -931,8 +915,6 @@ fn F() { // CHECK:STDOUT: %.loc9_15.2: %i32 = converted %int_4, %.loc9_15.1 [concrete = constants.%int_4.4eb] // CHECK:STDOUT: %foo2.call: init %empty_tuple.type = call imports.%foo2.decl(%.loc9_12.2, %.loc9_15.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_unnamed_int_param.carbon @@ -991,8 +973,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int_return.carbon @@ -1032,8 +1012,6 @@ fn F() { // CHECK:STDOUT: %.loc10_26.2: %i32 = converted %foo_int.call, %.loc10_26.1 // CHECK:STDOUT: %Carbon_foo.call: init %empty_tuple.type = call %Carbon_foo.ref(%.loc10_26.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_long_param.carbon @@ -1092,7 +1070,5 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %i64 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d98] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/class.carbon b/toolchain/check/testdata/interop/cpp/function/import/class.carbon index 1e149310f941..77858665ecd8 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/class.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/class.carbon @@ -632,8 +632,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.0a2 = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_non_copyable_param_type.carbon @@ -669,8 +667,6 @@ fn F() { // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%c.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- pass_move_only_param_temporary.carbon @@ -723,8 +719,6 @@ fn F() { // CHECK:STDOUT: %addr.loc8_21: %ptr.0a2 = addr_of %_.var // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr.loc8_21) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_single_data_member_value_param_type.carbon @@ -763,8 +757,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.0a2 = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_multiple_data_members_value_param_type.carbon @@ -803,8 +795,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.0a2 = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_namespace_value_param_type.carbon @@ -886,8 +876,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound: = bound_method %x.var, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call: init %empty_tuple.type = call %C.cpp_destructor.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_relative_namespace_value_param_type.carbon @@ -935,8 +923,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.eda = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_outer_definition.carbon @@ -1014,8 +1000,6 @@ fn F() { // CHECK:STDOUT: %O.cpp_destructor.bound: = bound_method %x.var, constants.%O.cpp_destructor // CHECK:STDOUT: %O.cpp_destructor.call: init %empty_tuple.type = call %O.cpp_destructor.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_and_static_method_call_before.carbon @@ -1064,8 +1048,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.0a2 = addr_of %.loc9 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_and_static_method_call_after.carbon @@ -1114,8 +1096,6 @@ fn F() { // CHECK:STDOUT: %bar.ref: %C.bar.cpp_overload_set.type = name_ref bar, imports.%C.bar.cpp_overload_set.value [concrete = constants.%C.bar.cpp_overload_set.value] // CHECK:STDOUT: %C.bar.call: init %empty_tuple.type = call imports.%C.bar.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_decl_pointer_param_type.carbon @@ -1152,8 +1132,6 @@ fn F() { // CHECK:STDOUT: %c.ref: %ptr = name_ref c, %c // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%c.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_pointer_param_type.carbon @@ -1190,8 +1168,6 @@ fn F() { // CHECK:STDOUT: %c.ref: %ptr = name_ref c, %c // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%c.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_value_return_type.carbon @@ -1233,8 +1209,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound: = bound_method %.loc8_11.3, constants.%C.cpp_destructor // CHECK:STDOUT: %C.cpp_destructor.call: init %empty_tuple.type = call %C.cpp_destructor.bound(%.loc8_11.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_decl_pointer_return_type.carbon @@ -1267,8 +1241,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %ptr = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_pointer_return_type.carbon @@ -1301,7 +1273,5 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %ptr = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/decayed_param.carbon b/toolchain/check/testdata/interop/cpp/function/import/decayed_param.carbon index 28ed4dc01269..e93784a59196 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/decayed_param.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/decayed_param.carbon @@ -281,29 +281,21 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %n.var, constants.%Destroy.Op.1a2547.8 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%n.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_21.1(%self.param: ref %.0f8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_21.2(%self.param: ref %MaybeUnformed.b84) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_21.3(%self.param: ref %Optional.cd0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -311,15 +303,11 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %array_type.d58) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_call_params_2.carbon @@ -439,8 +427,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%n.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -448,14 +434,10 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc22_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22_3.3(%self.param: ref %array_type.d58) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/default_arg.carbon b/toolchain/check/testdata/interop/cpp/function/import/default_arg.carbon index 5d450f93d87d..791a4deb4ab9 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/default_arg.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/default_arg.carbon @@ -408,8 +408,6 @@ fn Call() { // CHECK:STDOUT: %Op.ref.loc12: %X.cpp_destructor.type = name_ref Op, imports.%X.cpp_destructor.decl [concrete = constants.%X.cpp_destructor] // CHECK:STDOUT: %Op.ref.loc10: %X.cpp_destructor.type = name_ref Op, imports.%X.cpp_destructor.decl [concrete = constants.%X.cpp_destructor] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_with_default.carbon @@ -827,8 +825,6 @@ fn Call() { // CHECK:STDOUT: %Op.ref.loc13: %X.cpp_destructor.type = name_ref Op, imports.%X.cpp_destructor.decl [concrete = constants.%X.cpp_destructor] // CHECK:STDOUT: %Op.ref.loc11: %X.cpp_destructor.type = name_ref Op, imports.%X.cpp_destructor.decl [concrete = constants.%X.cpp_destructor] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @GlobalNoReturn.1(%a.param: %i32, %b.param: %i32); @@ -863,8 +859,6 @@ fn Call() { // CHECK:STDOUT: %X.cpp_destructor.bound: = bound_method %self.param, %Op.ref // CHECK:STDOUT: %X.cpp_destructor.call: init %empty_tuple.type = call %X.cpp_destructor.bound(%self.param) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_call_too_few_args.carbon @@ -949,7 +943,5 @@ fn Call() { // CHECK:STDOUT: %Op.ref.loc76: %X.cpp_destructor.type = name_ref Op, imports.%X.cpp_destructor.decl [concrete = constants.%X.cpp_destructor] // CHECK:STDOUT: %Op.ref.loc56: %X.cpp_destructor.type = name_ref Op, imports.%X.cpp_destructor.decl [concrete = constants.%X.cpp_destructor] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/extern_c.carbon b/toolchain/check/testdata/interop/cpp/function/import/extern_c.carbon index 92682b97d6b4..1a4c7c37ab2c 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/extern_c.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/extern_c.carbon @@ -94,8 +94,6 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extern_c_function_with_cpp_overload_set.carbon @@ -160,8 +158,6 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: %.loc12_11.2: %i32 = converted %int_5, %.loc12_11.1 [concrete = constants.%int_5.eef] // CHECK:STDOUT: %foo.call.loc12: init %empty_tuple.type = call imports.%foo.decl.6431a3.2(%.loc12_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extern_c_variable.carbon @@ -209,8 +205,6 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: %bound_method.loc10_13.2: = bound_method %.loc10, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc10_13.2(%.loc10) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extern_c_with_special_name.carbon @@ -244,7 +238,5 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: %operator_Plus__carbon_thunk.call: init %empty_tuple.type = call imports.%operator_Plus__carbon_thunk.decl(%addr.loc11_12.1, %addr.loc11_12.2, %addr.loc11_12.3) // CHECK:STDOUT: %.loc11_12: init %X to %.loc9_34.1 = mark_in_place_init %operator_Plus__carbon_thunk.call // CHECK:STDOUT: return %.loc11_12 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/full_semir.carbon b/toolchain/check/testdata/interop/cpp/function/import/full_semir.carbon index 3bd5c5500bfc..c37982ed9442 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/full_semir.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/full_semir.carbon @@ -195,8 +195,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %i16); @@ -208,8 +206,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc7_13.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int_param.carbon @@ -305,8 +301,6 @@ fn F() { // CHECK:STDOUT: %.loc7_11.2: %i32 = converted %int_1, %.loc7_11.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc7_11.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %i32); @@ -396,8 +390,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc7_37.3, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc7_37.3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo_short() -> out %return.param: %i16; @@ -409,7 +401,5 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc7_37.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/function.carbon b/toolchain/check/testdata/interop/cpp/function/import/function.carbon index 029929f469dd..270d2969ee18 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/function.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/function.carbon @@ -207,8 +207,6 @@ fn G() -> i32 { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_special_name_call_escaped.carbon @@ -236,8 +234,6 @@ fn G() -> i32 { // CHECK:STDOUT: %base.ref: %base.cpp_overload_set.type = name_ref r#base, imports.%base.cpp_overload_set.value [concrete = constants.%base.cpp_overload_set.value] // CHECK:STDOUT: %base.call: init %empty_tuple.type = call imports.%base.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_overloaded.carbon @@ -265,8 +261,6 @@ fn G() -> i32 { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_variadic.carbon @@ -291,8 +285,6 @@ fn G() -> i32 { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete = constants.%int_8] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- todo_fail_import_static.carbon @@ -320,8 +312,6 @@ fn G() -> i32 { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_template_function.carbon @@ -392,8 +382,6 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc8_13.2: %i32 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_13.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { @@ -411,7 +399,5 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc14_20.2: %i32 = converted %int_1, %.loc14_20.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %bar.call: init %i32 = call imports.%bar.decl(%.loc14_20.2) // CHECK:STDOUT: return %bar.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/in_template.carbon b/toolchain/check/testdata/interop/cpp/function/import/in_template.carbon index 049bf496081f..2436995927a9 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/in_template.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/in_template.carbon @@ -92,7 +92,5 @@ fn F() { // CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_42, %.loc8_11.1 [concrete = constants.%int_42.ac4] // CHECK:STDOUT: %X.f.call: init %empty_tuple.type = call imports.%X.f.decl(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/inline.carbon b/toolchain/check/testdata/interop/cpp/function/import/inline.carbon index 60ac9423a2e5..58ec72be9574 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/inline.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/inline.carbon @@ -111,8 +111,6 @@ fn MyF() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- todo_fail_import_without_definition.carbon @@ -143,8 +141,6 @@ fn MyF() { // CHECK:STDOUT: %foo.ref.loc20: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call.loc20: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- automatic_return_type.carbon @@ -366,8 +362,6 @@ fn MyF() { // CHECK:STDOUT: %Destroy.Op.call.loc15: init %empty_tuple.type = call %Destroy.Op.bound.loc15(%.loc15_43.3) // CHECK:STDOUT: %Destroy.Op.call.loc14: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_41.1(%self.param: ref %i16.builtin) = "no_op"; @@ -375,7 +369,5 @@ fn MyF() { // CHECK:STDOUT: fn @Destroy.Op.loc16_41.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/multiple_too_few_args_calls.carbon b/toolchain/check/testdata/interop/cpp/function/import/multiple_too_few_args_calls.carbon index c925a442237a..32fc26d17b8e 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/multiple_too_few_args_calls.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/multiple_too_few_args_calls.carbon @@ -67,7 +67,5 @@ fn Call() { // CHECK:STDOUT: %Cpp.ref.loc27: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %F2.ref: %F2.cpp_overload_set.type = name_ref F2, imports.%F2.cpp_overload_set.value [concrete = constants.%F2.cpp_overload_set.value] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/overloads.carbon b/toolchain/check/testdata/interop/cpp/function/import/overloads.carbon index 6296ddf19b40..e4a247d0daab 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/overloads.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/overloads.carbon @@ -920,8 +920,6 @@ fn F() { // CHECK:STDOUT: %bar__carbon_thunk.call: init %empty_tuple.type = call imports.%bar__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @bar(%a.param: %i16); @@ -933,8 +931,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc7_13.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_overloaded_functions.carbon @@ -1031,8 +1027,6 @@ fn F() { // CHECK:STDOUT: %.loc7_13.2: %i32 = converted %int_1, %.loc7_13.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc7_13.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %i32); @@ -1209,8 +1203,6 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.597) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo.1(%a.param: %i32); @@ -1224,8 +1216,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc8_13.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_multiple_overloaded_sets.carbon @@ -1352,8 +1342,6 @@ fn F() { // CHECK:STDOUT: %.loc8_13.2: %i32 = converted %int_1.loc8, %.loc8_13.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %bar.call: init %empty_tuple.type = call imports.%bar.decl(%.loc8_13.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %i32); @@ -1819,8 +1807,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.call.loc22_51: init %empty_tuple.type = call %Destroy.Op.bound.loc22(%.loc22_51.3) // CHECK:STDOUT: %Destroy.Op.call.loc22_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.eaa(constants.%.e05) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo.1(%a.param: %i32) -> out %return.param: %i32; @@ -1836,8 +1822,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc31_71.2(%self.param: ref %i128) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_large_int_literal.carbon @@ -1894,8 +1878,6 @@ fn F() { // CHECK:STDOUT: %h.patt: %pattern_type.97f = value_binding_pattern h [concrete = constants.%h.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_negative_int_literal.carbon @@ -2010,8 +1992,6 @@ fn F() { // CHECK:STDOUT: %.loc8_11.4: %i32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-1.4ef] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %i32); @@ -2128,8 +2108,6 @@ fn F() { // CHECK:STDOUT: %.loc15_11.4: %u32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc15_11.3 [concrete = constants.%int_-1.002] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc15_11.4) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %u32); @@ -2288,8 +2266,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.call.loc7_34: init %empty_tuple.type = call %Destroy.Op.bound(%.loc7_34.3) // CHECK:STDOUT: %Destroy.Op.call.loc7_31: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.011) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %f64.dc1) -> out %return.param: %f64.dc1; @@ -2301,8 +2277,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc7_34.2(%self.param: ref %f64.dc1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_large_floating_point_literal.carbon @@ -2444,8 +2418,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc15_19.3, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc15_19.3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %f64.dc1) -> out %return.param: %f64.dc1; @@ -2457,8 +2429,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc15_19.2(%self.param: ref %f64.dc1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- struct_init.carbon @@ -2622,8 +2592,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc15_30.2, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc15_30.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassNoFields(%s.param: %NoFields); @@ -2813,8 +2781,6 @@ fn F() { // CHECK:STDOUT: %addr.loc72: %ptr.6c3 = addr_of [concrete = ] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc72: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc72) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassThreeFields(%t.param: %ThreeFields.1b4); @@ -2879,8 +2845,6 @@ fn F() { // CHECK:STDOUT: %int_3.loc25: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] // CHECK:STDOUT: %.loc25: %struct_type.a.x.c = struct_literal (%int_1.loc25, %int_2.loc25, %int_3.loc25) [concrete = constants.%struct.11a] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_struct_init_unsupported_field_name.carbon @@ -2927,8 +2891,6 @@ fn F() { // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: %.loc11: %struct_type.base = struct_literal (%int_1) [concrete = constants.%struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_struct_init_from_tuple.carbon @@ -3173,8 +3135,6 @@ fn F() { // CHECK:STDOUT: %addr.loc62: %ptr.027 = addr_of [concrete = ] // CHECK:STDOUT: %PassNoFields__carbon_thunk.call.loc62: init %empty_tuple.type = call imports.%PassNoFields__carbon_thunk.decl(%addr.loc62) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassNoFields(%s.param: %NoFields); @@ -3215,8 +3175,6 @@ fn F() { // CHECK:STDOUT: %addr.loc118: %ptr.6c3 = addr_of [concrete = ] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc118: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc118) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassThreeFields(%t.param: %ThreeFields.1b4); @@ -3301,8 +3259,6 @@ fn F() { // CHECK:STDOUT: %.loc33_16.2: %i32 = converted %.loc33_16.1, [concrete = ] // CHECK:STDOUT: %PassInt.call.loc33: init %empty_tuple.type = call imports.%PassInt.decl() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassInt(%n.param: %i32); @@ -3385,8 +3341,6 @@ fn F() { // CHECK:STDOUT: %.loc34_23.2: %i32 = converted %.loc34_23.1, [concrete = ] // CHECK:STDOUT: %PassOverloaded.call.loc34: init %empty_tuple.type = call imports.%PassOverloaded.decl() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassOverloaded(%n.param: %i32); @@ -3442,8 +3396,6 @@ fn F() { // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] // CHECK:STDOUT: %.loc15_43: %struct_type.a.n = struct_literal (%.loc15_34, %int_3) [concrete = constants.%struct.7ea] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_pass_nested_structs.carbon @@ -3564,8 +3516,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.dc0 = addr_of [concrete = ] // CHECK:STDOUT: %TakeB__carbon_thunk.call: init %empty_tuple.type = call imports.%TakeB__carbon_thunk.decl(%addr) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TakeB(%_.param: %B); @@ -3673,8 +3623,6 @@ fn F() { // CHECK:STDOUT: %.loc18_13.3: %i32 = converted %.loc18_13.2, [concrete = ] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %i32); @@ -3782,8 +3730,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr = addr_of [concrete = ] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %i16); @@ -3865,8 +3811,6 @@ fn F() { // CHECK:STDOUT: %.loc15_13.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d98] // CHECK:STDOUT: %.loc15_13.2: %i64 = converted %int_1, %.loc15_13.1 [concrete = constants.%int_1.d98] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_ambiguous_overload.carbon @@ -3944,8 +3888,6 @@ fn F() { // CHECK:STDOUT: %.loc19_13.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d98] // CHECK:STDOUT: %.loc19_13.2: %i64 = converted %int_1, %.loc19_13.1 [concrete = constants.%int_1.d98] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_deleted_function.carbon @@ -4023,8 +3965,6 @@ fn F() { // CHECK:STDOUT: %.loc19_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %.loc19_13.2: %i32 = converted %int_1, %.loc19_13.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_missing_impl.carbon @@ -4103,8 +4043,6 @@ fn F() { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @EchoValue(%ValueT.loc10_20.2: %I.type, %value.loc10_45.2: @EchoValue.%ValueT.as_type.loc10_47.1 (%ValueT.as_type)) { @@ -4120,8 +4058,6 @@ fn F() { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -4131,8 +4067,6 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { diff --git a/toolchain/check/testdata/interop/cpp/function/import/param_unsupported.carbon b/toolchain/check/testdata/interop/cpp/function/import/param_unsupported.carbon index ee022a5a9697..c2e5a4d6bc08 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/param_unsupported.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/param_unsupported.carbon @@ -118,8 +118,6 @@ fn F(x: i8388608) { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_11: Core.IntLiteral = int_value 11 [concrete = constants.%int_11] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_unsupported_primitive_type_among_params.carbon @@ -146,7 +144,5 @@ fn F(x: i8388608) { // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: %int_20: Core.IntLiteral = int_value 20 [concrete = constants.%int_20] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/pointer.carbon b/toolchain/check/testdata/interop/cpp/function/import/pointer.carbon index 6636a46959c7..4ed1824c432e 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/pointer.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/pointer.carbon @@ -486,8 +486,6 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_non_nullable_pointer_param_using_const_pointer.carbon @@ -552,8 +550,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %p.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%p.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.1(%self.param: ref %ptr) = "no_op"; @@ -561,8 +557,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %const) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_double_non_nullable_pointer_param.carbon @@ -664,8 +658,6 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr.037) = "no_op"; @@ -730,15 +722,11 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %s.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %const) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_non_nullable_pointer_to_const_param_using_non_const.carbon @@ -803,8 +791,6 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_const_non_nullable_pointer_param_using_const.carbon @@ -869,8 +855,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %p.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%p.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.1(%self.param: ref %ptr) = "no_op"; @@ -878,8 +862,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %const) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_const_non_nullable_pointer_param_using_non_const.carbon @@ -940,8 +922,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %p.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%p.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr) = "no_op"; @@ -1080,36 +1060,26 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %p.var, constants.%Destroy.Op.1a2547.5 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%p.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_11.1(%self.param: ref %.08a0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_11.2(%self.param: ref %MaybeUnformed.9f2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_11.3(%self.param: ref %Optional.0c8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %const.f96) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_const_nullable_pointer_param_using_non_const.carbon @@ -1234,29 +1204,21 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %p.var, constants.%Destroy.Op.1a2547.1 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%p.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_11.1(%self.param: ref %.08a0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_11.2(%self.param: ref %MaybeUnformed.9f2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_11.3(%self.param: ref %Optional.0c8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_non_nullable_pointer_return.carbon @@ -1301,8 +1263,6 @@ fn F() { // CHECK:STDOUT: %foo.ref.loc11: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call.loc11: init %ptr = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_double_pointer_return.carbon @@ -1348,8 +1308,6 @@ fn F() { // CHECK:STDOUT: %foo.ref.loc11: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call.loc11: init %ptr.65c = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_const_non_nullable_pointer_return.carbon @@ -1395,8 +1353,6 @@ fn F() { // CHECK:STDOUT: %foo.ref.loc11: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call.loc11: init %ptr = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- non_nullable_pointer_arg_to_pointer_param.carbon @@ -1524,29 +1480,21 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_11.1(%self.param: ref %.08a0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_11.2(%self.param: ref %MaybeUnformed.9f2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_11.3(%self.param: ref %Optional.0c8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- null_pointer_arg_to_pointer_param.carbon @@ -1649,29 +1597,21 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_38.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_38.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_38.1(%self.param: ref %.08a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_38.2(%self.param: ref %MaybeUnformed.9f2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_38.3(%self.param: ref %Optional.679) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nonnull_pointer_arg_to_pointer_param.carbon @@ -1804,29 +1744,21 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_40.1(%self.param: ref %.08a0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_40.2(%self.param: ref %MaybeUnformed.9f2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_40.3(%self.param: ref %Optional.0c8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forward_nullable_pointer.carbon @@ -1913,29 +1845,21 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_19.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_19.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_19.1(%self.param: ref %.08a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_19.2(%self.param: ref %MaybeUnformed.9f2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_19.3(%self.param: ref %Optional.148) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_deduced_any_param_as_pointer.carbon @@ -2010,8 +1934,6 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_deduced_pointer_param_as_pointer.carbon @@ -2205,28 +2127,20 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_65.1(%self.param: ref %.08a0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_65.2(%self.param: ref %MaybeUnformed.9f2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_65.3(%self.param: ref %Optional.0c8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/qualified_param.carbon b/toolchain/check/testdata/interop/cpp/function/import/qualified_param.carbon index 62e34c5098b0..19470127db03 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/qualified_param.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/qualified_param.carbon @@ -139,7 +139,5 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/reference.carbon b/toolchain/check/testdata/interop/cpp/function/import/reference.carbon index 6888e00eb0ff..6a7717e68589 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/reference.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/reference.carbon @@ -540,8 +540,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_param_lvalue_ref.carbon @@ -694,8 +692,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %S.cpp_destructor.bound.loc8: = bound_method %v.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call.loc8: init %empty_tuple.type = call %S.cpp_destructor.bound.loc8(%v.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_param_rvalue_ref.carbon @@ -742,8 +738,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %addr: %ptr.037 = addr_of %_.var // CHECK:STDOUT: %TakesRValue__carbon_thunk.call: init %empty_tuple.type = call imports.%TakesRValue__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_param_rvalue_ref.carbon @@ -864,8 +858,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_param_const_lvalue_ref_with_ref.carbon @@ -949,8 +941,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_param_const_lvalue_ref_with_value.carbon @@ -1028,8 +1018,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %.loc11_40.2: %ptr.711 = converted %addr.loc11, %.loc11_40.1 // CHECK:STDOUT: %TakesConstLValue__carbon_thunk.call.loc11: init %empty_tuple.type = call imports.%TakesConstLValue__carbon_thunk.decl(%.loc11_40.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- param_value_arg_for_const_rvalue_ref.carbon @@ -1082,8 +1070,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %.loc9_26.2: %ptr.711 = converted %addr.loc9, %.loc9_26.1 // CHECK:STDOUT: %TakesConstRValue__carbon_thunk.call.loc9: init %empty_tuple.type = call imports.%TakesConstRValue__carbon_thunk.decl(%.loc9_26.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_param_lvalue_ref_arg_const_rvalue_ref.carbon @@ -1186,8 +1172,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_return_lvalue_ref.carbon @@ -1227,8 +1211,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %s.patt: %pattern_type = ref_binding_pattern s [concrete = constants.%s.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_return_rvalue_ref.carbon @@ -1268,8 +1250,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %s.patt: %pattern_type = ref_binding_pattern s [concrete = constants.%s.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_return_const_lvalue_ref.carbon @@ -1311,8 +1291,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %s.patt: %pattern_type = ref_binding_pattern s [concrete = constants.%s.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- forwarding_reference.carbon @@ -1388,8 +1366,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %.loc28_37.2: %ptr.faf = converted %addr, %.loc28_37.1 // CHECK:STDOUT: %TakeAnything_ExpectConstRRef__carbon_thunk.call: init %empty_tuple.type = call imports.%TakeAnything_ExpectConstRRef__carbon_thunk.decl(%.loc28_37.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassRef(%x.param: ref %X) { @@ -1400,8 +1376,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %.loc34: %X = ref_tag %x.ref // CHECK:STDOUT: %TakeAnything_ExpectLRef.call: init %empty_tuple.type = call imports.%TakeAnything_ExpectLRef.decl(%x.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassConstRef(%x.param: ref %const) { @@ -1418,8 +1392,6 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %.loc40_37.2: %ptr.faf = converted %addr, %.loc40_37.1 // CHECK:STDOUT: %TakeAnything_ExpectConstLRef__carbon_thunk.call: init %empty_tuple.type = call imports.%TakeAnything_ExpectConstLRef__carbon_thunk.decl(%.loc40_37.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassInit() { @@ -1433,7 +1405,5 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %addr: %ptr.db8 = addr_of %_.var // CHECK:STDOUT: %TakeAnything_ExpectRRef__carbon_thunk.call: init %empty_tuple.type = call imports.%TakeAnything_ExpectRRef__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/return.carbon b/toolchain/check/testdata/interop/cpp/function/import/return.carbon index d23475cd1331..b4a76de06e77 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/return.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/return.carbon @@ -172,8 +172,6 @@ fn Var() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc11_22.3, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc11_22.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_22.1(%self.param: ref %i16.builtin) = "no_op"; @@ -181,8 +179,6 @@ fn Var() { // CHECK:STDOUT: fn @Destroy.Op.loc11_22.2(%self.param: ref %i16) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var_from_thunk_param.carbon @@ -247,8 +243,6 @@ fn Var() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1a2547.5 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %ptr.00a) = "no_op"; @@ -256,22 +250,16 @@ fn Var() { // CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %.a7d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.3(%self.param: ref %MaybeUnformed.399) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.4(%self.param: ref %Cpp.nullptr_t) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- return_from_thunk_param.carbon @@ -354,8 +342,6 @@ fn Var() { // CHECK:STDOUT: %ReturnU8__carbon_thunk.call: init %empty_tuple.type = call imports.%ReturnU8__carbon_thunk.decl(%addr) // CHECK:STDOUT: %.loc8_40.2: init %u8 to %.loc8_40.1 = mark_in_place_init %ReturnU8__carbon_thunk.call // CHECK:STDOUT: return %.loc8_40.2 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ReturnU8() -> out %return.param: %u8; @@ -442,8 +428,6 @@ fn Var() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %my_u32.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%my_u32.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ReturnU32() -> out %return.param: %u32; @@ -453,7 +437,5 @@ fn Var() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %u32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/struct.carbon b/toolchain/check/testdata/interop/cpp/function/import/struct.carbon index 1b758df97f6f..f3b1a5a03318 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/struct.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/struct.carbon @@ -527,8 +527,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.037 = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_non_copyable_param_type.carbon @@ -564,8 +562,6 @@ fn F() { // CHECK:STDOUT: %s.ref: %S = name_ref s, %s // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%s.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- definition_single_data_member_value_param_type.carbon @@ -604,8 +600,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.037 = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- definition_multiple_data_members_value_param_type.carbon @@ -644,8 +638,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.037 = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_namespace_value_param_type.carbon @@ -727,8 +719,6 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %x.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_relative_namespace_value_param_type.carbon @@ -776,8 +766,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.b0f = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_outer_definition.carbon @@ -855,8 +843,6 @@ fn F() { // CHECK:STDOUT: %O.cpp_destructor.bound: = bound_method %x.var, constants.%O.cpp_destructor // CHECK:STDOUT: %O.cpp_destructor.call: init %empty_tuple.type = call %O.cpp_destructor.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_and_static_method_call_before.carbon @@ -905,8 +891,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.037 = addr_of %.loc9 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_and_static_method_call_after.carbon @@ -955,8 +939,6 @@ fn F() { // CHECK:STDOUT: %bar.ref: %S.bar.cpp_overload_set.type = name_ref bar, imports.%S.bar.cpp_overload_set.value [concrete = constants.%S.bar.cpp_overload_set.value] // CHECK:STDOUT: %S.bar.call: init %empty_tuple.type = call imports.%S.bar.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_decl_pointer_param_type.carbon @@ -993,8 +975,6 @@ fn F() { // CHECK:STDOUT: %s.ref: %ptr = name_ref s, %s // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%s.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_pointer_param_type.carbon @@ -1031,8 +1011,6 @@ fn F() { // CHECK:STDOUT: %s.ref: %ptr = name_ref s, %s // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%s.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_value_return_type.carbon @@ -1074,8 +1052,6 @@ fn F() { // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %.loc8_11.3, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%.loc8_11.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_decl_pointer_return_type.carbon @@ -1108,8 +1084,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %ptr = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_pointer_return_type.carbon @@ -1142,7 +1116,5 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %ptr = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/union.carbon b/toolchain/check/testdata/interop/cpp/function/import/union.carbon index f4055da1cfd4..99d6e5f00d77 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/union.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/union.carbon @@ -487,8 +487,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.2fe = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_single_data_member_value_param_type.carbon @@ -527,8 +525,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.2fe = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_multiple_data_members_value_param_type.carbon @@ -567,8 +563,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.2fe = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_namespace_value_param_type.carbon @@ -650,8 +644,6 @@ fn F() { // CHECK:STDOUT: %U.cpp_destructor.bound: = bound_method %x.var, constants.%U.cpp_destructor // CHECK:STDOUT: %U.cpp_destructor.call: init %empty_tuple.type = call %U.cpp_destructor.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_relative_namespace_value_param_type.carbon @@ -699,8 +691,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.6d9 = addr_of %.loc8 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_in_outer_definition.carbon @@ -778,8 +768,6 @@ fn F() { // CHECK:STDOUT: %O.cpp_destructor.bound: = bound_method %x.var, constants.%O.cpp_destructor // CHECK:STDOUT: %O.cpp_destructor.call: init %empty_tuple.type = call %O.cpp_destructor.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_and_static_method_call_before.carbon @@ -828,8 +816,6 @@ fn F() { // CHECK:STDOUT: %addr: %ptr.2fe = addr_of %.loc9 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_and_static_method_call_after.carbon @@ -878,8 +864,6 @@ fn F() { // CHECK:STDOUT: %bar.ref: %U.bar.cpp_overload_set.type = name_ref bar, imports.%U.bar.cpp_overload_set.value [concrete = constants.%U.bar.cpp_overload_set.value] // CHECK:STDOUT: %U.bar.call: init %empty_tuple.type = call imports.%U.bar.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_decl_pointer_param_type.carbon @@ -916,8 +900,6 @@ fn F() { // CHECK:STDOUT: %u.ref: %ptr = name_ref u, %u // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%u.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_pointer_param_type.carbon @@ -954,8 +936,6 @@ fn F() { // CHECK:STDOUT: %u.ref: %ptr = name_ref u, %u // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%u.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_value_return_type.carbon @@ -997,8 +977,6 @@ fn F() { // CHECK:STDOUT: %U.cpp_destructor.bound: = bound_method %.loc8_11.3, constants.%U.cpp_destructor // CHECK:STDOUT: %U.cpp_destructor.call: init %empty_tuple.type = call %U.cpp_destructor.bound(%.loc8_11.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_decl_pointer_return_type.carbon @@ -1031,8 +1009,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %ptr = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_definition_pointer_return_type.carbon @@ -1065,7 +1041,5 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %ptr = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/variadic.carbon b/toolchain/check/testdata/interop/cpp/function/import/variadic.carbon index db121568ce80..479ddc7987f7 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/variadic.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/variadic.carbon @@ -117,8 +117,6 @@ fn Call3() { // CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl.6431a3.1(%.loc8_11.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Call2() { @@ -143,8 +141,6 @@ fn Call3() { // CHECK:STDOUT: %.loc14_14.2: %i32 = converted %int_2, %.loc14_14.1 [concrete = constants.%int_2.295] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl.6431a3.2(%.loc14_11.2, %.loc14_14.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Call3() { @@ -177,7 +173,5 @@ fn Call3() { // CHECK:STDOUT: %.loc20_17.2: %i32 = converted %int_3, %.loc20_17.1 [concrete = constants.%int_3.410] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl.6431a3.3(%.loc20_11.2, %.loc20_14.2, %.loc20_17.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/void_pointer.carbon b/toolchain/check/testdata/interop/cpp/function/import/void_pointer.carbon index bb8a57c03b9e..e6e74508d672 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/void_pointer.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/void_pointer.carbon @@ -145,8 +145,6 @@ fn F() { // CHECK:STDOUT: %input.ref: %ptr = name_ref input, %input // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%input.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- non_nullable_return_value.carbon @@ -193,8 +191,6 @@ fn F() { // CHECK:STDOUT: %output.patt: %pattern_type = value_binding_pattern output [concrete = constants.%output.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nullable_param.carbon @@ -296,29 +292,21 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_11.3, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_11.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_11.1(%self.param: ref %.a7d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_11.2(%self.param: ref %MaybeUnformed.399) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_11.3(%self.param: ref %Optional.d03) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- null_param.carbon @@ -428,29 +416,21 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_41.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_41.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_41.1(%self.param: ref %.a7d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_41.2(%self.param: ref %MaybeUnformed.399) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_41.3(%self.param: ref %Optional.743) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nullable_return_value.carbon @@ -552,29 +532,21 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_57.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_57.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_57.1(%self.param: ref %.a7d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_57.2(%self.param: ref %MaybeUnformed.399) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_57.3(%self.param: ref %Optional.f99) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- non_nullable_pointer.carbon @@ -646,8 +618,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %non_nullable_pointer.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%non_nullable_pointer.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr.6f9) = "no_op"; @@ -721,8 +691,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %const_void_pointer.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%const_void_pointer.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr) = "no_op"; diff --git a/toolchain/check/testdata/interop/cpp/impls/as.carbon b/toolchain/check/testdata/interop/cpp/impls/as.carbon index ba213fe4ea1f..7a2b6f404222 100644 --- a/toolchain/check/testdata/interop/cpp/impls/as.carbon +++ b/toolchain/check/testdata/interop/cpp/impls/as.carbon @@ -236,8 +236,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %Dest.cpp_destructor.bound: = bound_method %.loc8_5.4, %Op.ref // CHECK:STDOUT: %Dest.cpp_destructor.call: init %empty_tuple.type = call %Dest.cpp_destructor.bound(%.loc8_5.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConstructorConversion(%s.param: %Source2) { @@ -259,8 +257,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %Dest2.cpp_destructor.bound: = bound_method %.loc14_5.4, %Op.ref // CHECK:STDOUT: %Dest2.cpp_destructor.call: init %empty_tuple.type = call %Dest2.cpp_destructor.bound(%.loc14_5.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ExplicitConstructorTest(%s.param: %Source) { @@ -282,8 +278,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %ExplicitConstructor.cpp_destructor.bound: = bound_method %.loc20_5.4, %Op.ref // CHECK:STDOUT: %ExplicitConstructor.cpp_destructor.call: init %empty_tuple.type = call %ExplicitConstructor.cpp_destructor.bound(%.loc20_5.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ExplicitConversionTest(%s.param: %ExplicitConversion) { @@ -302,8 +296,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %Dest.cpp_destructor.bound: = bound_method %.loc26_5.4, %Op.ref // CHECK:STDOUT: %Dest.cpp_destructor.call: init %empty_tuple.type = call %Dest.cpp_destructor.bound(%.loc26_5.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- conditionally_explicit.carbon @@ -427,8 +419,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %ConditionallyExplicit.cpp_destructor.bound.loc8: = bound_method %.loc8_43.5, %Op.ref.loc8 // CHECK:STDOUT: %ConditionallyExplicit.cpp_destructor.call.loc8: init %empty_tuple.type = call %ConditionallyExplicit.cpp_destructor.bound.loc8(%.loc8_43.5) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConstructorExplicit(%s.param: %Source) { @@ -450,8 +440,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %ConditionallyExplicit.cpp_destructor.bound: = bound_method %.loc15_5.4, %Op.ref // CHECK:STDOUT: %ConditionallyExplicit.cpp_destructor.call: init %empty_tuple.type = call %ConditionallyExplicit.cpp_destructor.bound(%.loc15_5.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConversionNotExplicit(%s.param: %ConditionallyExplicit.3cd) { @@ -491,8 +479,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %Dest.cpp_destructor.bound.loc21: = bound_method %.loc21_21.4, %Op.ref.loc21 // CHECK:STDOUT: %Dest.cpp_destructor.call.loc21: init %empty_tuple.type = call %Dest.cpp_destructor.bound.loc21(%.loc21_21.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConversionExplicit(%s.param: %ConditionallyExplicit.3cd) { @@ -511,8 +497,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %Dest.cpp_destructor.bound: = bound_method %.loc28_5.4, %Op.ref // CHECK:STDOUT: %Dest.cpp_destructor.call: init %empty_tuple.type = call %Dest.cpp_destructor.bound(%.loc28_5.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_conditionally_explicit_implicit.carbon @@ -573,8 +557,6 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %_.patt: %pattern_type.04c = value_binding_pattern _ [concrete = constants.%_.patt.d67] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConversionExplicit(%s.param: %ConditionallyExplicit.3cd) { @@ -601,7 +583,5 @@ fn ConversionExplicit(s: Cpp.ConditionallyExplicitFalse) { // CHECK:STDOUT: %Dest.cpp_destructor.bound: = bound_method %.loc21_21.4, %Op.ref // CHECK:STDOUT: %Dest.cpp_destructor.call: init %empty_tuple.type = call %Dest.cpp_destructor.bound(%.loc21_21.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/impls/copy.carbon b/toolchain/check/testdata/interop/cpp/impls/copy.carbon index b5f3896372b5..2193fce6c599 100644 --- a/toolchain/check/testdata/interop/cpp/impls/copy.carbon +++ b/toolchain/check/testdata/interop/cpp/impls/copy.carbon @@ -267,8 +267,6 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: %Copyable__carbon_thunk.call: init %empty_tuple.type = call imports.%Copyable__carbon_thunk.decl(%.loc8_10.4, %addr.loc8_10.2) // CHECK:STDOUT: %.loc8_10.5: init %Copyable to %.loc6_40.1 = mark_in_place_init %Copyable__carbon_thunk.call // CHECK:STDOUT: return %.loc8_10.5 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CopyExplicitCopy(%c.param: %ExplicitCopy) -> out %return.param: %ExplicitCopy { @@ -288,8 +286,6 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: %ExplicitCopy__carbon_thunk.call: init %empty_tuple.type = call imports.%ExplicitCopy__carbon_thunk.decl(%.loc14_10.4, %addr.loc14_10.2) // CHECK:STDOUT: %.loc14_10.5: init %ExplicitCopy to %.loc12_48.1 = mark_in_place_init %ExplicitCopy__carbon_thunk.call // CHECK:STDOUT: return %.loc14_10.5 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- copy_generically.carbon @@ -336,8 +332,6 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: // CHECK:STDOUT: %Copy.call: init %Copyable to %.loc10_34.1 = call %Copy.specific_fn(%c.ref) // CHECK:STDOUT: return %Copy.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @EqualWitnesses(%p.param: %ptr.fa1) -> out %return.param: %ptr.fa1 { @@ -349,7 +343,5 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: %bound_method.loc20_10.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.fa1 = call %bound_method.loc20_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/impls/destroy.carbon b/toolchain/check/testdata/interop/cpp/impls/destroy.carbon index 3ee6c106906b..e5dfe0e3022c 100644 --- a/toolchain/check/testdata/interop/cpp/impls/destroy.carbon +++ b/toolchain/check/testdata/interop/cpp/impls/destroy.carbon @@ -337,8 +337,6 @@ fn F() { // CHECK:STDOUT: %PublicDestructor.cpp_destructor.bound: = bound_method %a.var, constants.%PublicDestructor.cpp_destructor // CHECK:STDOUT: %PublicDestructor.cpp_destructor.call: init %empty_tuple.type = call %PublicDestructor.cpp_destructor.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PublicDestructor.cpp_destructor(%self.param: ref %PublicDestructor); @@ -371,8 +369,6 @@ fn F() { // CHECK:STDOUT: %TrivialDestructor.cpp_destructor.bound: = bound_method %a.var, %Op.ref // CHECK:STDOUT: %TrivialDestructor.cpp_destructor.call: init %empty_tuple.type = call %TrivialDestructor.cpp_destructor.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TrivialDestructor.cpp_destructor(%self.param: ref %TrivialDestructor) = "no_op"; @@ -383,8 +379,6 @@ fn F() { // CHECK:STDOUT: %TrivialDestructor.cpp_destructor.bound: = bound_method %self.param, %Op.ref // CHECK:STDOUT: %TrivialDestructor.cpp_destructor.call: init %empty_tuple.type = call %TrivialDestructor.cpp_destructor.bound(%self.param) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_destroy_protected_base_destructor.carbon @@ -430,22 +424,16 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_3.1(%self.param: ref %struct_type.base.454) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_3.2(%self.param: ref %Derived) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_destroy_private_base_destructor.carbon @@ -491,21 +479,15 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc21_3.1(%self.param: ref %struct_type.base.9aa) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc21_3.2(%self.param: ref %Derived) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/impls/implicit_as.carbon b/toolchain/check/testdata/interop/cpp/impls/implicit_as.carbon index 874f2276b79b..8109fa1d2658 100644 --- a/toolchain/check/testdata/interop/cpp/impls/implicit_as.carbon +++ b/toolchain/check/testdata/interop/cpp/impls/implicit_as.carbon @@ -508,8 +508,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %Dest.cpp_destructor.bound: = bound_method %.loc8_21.4, %Op.ref // CHECK:STDOUT: %Dest.cpp_destructor.call: init %empty_tuple.type = call %Dest.cpp_destructor.bound(%.loc8_21.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NonConstConversion.loc12(%s.param: ref %NonConstConversion.689) { @@ -535,8 +533,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %Dest.cpp_destructor.bound: = bound_method %.loc14_21.4, %Op.ref // CHECK:STDOUT: %Dest.cpp_destructor.call: init %empty_tuple.type = call %Dest.cpp_destructor.bound(%.loc14_21.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConstructorConversion(%s.param: %Source2) { @@ -565,8 +561,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %Dest2.cpp_destructor.bound: = bound_method %.loc20_22.5, %Op.ref // CHECK:STDOUT: %Dest2.cpp_destructor.call: init %empty_tuple.type = call %Dest2.cpp_destructor.bound(%.loc20_22.5) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_expr_category.carbon @@ -601,8 +595,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %_.patt: %pattern_type.b72 = value_binding_pattern _ [concrete = constants.%_.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_access.carbon @@ -694,8 +686,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %InaccessibleConstructor.cpp_destructor.bound: = bound_method %.loc16_40.5, %Op.ref // CHECK:STDOUT: %InaccessibleConstructor.cpp_destructor.call: init %empty_tuple.type = call %InaccessibleConstructor.cpp_destructor.bound(%.loc16_40.5) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InaccessibleConversionTest(%s.param: %InaccessibleConversion) { @@ -722,8 +712,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %Dest.cpp_destructor.bound: = bound_method %.loc30_21.4, %Op.ref // CHECK:STDOUT: %Dest.cpp_destructor.call: init %empty_tuple.type = call %Dest.cpp_destructor.bound(%.loc30_21.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_deleted.carbon @@ -766,8 +754,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %_.patt: %pattern_type.937 = value_binding_pattern _ [concrete = constants.%_.patt.a57] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @DeletedConversionTest(%s.param: %DeletedConversion) { @@ -783,8 +769,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %_.patt: %pattern_type.b72 = value_binding_pattern _ [concrete = constants.%_.patt.664] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_explicit.carbon @@ -827,8 +811,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %_.patt: %pattern_type.eae = value_binding_pattern _ [concrete = constants.%_.patt.411] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ExplicitConversionTest(%s.param: %ExplicitConversion) { @@ -844,8 +826,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %_.patt: %pattern_type.b72 = value_binding_pattern _ [concrete = constants.%_.patt.664] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- i32_to_int.carbon @@ -908,8 +888,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %IntConstructor.cpp_destructor.bound: = bound_method %.loc8_31.4, %Op.ref // CHECK:STDOUT: %IntConstructor.cpp_destructor.call: init %empty_tuple.type = call %IntConstructor.cpp_destructor.bound(%.loc8_31.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_no_u32_to_int_conversion_in_carbon.carbon @@ -974,8 +952,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %IntConstructor.cpp_destructor.bound: = bound_method %.loc19_31.5, %Op.ref // CHECK:STDOUT: %IntConstructor.cpp_destructor.call: init %empty_tuple.type = call %IntConstructor.cpp_destructor.bound(%.loc19_31.5) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- default_constructor.carbon @@ -1037,8 +1013,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %DefaultConstructor.cpp_destructor.bound: = bound_method %.loc9_36.5, %Op.ref // CHECK:STDOUT: %DefaultConstructor.cpp_destructor.call: init %empty_tuple.type = call %DefaultConstructor.cpp_destructor.bound(%.loc9_36.5) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- construct_multi_argument.carbon @@ -1256,8 +1230,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %Two.cpp_destructor.bound: = bound_method %.loc8_25.5, %Op.ref.loc8 // CHECK:STDOUT: %Two.cpp_destructor.call: init %empty_tuple.type = call %Two.cpp_destructor.bound(%.loc8_25.5) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_aggregate_from_tuple.carbon @@ -1320,8 +1292,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %_.patt.loc31: %pattern_type.5dc = value_binding_pattern _ [concrete = constants.%_.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_aggregate_from_struct.carbon @@ -1384,8 +1354,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %_.patt.loc31: %pattern_type.5dc = value_binding_pattern _ [concrete = constants.%_.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- non_aggregate_from_tuple.carbon @@ -1552,8 +1520,6 @@ fn InitFromStruct() { // CHECK:STDOUT: %NonAggregate.cpp_destructor.bound.loc8: = bound_method %.loc8_30.5, %Op.ref.loc8 // CHECK:STDOUT: %NonAggregate.cpp_destructor.call.loc8: init %empty_tuple.type = call %NonAggregate.cpp_destructor.bound.loc8(%.loc8_30.5) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_non_aggregate_from_struct.carbon @@ -1616,7 +1582,5 @@ fn InitFromStruct() { // CHECK:STDOUT: %_.patt.loc31: %pattern_type.273 = value_binding_pattern _ [concrete = constants.%_.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/macros/macros.carbon b/toolchain/check/testdata/interop/cpp/macros/macros.carbon index efb50692c06b..b22be76cfdd0 100644 --- a/toolchain/check/testdata/interop/cpp/macros/macros.carbon +++ b/toolchain/check/testdata/interop/cpp/macros/macros.carbon @@ -1059,8 +1059,6 @@ fn F() { // CHECK:STDOUT: %f.patt: %pattern_type.6b6 = value_binding_pattern f [concrete = constants.%f.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_macro_and_non_macro_same_name.carbon @@ -1185,8 +1183,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -1194,15 +1190,11 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_unary_operator.carbon @@ -1233,8 +1225,6 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type.6b6 = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_binary_operator.carbon @@ -1265,8 +1255,6 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type.6b6 = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_casting.carbon @@ -1332,8 +1320,6 @@ fn F() { // CHECK:STDOUT: %d.patt: %pattern_type.6b6 = value_binding_pattern d [concrete = constants.%d.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_nested_macros.carbon @@ -1364,8 +1350,6 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type.6b6 = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_string_literal_object_like_macro.carbon @@ -1477,8 +1461,6 @@ fn F() { // CHECK:STDOUT: %g.patt: %pattern_type.adf = value_binding_pattern g [concrete = constants.%g.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_floating_point_literal_macro.carbon @@ -1534,8 +1516,6 @@ fn F() { // CHECK:STDOUT: %c.patt: %pattern_type.240 = value_binding_pattern c [concrete = constants.%c.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_character_literals.carbon @@ -1620,8 +1600,6 @@ fn F() { // CHECK:STDOUT: %f.patt: %pattern_type.2ff = value_binding_pattern f [concrete = constants.%f.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_character_literals_operators.carbon @@ -1676,8 +1654,6 @@ fn F() { // CHECK:STDOUT: %c.patt: %pattern_type.831 = value_binding_pattern c [concrete = constants.%c.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_boolean_literal_macro.carbon @@ -1803,8 +1779,6 @@ fn F() { // CHECK:STDOUT: %k.patt: %pattern_type.6b6 = value_binding_pattern k [concrete = constants.%k.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nullptr.carbon @@ -1904,29 +1878,21 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc11_14.3, constants.%Destroy.Op.1a2547.5 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc11_14.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_14.1(%self.param: ref %.0f8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_14.2(%self.param: ref %MaybeUnformed.b84) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_14.3(%self.param: ref %Optional.ae0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- enums.carbon @@ -1960,8 +1926,6 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- constexpr_int.carbon @@ -2004,8 +1968,6 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type.6b6 = value_binding_pattern a [concrete = constants.%a.patt.bb2] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- constexpr_int_addr.carbon @@ -2052,8 +2014,6 @@ fn F() { // CHECK:STDOUT: %N.ref: ref %const = name_ref N, imports.%n.var [concrete = imports.%n.var] // CHECK:STDOUT: %addr: %ptr = addr_of %N.ref [concrete = constants.%addr] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- lambda.carbon @@ -2084,8 +2044,6 @@ fn F() { // CHECK:STDOUT: %i.patt: %pattern_type.6b6 = value_binding_pattern i [concrete = constants.%i.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_macro_redefined.carbon @@ -2116,8 +2074,6 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type.6b6 = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_macro_defined_twice.carbon @@ -2148,8 +2104,6 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type.6b6 = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- assign.carbon @@ -2203,8 +2157,6 @@ fn F() { // CHECK:STDOUT: %.loc10: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.295] // CHECK:STDOUT: assign %m.ref, %.loc10 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- assign_subobject.carbon @@ -2268,7 +2220,5 @@ fn F() { // CHECK:STDOUT: %.loc17_9: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.295] // CHECK:STDOUT: assign %m.ref, %.loc17_9 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/namespace/import.carbon b/toolchain/check/testdata/interop/cpp/namespace/import.carbon index 87ba0632c279..6b1820b6233d 100644 --- a/toolchain/check/testdata/interop/cpp/namespace/import.carbon +++ b/toolchain/check/testdata/interop/cpp/namespace/import.carbon @@ -395,8 +395,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_multiple.carbon @@ -462,8 +460,6 @@ fn F() { // CHECK:STDOUT: %foo3.ref: %foo3.cpp_overload_set.type = name_ref foo3, imports.%foo3.cpp_overload_set.value [concrete = constants.%foo3.cpp_overload_set.value] // CHECK:STDOUT: %foo3.call: init %empty_tuple.type = call imports.%foo3.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_inline.carbon @@ -496,8 +492,6 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_inline_ambiguity_not_triggered.carbon @@ -539,8 +533,6 @@ fn F() { // CHECK:STDOUT: %X.cpp_destructor.bound: = bound_method %.loc8_11.3, constants.%X.cpp_destructor // CHECK:STDOUT: %X.cpp_destructor.call: init %empty_tuple.type = call %X.cpp_destructor.bound(%.loc8_11.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_special_name_call_escpaed.carbon @@ -573,7 +565,5 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/operators/arithmetic_operators.carbon b/toolchain/check/testdata/interop/cpp/operators/arithmetic_operators.carbon index 6f36cbbedccb..12600acabec3 100644 --- a/toolchain/check/testdata/interop/cpp/operators/arithmetic_operators.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/arithmetic_operators.carbon @@ -1609,8 +1609,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc126_5.4: = bound_method %.loc126_5.3, %specific_impl_fn.loc126_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc126_5.4(%.loc126_5.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1655,8 +1653,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc137_5.4: = bound_method %.loc137_5.3, %specific_impl_fn.loc137_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc137_5.4(%.loc137_5.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1701,8 +1697,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc148_5.4: = bound_method %.loc148_5.3, %specific_impl_fn.loc148_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc148_5.4(%.loc148_5.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1747,8 +1741,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc159_5.4: = bound_method %.loc159_5.3, %specific_impl_fn.loc159_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc159_5.4(%.loc159_5.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1793,8 +1785,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc170_5.4: = bound_method %.loc170_5.3, %specific_impl_fn.loc170_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc170_5.4(%.loc170_5.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1825,8 +1815,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc227_5.2: = bound_method %x.ref, %specific_impl_fn.loc227_5.1 // CHECK:STDOUT: %AddAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc227_5.2(%x.ref, %y.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1857,8 +1845,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc233_5.2: = bound_method %x.ref, %specific_impl_fn.loc233_5.1 // CHECK:STDOUT: %SubAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc233_5.2(%x.ref, %y.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1889,8 +1875,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc239_5.2: = bound_method %x.ref, %specific_impl_fn.loc239_5.1 // CHECK:STDOUT: %MulAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc239_5.2(%x.ref, %y.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1921,8 +1905,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc245_5.2: = bound_method %x.ref, %specific_impl_fn.loc245_5.1 // CHECK:STDOUT: %DivAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc245_5.2(%x.ref, %y.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1953,8 +1935,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc251_5.2: = bound_method %x.ref, %specific_impl_fn.loc251_5.1 // CHECK:STDOUT: %ModAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc251_5.2(%x.ref, %y.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1980,8 +1960,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc280_3.2: = bound_method %x.ref, %specific_impl_fn.loc280_3.1 // CHECK:STDOUT: %Inc.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc280_3.2(%x.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2007,8 +1985,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc286_3.2: = bound_method %x.ref, %specific_impl_fn.loc286_3.1 // CHECK:STDOUT: %Dec.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc286_3.2(%x.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2051,8 +2027,6 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %bound_method.loc296_3.4: = bound_method %.loc296_3.4, %specific_impl_fn.loc296_3.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc296_3.4(%.loc296_3.4) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/operators/deref.carbon b/toolchain/check/testdata/interop/cpp/operators/deref.carbon index 6d9ee560f49e..d6a95f3453e1 100644 --- a/toolchain/check/testdata/interop/cpp/operators/deref.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/deref.carbon @@ -181,8 +181,6 @@ fn TestDerefFail(not_ptr: Cpp.NotAPtr) { // CHECK:STDOUT: %ConstDeref.cpp_operator.bound: = bound_method %.loc13, %Op.ref.loc13_43 // CHECK:STDOUT: %operator_Star__carbon_thunk.call: ref %i32 = call imports.%operator_Star__carbon_thunk.decl(%.loc13) // CHECK:STDOUT: return %operator_Star__carbon_thunk.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- mutable_deref.carbon @@ -232,7 +230,5 @@ fn TestDerefFail(not_ptr: Cpp.NotAPtr) { // CHECK:STDOUT: %.loc13: %MutableDeref = acquire_value %int_ptr.ref // CHECK:STDOUT: %MutableDeref.cpp_operator.call: ref %i32 = call %bound_method(%.loc13) // CHECK:STDOUT: return %MutableDeref.cpp_operator.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/operators/eq_with.carbon b/toolchain/check/testdata/interop/cpp/operators/eq_with.carbon index 043b68e6ce2c..a190ec47a89d 100644 --- a/toolchain/check/testdata/interop/cpp/operators/eq_with.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/eq_with.carbon @@ -475,8 +475,6 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %x.ref.loc14, %specific_impl_fn.loc14_5.1 // CHECK:STDOUT: %EqWith.WithSelf.NotEqual.call: init bool = call %bound_method.loc14_5.2(%x.ref.loc14, %y.ref.loc14) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -741,8 +739,6 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: %bound_method.loc37_5.2: = bound_method %x.ref.loc37, %specific_impl_fn.loc37_5.1 // CHECK:STDOUT: %EqWith.WithSelf.NotEqual.call: init bool = call %bound_method.loc37_5.2(%x.ref.loc37, %y.ref.loc37) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/operators/operators.carbon b/toolchain/check/testdata/interop/cpp/operators/operators.carbon index 1ee8086a8427..e478711c578c 100644 --- a/toolchain/check/testdata/interop/cpp/operators/operators.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/operators.carbon @@ -1161,8 +1161,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %c.var, %Op.ref.loc8 // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%c.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_binary_operators.carbon @@ -1970,8 +1968,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %c1.var, %Op.ref.loc8 // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%c1.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref bool) = "no_op"; @@ -2142,8 +2138,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_27.3, %Op.ref.loc8 // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_27.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_rewrite_spaceship.carbon @@ -2312,8 +2306,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc15: = bound_method %c1.var, %Op.ref.loc15 // CHECK:STDOUT: %C.cpp_destructor.call.loc15: init %empty_tuple.type = call %C.cpp_destructor.bound.loc15(%c1.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref bool) = "no_op"; @@ -2447,8 +2439,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc12: = bound_method %c1.var, %Op.ref.loc12 // CHECK:STDOUT: %C.cpp_destructor.call.loc12: init %empty_tuple.type = call %C.cpp_destructor.bound.loc12(%c1.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref bool) = "no_op"; @@ -2578,8 +2568,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_31.3, %Op.ref.loc8 // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_31.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_multiple_namespaces.carbon @@ -2769,8 +2757,6 @@ fn F() { // CHECK:STDOUT: %C1.cpp_destructor.bound: = bound_method %.loc8_36.3, %Op.ref.loc8 // CHECK:STDOUT: %C1.cpp_destructor.call: init %empty_tuple.type = call %C1.cpp_destructor.bound(%.loc8_36.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_operands_in_namespace_operator_in_global.carbon @@ -2877,8 +2863,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_31.3, %Op.ref.loc8 // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_31.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_inner_class.carbon @@ -3004,8 +2988,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_31.3, %Op.ref.loc8 // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_31.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_inner_class_in_namespace.carbon @@ -3140,8 +3122,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %.loc8_35.3, %Op.ref.loc8 // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%.loc8_35.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_member_add_with.carbon @@ -3270,8 +3250,6 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc8: = bound_method %c1.var, %Op.ref.loc8 // CHECK:STDOUT: %C.cpp_destructor.call.loc8: init %empty_tuple.type = call %C.cpp_destructor.bound.loc8(%c1.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- indirect_template_instantiation.carbon @@ -3303,8 +3281,6 @@ fn F() { // CHECK:STDOUT: %addr.loc14_12.2: %ptr.307 = addr_of %.loc14_14 // CHECK:STDOUT: %operator_Plus__carbon_thunk.call: init %i32 = call imports.%operator_Plus__carbon_thunk.decl(%addr.loc14_12.1, %addr.loc14_12.2) // CHECK:STDOUT: return %operator_Plus__carbon_thunk.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_overloading.carbon @@ -3370,7 +3346,5 @@ fn F() { // CHECK:STDOUT: %C.cpp_destructor.bound.loc10: = bound_method %.loc10_29.3, %Op.ref.loc10 // CHECK:STDOUT: %C.cpp_destructor.call.loc10: init %empty_tuple.type = call %C.cpp_destructor.bound.loc10(%.loc10_29.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/operators/ordered_with.carbon b/toolchain/check/testdata/interop/cpp/operators/ordered_with.carbon index f28112861279..1d872d2c2683 100644 --- a/toolchain/check/testdata/interop/cpp/operators/ordered_with.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/ordered_with.carbon @@ -569,8 +569,6 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %x.ref.loc18, %specific_impl_fn.loc18_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.call: init bool = call %bound_method.loc18_5.2(%x.ref.loc18, %y.ref.loc18) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -947,8 +945,6 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %bound_method.loc59_5.2: = bound_method %x.ref.loc59, %specific_impl_fn.loc59_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.call: init bool = call %bound_method.loc59_5.2(%x.ref.loc59, %y.ref.loc59) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/operators/spaceship.carbon b/toolchain/check/testdata/interop/cpp/operators/spaceship.carbon index 93f4a5ec62a3..229fcd4b64f4 100644 --- a/toolchain/check/testdata/interop/cpp/operators/spaceship.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/spaceship.carbon @@ -415,8 +415,6 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: %bound_method.loc7_5.2: = bound_method %x.ref.loc7, %specific_impl_fn.loc7_5.1 // CHECK:STDOUT: %EqWith.WithSelf.NotEqual.call: init bool = call %bound_method.loc7_5.2(%x.ref.loc7, %y.ref.loc7) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -492,8 +490,6 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: %bound_method.loc16_5.2: = bound_method %x.ref.loc16, %specific_impl_fn.loc16_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.call: init bool = call %bound_method.loc16_5.2(%x.ref.loc16, %y.ref.loc16) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/primitive_types/arithmetic.carbon b/toolchain/check/testdata/interop/cpp/primitive_types/arithmetic.carbon index 78e16e15d70b..648d2f9097b2 100644 --- a/toolchain/check/testdata/interop/cpp/primitive_types/arithmetic.carbon +++ b/toolchain/check/testdata/interop/cpp/primitive_types/arithmetic.carbon @@ -465,8 +465,6 @@ fn F() { // CHECK:STDOUT: %carbon_double.patt: %pattern_type.fb7 = value_binding_pattern carbon_double [concrete = constants.%carbon_double.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_unsupported_types.carbon @@ -521,8 +519,6 @@ fn F() { // CHECK:STDOUT: %carbon_long_double.patt: %pattern_type.fb7 = value_binding_pattern carbon_long_double [concrete = constants.%carbon_long_double.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- override_builtin.carbon @@ -606,7 +602,5 @@ fn F() { // CHECK:STDOUT: %unsigned_int.cpp_destructor.bound: = bound_method %unsigned_int.var, constants.%unsigned_int.cpp_destructor // CHECK:STDOUT: %unsigned_int.cpp_destructor.call: init %empty_tuple.type = call %unsigned_int.cpp_destructor.bound(%unsigned_int.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.llp64.carbon b/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.llp64.carbon index 2345150ff81d..ee68e8fb5b97 100644 --- a/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.llp64.carbon +++ b/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.llp64.carbon @@ -847,8 +847,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -856,15 +854,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsigned_long_long.carbon @@ -1030,8 +1024,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -1039,15 +1031,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- long.carbon @@ -1354,8 +1342,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %LongResult.cpp_destructor.bound.loc16: = bound_method %.loc16_69.3, constants.%LongResult.cpp_destructor // CHECK:STDOUT: %LongResult.cpp_destructor.call.loc16: init %empty_tuple.type = call %LongResult.cpp_destructor.bound.loc16(%.loc16_69.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -1363,15 +1349,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc26_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- copy_long.carbon @@ -1458,8 +1440,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -1467,15 +1447,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %Cpp.long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- comparisons_homogeneous_long.carbon @@ -1605,8 +1581,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %bound_method.loc15: = bound_method %a.ref.loc15, %impl.elem1.loc15 // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.call: init bool = call %bound_method.loc15(%a.ref.loc15, %b.ref.loc15) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- comparisons_heterogeneous_long_left_side.carbon @@ -2063,8 +2037,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc22_8.2: %Cpp.long = converted %int_1.loc22, %.loc22_8.1 [concrete = constants.%int_1.9ce] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.call.loc22: init bool = call %bound_method.loc22_5.3(%a.ref.loc22, %.loc22_8.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- comparisons_heterogeneous_long_right_side.carbon @@ -2543,8 +2515,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc22_3.2: %Cpp.long = converted %int_1.loc22, %.loc22_3.1 [concrete = constants.%int_1.9ce] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.call.loc22: init bool = call %bound_method.loc22_5.3(%.loc22_3.2, %a.ref.loc22) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- arithmetic_homogeneous_long.carbon @@ -2761,8 +2731,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %f.patt: %pattern_type.25e = value_binding_pattern f [concrete = constants.%f.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- compound_assignment_homogeneous_long.carbon @@ -3205,8 +3173,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -3214,15 +3180,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %Cpp.long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- compound_assignment_hereogeneous_long_and_i32.carbon @@ -3680,8 +3642,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -3689,15 +3649,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %Cpp.long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- compound_assignment_heterogeneous_long_and_int_literal.carbon @@ -3795,8 +3751,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -3804,15 +3758,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %Cpp.long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- compound_assignment_heterogeneous_long_and_runtime_i32.carbon @@ -3949,8 +3899,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -3958,15 +3906,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %Cpp.long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- increment_decrement_long.carbon @@ -4050,8 +3994,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -4059,15 +4001,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %Cpp.long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsigned_long.carbon @@ -4370,8 +4308,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %ULongResult.cpp_destructor.bound.loc16: = bound_method %.loc16_89.3, constants.%ULongResult.cpp_destructor // CHECK:STDOUT: %ULongResult.cpp_destructor.call.loc16: init %empty_tuple.type = call %ULongResult.cpp_destructor.bound.loc16(%.loc16_89.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -4379,15 +4315,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- copy_unsigned_long.carbon @@ -4474,8 +4406,6 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %u32.builtin) = "no_op"; @@ -4483,14 +4413,10 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %u32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %Cpp.unsigned_long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.lp64.carbon b/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.lp64.carbon index 6176f6bf7f5d..39d075a21ab6 100644 --- a/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.lp64.carbon +++ b/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.lp64.carbon @@ -795,8 +795,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -804,15 +802,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsigned_long.carbon @@ -978,8 +972,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -987,15 +979,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- long_long.carbon @@ -1279,8 +1267,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %LongLongResult.cpp_destructor.bound.loc16: = bound_method %.loc16_87.3, constants.%LongLongResult.cpp_destructor // CHECK:STDOUT: %LongLongResult.cpp_destructor.call.loc16: init %empty_tuple.type = call %LongLongResult.cpp_destructor.bound.loc16(%.loc16_87.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -1288,15 +1274,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- copy_long_long.carbon @@ -1383,8 +1365,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i64.builtin) = "no_op"; @@ -1392,15 +1372,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i64) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %Cpp.long_long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- comparisons_homogeneous_long_long.carbon @@ -1530,8 +1506,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %bound_method.loc15: = bound_method %a.ref.loc15, %impl.elem1.loc15 // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.call: init bool = call %bound_method.loc15(%a.ref.loc15, %b.ref.loc15) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- comparisons_heterogeneous_long_long_left_side.carbon @@ -1988,8 +1962,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %.loc22_8.2: %Cpp.long_long = converted %int_1.loc22, %.loc22_8.1 [concrete = constants.%int_1.b19] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.call.loc22: init bool = call %bound_method.loc22_5.3(%a.ref.loc22, %.loc22_8.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- comparisons_heterogeneous_long_long_right_side.carbon @@ -2468,8 +2440,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %.loc22_3.2: %Cpp.long_long = converted %int_1.loc22, %.loc22_3.1 [concrete = constants.%int_1.b19] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.call.loc22: init bool = call %bound_method.loc22_5.3(%.loc22_3.2, %a.ref.loc22) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- compound_assignment_homogeneous_long_long.carbon @@ -2912,8 +2882,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i64.builtin) = "no_op"; @@ -2921,15 +2889,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i64) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %Cpp.long_long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- compound_assignment_hereogeneous_long_long_and_i64.carbon @@ -3387,8 +3351,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i64.builtin) = "no_op"; @@ -3396,15 +3358,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i64) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %Cpp.long_long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- compound_assignment_heterogeneous_long_long_and_int_literal.carbon @@ -3502,8 +3460,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i64.builtin) = "no_op"; @@ -3511,15 +3467,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i64) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %Cpp.long_long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- compound_assignment_heterogeneous_long_long_and_runtime_i64.carbon @@ -3656,8 +3608,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i64.builtin) = "no_op"; @@ -3665,15 +3615,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i64) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %Cpp.long_long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- increment_decrement_long_long.carbon @@ -3757,8 +3703,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i64.builtin) = "no_op"; @@ -3766,15 +3710,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i64) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %Cpp.long_long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsigned_long_long.carbon @@ -4078,8 +4018,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %ULongLongResult.cpp_destructor.bound.loc16: = bound_method %.loc16_107.3, constants.%ULongLongResult.cpp_destructor // CHECK:STDOUT: %ULongLongResult.cpp_destructor.call.loc16: init %empty_tuple.type = call %ULongLongResult.cpp_destructor.bound.loc16(%.loc16_107.3) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.1(%self.param: ref %f32.9b3) = "no_op"; @@ -4087,15 +4025,11 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.c73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- copy_unsigned_long_long.carbon @@ -4182,8 +4116,6 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %u64.builtin) = "no_op"; @@ -4191,14 +4123,10 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %u64) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %Cpp.unsigned_long_long) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/primitive_types/void_pointer.carbon b/toolchain/check/testdata/interop/cpp/primitive_types/void_pointer.carbon index 6197819b06b1..0a1b9c4454a6 100644 --- a/toolchain/check/testdata/interop/cpp/primitive_types/void_pointer.carbon +++ b/toolchain/check/testdata/interop/cpp/primitive_types/void_pointer.carbon @@ -189,8 +189,6 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %p.patt: %pattern_type.712 = value_binding_pattern p [concrete = constants.%p.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- implicit_as_from_carbon_class_pointer_to_void_pointer.carbon @@ -244,8 +242,6 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %p.patt: %pattern_type.712 = value_binding_pattern p [concrete = constants.%p.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- explicit_as_from_cpp_class_pointer_to_void_pointer.carbon @@ -314,8 +310,6 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %p.patt: %pattern_type.712 = value_binding_pattern p [concrete = constants.%p.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- explicit_as_from_carbon_class_pointer_to_void_pointer.carbon @@ -382,8 +376,6 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %p.patt: %pattern_type.712 = value_binding_pattern p [concrete = constants.%p.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_explicit_as_from_void_pointer_to_cpp_class_pointer.carbon @@ -423,8 +415,6 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %p.patt: %pattern_type.de6 = value_binding_pattern p [concrete = constants.%p.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_explicit_as_from_void_pointer_to_carbon_class_pointer.carbon @@ -453,8 +443,6 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %p.patt: %pattern_type.fcb = value_binding_pattern p [concrete = constants.%p.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsafe_as_from_void_pointer_to_cpp_class_pointer.carbon @@ -514,8 +502,6 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %p.patt: %pattern_type.de6 = value_binding_pattern p [concrete = constants.%p.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsafe_as_from_void_pointer_to_carbon_class_pointer.carbon @@ -567,7 +553,5 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %p.patt: %pattern_type.fcb = value_binding_pattern p [concrete = constants.%p.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/range_for.carbon b/toolchain/check/testdata/interop/cpp/range_for.carbon index 7fb86c7c18fa..c2a7174a57b2 100644 --- a/toolchain/check/testdata/interop/cpp/range_for.carbon +++ b/toolchain/check/testdata/interop/cpp/range_for.carbon @@ -1085,23 +1085,17 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %bound_method.loc34_19.8: = bound_method %var, %specific_impl_fn.loc34_19.3 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc34_19.8(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc34_19.1(%self.param: ref %.1d6a7) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc34_19.2(%self.param: ref %MaybeUnformed.023) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc34_19.3(%self.param: ref bool) = "no_op"; @@ -1109,22 +1103,16 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: fn @Destroy.Op.loc34_19.4(%self.param: ref %struct_type.value.has_value.ad0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc34_19.5(%self.param: ref %DefaultOptionalStorage.970) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc34_19.6(%self.param: ref %Optional.a23) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestRangeFor(%m.param: ref %MutableRange, %c.param: %ConstRange) { @@ -1277,8 +1265,6 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Destroy.Op.bound.loc49_19.2: = bound_method %var.loc49, constants.%Destroy.Op.1a2547.10 // CHECK:STDOUT: %Destroy.Op.call.loc49_19.2: init %empty_tuple.type = call %Destroy.Op.bound.loc49_19.2(%var.loc49) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestIterate(constants.%R.869) { @@ -1726,23 +1712,17 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %bound_method.loc44_29.8: = bound_method %var, %specific_impl_fn.loc44_29.3 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc44_29.8(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc44_29.1(%self.param: ref %.98c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc44_29.2(%self.param: ref %MaybeUnformed.02e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc44_29.3(%self.param: ref bool) = "no_op"; @@ -1750,22 +1730,16 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: fn @Destroy.Op.loc44_29.4(%self.param: ref %struct_type.value.has_value.761) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc44_29.5(%self.param: ref %DefaultOptionalStorage.84c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc44_29.6(%self.param: ref %Optional.f2f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestRangeFor(%m.param: ref %MutableRange, %c.param: %ConstRange) { @@ -1924,8 +1898,6 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Destroy.Op.bound.loc59_29.2: = bound_method %var.loc59, constants.%Destroy.Op.1a2547.8 // CHECK:STDOUT: %Destroy.Op.call.loc59_29.2: init %empty_tuple.type = call %Destroy.Op.bound.loc59_29.2(%var.loc59) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestIterate(constants.%R.0bd) { @@ -2289,23 +2261,17 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %bound_method.loc24_19.8: = bound_method %var, %specific_impl_fn.loc24_19.3 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc24_19.8(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_19.1(%self.param: ref %.cc0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_19.2(%self.param: ref %MaybeUnformed.b7e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_19.3(%self.param: ref bool) = "no_op"; @@ -2313,22 +2279,16 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: fn @Destroy.Op.loc24_19.4(%self.param: ref %struct_type.value.has_value.ad9) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_19.5(%self.param: ref %DefaultOptionalStorage.541) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_19.6(%self.param: ref %Optional.c42) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestRangeFor(%c.param: %ConstRange) { @@ -2402,8 +2362,6 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Destroy.Op.bound.loc38_19.2: = bound_method %var, constants.%Destroy.Op.1a2547.10 // CHECK:STDOUT: %Destroy.Op.call.loc38_19.2: init %empty_tuple.type = call %Destroy.Op.bound.loc38_19.2(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestIterate(constants.%R.c6e) { @@ -2736,23 +2694,17 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %bound_method.loc26_19.8: = bound_method %var, %specific_impl_fn.loc26_19.3 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc26_19.8(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_19.1(%self.param: ref %.cc0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_19.2(%self.param: ref %MaybeUnformed.b7e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_19.3(%self.param: ref bool) = "no_op"; @@ -2760,22 +2712,16 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: fn @Destroy.Op.loc26_19.4(%self.param: ref %struct_type.value.has_value.ad9) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_19.5(%self.param: ref %DefaultOptionalStorage.541) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_19.6(%self.param: ref %Optional.c42) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestRangeFor(%m.param: ref %MutableRange) { @@ -2851,8 +2797,6 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Destroy.Op.bound.loc68_19.2: = bound_method %var, constants.%Destroy.Op.1a2547.10 // CHECK:STDOUT: %Destroy.Op.call.loc68_19.2: init %empty_tuple.type = call %Destroy.Op.bound.loc68_19.2(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestIterate(constants.%R.c6e) { @@ -3213,23 +3157,17 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %bound_method.loc31_31.8: = bound_method %var, %specific_impl_fn.loc31_31.3 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc31_31.8(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.1(%self.param: ref %.b36) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.2(%self.param: ref %MaybeUnformed.669) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.3(%self.param: ref bool) = "no_op"; @@ -3237,22 +3175,16 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: fn @Destroy.Op.loc31_31.4(%self.param: ref %struct_type.value.has_value.5a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.5(%self.param: ref %DefaultOptionalStorage.257) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.6(%self.param: ref %Optional.c14) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestRangeFor(%c.param: %ConstRange) { @@ -3335,8 +3267,6 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Destroy.Op.bound.loc45_31.2: = bound_method %var, constants.%Destroy.Op.1a2547.8 // CHECK:STDOUT: %Destroy.Op.call.loc45_31.2: init %empty_tuple.type = call %Destroy.Op.bound.loc45_31.2(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestIterate(constants.%R.db4) { @@ -3606,23 +3536,17 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %bound_method.loc31_31.8: = bound_method %var, %specific_impl_fn.loc31_31.3 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc31_31.8(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.1(%self.param: ref %.b36) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.2(%self.param: ref %MaybeUnformed.669) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.3(%self.param: ref bool) = "no_op"; @@ -3630,22 +3554,16 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: fn @Destroy.Op.loc31_31.4(%self.param: ref %struct_type.value.has_value.5a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.5(%self.param: ref %DefaultOptionalStorage.257) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_31.6(%self.param: ref %Optional.df6) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestRangeFor(%m.param: ref %MutableRange) { @@ -3678,8 +3596,6 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: !for.done: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestIterate(constants.%R.db4) { @@ -4002,23 +3918,17 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %bound_method.loc38_31.8: = bound_method %var, %specific_impl_fn.loc38_31.3 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc38_31.8(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc38_31.1(%self.param: ref %.b36) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc38_31.2(%self.param: ref %MaybeUnformed.669) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc38_31.3(%self.param: ref bool) = "no_op"; @@ -4026,22 +3936,16 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: fn @Destroy.Op.loc38_31.4(%self.param: ref %struct_type.value.has_value.5a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc38_31.5(%self.param: ref %DefaultOptionalStorage.257) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc38_31.6(%self.param: ref %Optional.c14) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestRangeFor(%mc.param: ref %MutableAndConstRange) { @@ -4126,8 +4030,6 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Destroy.Op.bound.loc80_32.2: = bound_method %var, constants.%Destroy.Op.1a2547.8 // CHECK:STDOUT: %Destroy.Op.call.loc80_32.2: init %empty_tuple.type = call %Destroy.Op.bound.loc80_32.2(%var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestIterate(constants.%R.db4) { diff --git a/toolchain/check/testdata/interop/cpp/stdlib/initializer_list.carbon b/toolchain/check/testdata/interop/cpp/stdlib/initializer_list.carbon index ec71788a0d20..7c95450d5b28 100644 --- a/toolchain/check/testdata/interop/cpp/stdlib/initializer_list.carbon +++ b/toolchain/check/testdata/interop/cpp/stdlib/initializer_list.carbon @@ -369,8 +369,6 @@ fn F() { // CHECK:STDOUT: %initializer_list.cpp_destructor.call.loc8: init %empty_tuple.type = call %initializer_list.cpp_destructor.bound.loc8(%.loc8_50.18) // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.981) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @initializer_list.initializer_list.loc8(%_.param: %array_type) -> out %return.param: %initializer_list = "cpp.std.initializer_list.make"; @@ -384,14 +382,10 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc12_44.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc12_44.3(%self.param: ref %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/stdlib/string_view.carbon b/toolchain/check/testdata/interop/cpp/stdlib/string_view.carbon index a8e1142e6e5c..6c24d8ca5dba 100644 --- a/toolchain/check/testdata/interop/cpp/stdlib/string_view.carbon +++ b/toolchain/check/testdata/interop/cpp/stdlib/string_view.carbon @@ -148,8 +148,6 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: %addr: %ptr.e6f = addr_of %.loc8 // CHECK:STDOUT: %Consume__carbon_thunk.call: init %empty_tuple.type = call imports.%Consume__carbon_thunk.decl(%addr) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: %str.3d4 { @@ -161,8 +159,6 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: %Produce__carbon_thunk.call: init %empty_tuple.type = call imports.%Produce__carbon_thunk.decl(%addr) // CHECK:STDOUT: %.loc14: init %str.3d4 to %.loc13_11.1 = mark_in_place_init %Produce__carbon_thunk.call // CHECK:STDOUT: return %.loc14 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_base_method.carbon @@ -241,7 +237,5 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: %starts_with__carbon_thunk.call: init %empty_tuple.type = call imports.%starts_with__carbon_thunk.decl(%a.ref, %addr.loc8_53.1, %addr.loc8_53.2) // CHECK:STDOUT: %.loc8_53.2: init bool to %.loc8_53.1 = mark_in_place_init %starts_with__carbon_thunk.call // CHECK:STDOUT: return %.loc8_53.2 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/alias_template.carbon b/toolchain/check/testdata/interop/cpp/template/alias_template.carbon index 57abec565565..ff9727ae0280 100644 --- a/toolchain/check/testdata/interop/cpp/template/alias_template.carbon +++ b/toolchain/check/testdata/interop/cpp/template/alias_template.carbon @@ -151,7 +151,5 @@ var a2: Cpp.Second(Cpp.B, Cpp.A) = Cpp.A.A(); // CHECK:STDOUT: %.loc10_44: init %A to %.loc10_1 = mark_in_place_init %A__carbon_thunk.call.loc10 // CHECK:STDOUT: assign file.%a2.var, %.loc10_44 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/argument_count.carbon b/toolchain/check/testdata/interop/cpp/template/argument_count.carbon index d9e4462e36a4..3e78084e9d05 100644 --- a/toolchain/check/testdata/interop/cpp/template/argument_count.carbon +++ b/toolchain/check/testdata/interop/cpp/template/argument_count.carbon @@ -163,8 +163,6 @@ var too_many: Cpp.FixedSizePack(Cpp.A, Cpp.A).Inner(Cpp.B, Cpp.B, Cpp.B); // CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call: init %TwoTypes to %.loc7_1 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%x.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- pack.carbon @@ -284,7 +282,5 @@ var too_many: Cpp.FixedSizePack(Cpp.A, Cpp.A).Inner(Cpp.B, Cpp.B, Cpp.B); // CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call.loc10: init %TypePack.186 to %.loc10_1 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn.4() // CHECK:STDOUT: assign file.%a3.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call.loc10 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/class_template.carbon b/toolchain/check/testdata/interop/cpp/template/class_template.carbon index 6277623f0395..d7d0fde490ff 100644 --- a/toolchain/check/testdata/interop/cpp/template/class_template.carbon +++ b/toolchain/check/testdata/interop/cpp/template/class_template.carbon @@ -109,7 +109,5 @@ var a: Cpp.A = Cpp.X(Cpp.A, Cpp.B).f({} as Cpp.B); // CHECK:STDOUT: %.loc7_49: init %A to %.loc7_1 = mark_in_place_init %f__carbon_thunk.call // CHECK:STDOUT: assign file.%a.var, %.loc7_49 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/concept.carbon b/toolchain/check/testdata/interop/cpp/template/concept.carbon index aa18900b4b83..f4222156257b 100644 --- a/toolchain/check/testdata/interop/cpp/template/concept.carbon +++ b/toolchain/check/testdata/interop/cpp/template/concept.carbon @@ -126,7 +126,5 @@ var x2: X(Cpp.IsLarge(Cpp.Large)) = X(true).Make(); // CHECK:STDOUT: %X.Make.call.loc12: init %X.7b4 to %.loc12_1 = call %X.Make.specific_fn.loc12() // CHECK:STDOUT: assign file.%x2.var, %X.Make.call.loc12 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/non_type_param.carbon b/toolchain/check/testdata/interop/cpp/template/non_type_param.carbon index 8c18f9aba7dc..61d289b9d26e 100644 --- a/toolchain/check/testdata/interop/cpp/template/non_type_param.carbon +++ b/toolchain/check/testdata/interop/cpp/template/non_type_param.carbon @@ -206,8 +206,6 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc7_1: init %TwoNonType = converted %.loc7_32.1, %.loc7_32.2 [concrete = constants.%TwoNonType.val] // CHECK:STDOUT: assign file.%x.var, %.loc7_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- dependent.carbon @@ -287,7 +285,5 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc8_1: init %DependentNonType.d43 = converted %.loc8_54.1, %.loc8_54.2 [concrete = constants.%DependentNonType.val] // CHECK:STDOUT: assign file.%y.var, %.loc8_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/template_template_param.carbon b/toolchain/check/testdata/interop/cpp/template/template_template_param.carbon index 75c26abe6789..e6f6e32cff40 100644 --- a/toolchain/check/testdata/interop/cpp/template/template_template_param.carbon +++ b/toolchain/check/testdata/interop/cpp/template/template_template_param.carbon @@ -125,8 +125,6 @@ var x: Cpp.TwoTemplates(Cpp.A, true); // CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call: init %TwoTemplates to %.loc7_1 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%x.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_template_mismatch.carbon @@ -144,7 +142,5 @@ var x: Cpp.TwoTemplates(Cpp.A, true); // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/type_param.carbon b/toolchain/check/testdata/interop/cpp/template/type_param.carbon index cabb27b38e80..a0f979eaaded 100644 --- a/toolchain/check/testdata/interop/cpp/template/type_param.carbon +++ b/toolchain/check/testdata/interop/cpp/template/type_param.carbon @@ -109,8 +109,6 @@ var x: Cpp.TwoTypes(Cpp.A, {}); // CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call: init %TwoTypes to %.loc7_1 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%x.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- char.carbon @@ -158,7 +156,5 @@ var x: Cpp.TwoTypes(Cpp.A, {}); // CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call: init %TwoTypes to %.loc7_1 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%x.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/var_template.carbon b/toolchain/check/testdata/interop/cpp/template/var_template.carbon index e9bca1e82723..9e3ec05e5bce 100644 --- a/toolchain/check/testdata/interop/cpp/template/var_template.carbon +++ b/toolchain/check/testdata/interop/cpp/template/var_template.carbon @@ -159,7 +159,5 @@ let pwb: Cpp.B* = &Cpp.Wrap.r#var(Cpp.B); // CHECK:STDOUT: %B.ref.loc10: type = name_ref B, imports.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %addr.loc10: %ptr.dc0 = addr_of imports.%var.var.302 [concrete = constants.%addr.cd4] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/type_alias/import.carbon b/toolchain/check/testdata/interop/cpp/type_alias/import.carbon index 10e025279c85..4dd26a3dfde6 100644 --- a/toolchain/check/testdata/interop/cpp/type_alias/import.carbon +++ b/toolchain/check/testdata/interop/cpp/type_alias/import.carbon @@ -153,8 +153,6 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %n.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%n.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %ptr.d08) = "no_op"; @@ -164,8 +162,6 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_class_typedef.carbon @@ -250,8 +246,6 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %pd.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%pd.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr.0a2) = "no_op"; diff --git a/toolchain/check/testdata/interop/cpp/var/import/global.carbon b/toolchain/check/testdata/interop/cpp/var/import/global.carbon index 02bf0ffb013a..aefc2b1a9e42 100644 --- a/toolchain/check/testdata/interop/cpp/var/import/global.carbon +++ b/toolchain/check/testdata/interop/cpp/var/import/global.carbon @@ -182,8 +182,6 @@ fn MyF() { // CHECK:STDOUT: %local_ref.patt: %pattern_type.8fa = value_binding_pattern local_ref [concrete = constants.%local_ref.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_unsupported_type.carbon @@ -231,7 +229,5 @@ fn MyF() { // CHECK:STDOUT: %local.patt: = value_binding_pattern local [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/var/import/namespace.carbon b/toolchain/check/testdata/interop/cpp/var/import/namespace.carbon index 25dbe5e9e897..c561037f735d 100644 --- a/toolchain/check/testdata/interop/cpp/var/import/namespace.carbon +++ b/toolchain/check/testdata/interop/cpp/var/import/namespace.carbon @@ -75,7 +75,5 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %c.ref: ref %C = name_ref c, imports.%c.var [concrete = imports.%c.var] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/compile_time_bindings.carbon b/toolchain/check/testdata/let/compile_time_bindings.carbon index af7f6e9f0698..fc81ad06f25c 100644 --- a/toolchain/check/testdata/let/compile_time_bindings.carbon +++ b/toolchain/check/testdata/let/compile_time_bindings.carbon @@ -245,8 +245,6 @@ impl i32 as Empty { // CHECK:STDOUT: %.loc5_25: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_26: init %empty_tuple.type = converted %x.ref, %.loc5_25 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc5_26 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_let_before.carbon @@ -322,8 +320,6 @@ impl i32 as Empty { // CHECK:STDOUT: %.loc10_25: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_26: init %empty_tuple.type = converted %x.ref, %.loc10_25 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc10_26 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_multiple_lets.carbon @@ -487,8 +483,6 @@ impl i32 as Empty { // CHECK:STDOUT: %.loc5_25: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_26: init %empty_tuple.type = converted %x.ref, %.loc5_25 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc5_26 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_use_in_function.carbon @@ -577,8 +571,6 @@ impl i32 as Empty { // CHECK:STDOUT: witness = (@I.WithSelf.%T, @I.WithSelf.%I.WithSelf.F.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { @@ -721,8 +713,6 @@ impl i32 as Empty { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_use_in_impl.carbon @@ -794,8 +784,6 @@ impl i32 as Empty { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.Empty.impl: %i32.loc6 as %Empty.ref { diff --git a/toolchain/check/testdata/let/convert.carbon b/toolchain/check/testdata/let/convert.carbon index 9b7787a0a9dd..b16a83b8386f 100644 --- a/toolchain/check/testdata/let/convert.carbon +++ b/toolchain/check/testdata/let/convert.carbon @@ -80,7 +80,5 @@ fn G() { // CHECK:STDOUT: %w.patt: %pattern_type.777 = value_binding_pattern w [concrete = constants.%w.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/fail_duplicate_decl.carbon b/toolchain/check/testdata/let/fail_duplicate_decl.carbon index 8a0ba819a893..9b2b1d00125a 100644 --- a/toolchain/check/testdata/let/fail_duplicate_decl.carbon +++ b/toolchain/check/testdata/let/fail_duplicate_decl.carbon @@ -110,7 +110,5 @@ fn F() { // CHECK:STDOUT: %a.patt.loc24: %pattern_type.6b6 = value_binding_pattern a [concrete = constants.%a.patt.bb2e5b.2] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/fail_generic_import.carbon b/toolchain/check/testdata/let/fail_generic_import.carbon index ffff5fcb4962..364a3105f2a2 100644 --- a/toolchain/check/testdata/let/fail_generic_import.carbon +++ b/toolchain/check/testdata/let/fail_generic_import.carbon @@ -75,8 +75,6 @@ let a: T = 0; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_implicit.impl.carbon @@ -113,7 +111,5 @@ let a: T = 0; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/fail_missing_value.carbon b/toolchain/check/testdata/let/fail_missing_value.carbon index 71be338d28a4..06835b84423c 100644 --- a/toolchain/check/testdata/let/fail_missing_value.carbon +++ b/toolchain/check/testdata/let/fail_missing_value.carbon @@ -68,7 +68,5 @@ fn F() { // CHECK:STDOUT: %n.patt: %pattern_type.6b6 = value_binding_pattern n [concrete = constants.%n.patt.c48] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/fail_modifiers.carbon b/toolchain/check/testdata/let/fail_modifiers.carbon index bd71e91cfb0e..5e92a375b049 100644 --- a/toolchain/check/testdata/let/fail_modifiers.carbon +++ b/toolchain/check/testdata/let/fail_modifiers.carbon @@ -258,7 +258,5 @@ protected protected let i: i32 = 1; // CHECK:STDOUT: %int_1.loc76: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_1.loc89: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/fail_use_in_init.carbon b/toolchain/check/testdata/let/fail_use_in_init.carbon index 4e40b6b880cb..91b96370a71c 100644 --- a/toolchain/check/testdata/let/fail_use_in_init.carbon +++ b/toolchain/check/testdata/let/fail_use_in_init.carbon @@ -67,7 +67,5 @@ fn F() { // CHECK:STDOUT: %a.patt: %pattern_type.6b6 = value_binding_pattern a [concrete = constants.%a.patt] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/generic_import.carbon b/toolchain/check/testdata/let/generic_import.carbon index 12b525919090..cadf5ce8c5cb 100644 --- a/toolchain/check/testdata/let/generic_import.carbon +++ b/toolchain/check/testdata/let/generic_import.carbon @@ -79,8 +79,6 @@ var b: T = *a; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_implicit.impl.carbon @@ -129,7 +127,5 @@ var b: T = *a; // CHECK:STDOUT: %.loc13: ref = deref [concrete = ] // CHECK:STDOUT: assign file.%b.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/global.carbon b/toolchain/check/testdata/let/global.carbon index ef54392a0b4c..56e25f6a9760 100644 --- a/toolchain/check/testdata/let/global.carbon +++ b/toolchain/check/testdata/let/global.carbon @@ -116,15 +116,11 @@ fn F() -> i32 { return n; } // CHECK:STDOUT: %bound_method.loc17_24.2: = bound_method %n.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc17_24.2(%n.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/import.carbon b/toolchain/check/testdata/let/import.carbon index fc08905862c8..581c915038ae 100644 --- a/toolchain/check/testdata/let/import.carbon +++ b/toolchain/check/testdata/let/import.carbon @@ -65,8 +65,6 @@ let b: () = Other.a; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc4: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- implicit.impl.carbon @@ -103,8 +101,6 @@ let b: () = Other.a; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %empty_tuple.type = name_ref a, imports.%Implicit.a // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- other.carbon @@ -136,8 +132,6 @@ let b: () = Other.a; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc4: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_other.carbon @@ -178,7 +172,5 @@ let b: () = Other.a; // CHECK:STDOUT: %Other.ref: = name_ref Other, imports.%Other [concrete = imports.%Other] // CHECK:STDOUT: %a.ref: %empty_tuple.type = name_ref a, imports.%Other.a // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/import_access.carbon b/toolchain/check/testdata/let/import_access.carbon index 1dc0c5dac946..1957b569d606 100644 --- a/toolchain/check/testdata/let/import_access.carbon +++ b/toolchain/check/testdata/let/import_access.carbon @@ -85,8 +85,6 @@ let v2: () = Test.v; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc4: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- def.impl.carbon @@ -123,8 +121,6 @@ let v2: () = Test.v; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %v.ref: %empty_tuple.type = name_ref v, imports.%Test.v // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_def.carbon @@ -156,8 +152,6 @@ let v2: () = Test.v; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %v.ref: = name_ref v, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_def.carbon @@ -197,7 +191,5 @@ let v2: () = Test.v; // CHECK:STDOUT: %Test.ref: = name_ref Test, imports.%Test [concrete = imports.%Test] // CHECK:STDOUT: %v.ref: = name_ref v, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/local.carbon b/toolchain/check/testdata/let/local.carbon index 947c30ab21c9..cc309d23984d 100644 --- a/toolchain/check/testdata/let/local.carbon +++ b/toolchain/check/testdata/let/local.carbon @@ -78,8 +78,6 @@ fn CallF() { // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %b.ref, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_10.2(%b.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_symbolic.carbon diff --git a/toolchain/check/testdata/let/ref.carbon b/toolchain/check/testdata/let/ref.carbon index 67df67d59d09..29773804dd45 100644 --- a/toolchain/check/testdata/let/ref.carbon +++ b/toolchain/check/testdata/let/ref.carbon @@ -84,7 +84,5 @@ fn F() { // CHECK:STDOUT: %.loc8_44: %pattern_type.394 = tuple_pattern (%d.patt, %e.patt) [concrete = constants.%.dd8] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/shadowed_decl.carbon b/toolchain/check/testdata/let/shadowed_decl.carbon index 3d89f4fbf516..20b8d4a0f510 100644 --- a/toolchain/check/testdata/let/shadowed_decl.carbon +++ b/toolchain/check/testdata/let/shadowed_decl.carbon @@ -125,7 +125,5 @@ fn F(unused a: i32) -> i32 { // CHECK:STDOUT: %bound_method.loc18_10.2: = bound_method %a.ref, %specific_fn.loc18 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc18_10.2(%a.ref) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/main_run/no_return.carbon b/toolchain/check/testdata/main_run/no_return.carbon index 64bd1737acf0..40daebd2f6ec 100644 --- a/toolchain/check/testdata/main_run/no_return.carbon +++ b/toolchain/check/testdata/main_run/no_return.carbon @@ -50,8 +50,6 @@ fn Run(unused argc: i32, unused argv: i32*) {} // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- with_params.carbon @@ -108,7 +106,5 @@ fn Run(unused argc: i32, unused argv: i32*) {} // CHECK:STDOUT: fn @Run(%argc.param: %i32, %argv.param: %ptr) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/main_run/return_i32.carbon b/toolchain/check/testdata/main_run/return_i32.carbon index bac8eac92132..2d6baf66ec7e 100644 --- a/toolchain/check/testdata/main_run/return_i32.carbon +++ b/toolchain/check/testdata/main_run/return_i32.carbon @@ -96,8 +96,6 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_27.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc4_27: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc4_27 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- with_params.carbon @@ -191,7 +189,5 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_62.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc5_62: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc5_62 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/convert.carbon b/toolchain/check/testdata/named_constraint/convert.carbon index 6b2584b22c12..385ccb1d25c3 100644 --- a/toolchain/check/testdata/named_constraint/convert.carbon +++ b/toolchain/check/testdata/named_constraint/convert.carbon @@ -121,8 +121,6 @@ fn G(generic T: Z) { // CHECK:STDOUT: %F.specific_fn.loc9_3.1: = specific_function %F.ref, @F(constants.%T.f45530.2) [symbolic = %F.specific_fn.loc9_3.2 (constants.%F.specific_fn)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc9_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -182,8 +180,6 @@ fn G(generic T: Z) { // CHECK:STDOUT: %F.specific_fn.loc10_3.1: = specific_function %F.ref, @F(constants.%E1.facet) [symbolic = %F.specific_fn.loc10_3.2 (constants.%F.specific_fn)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc10_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/empty.carbon b/toolchain/check/testdata/named_constraint/empty.carbon index 60a3cf61baca..4abe83134517 100644 --- a/toolchain/check/testdata/named_constraint/empty.carbon +++ b/toolchain/check/testdata/named_constraint/empty.carbon @@ -110,8 +110,6 @@ fn G(generic T: Z, generic U: type, generic V: Empty) { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -163,8 +161,6 @@ fn G(generic T: Z, generic U: type, generic V: Empty) { // CHECK:STDOUT: %F.specific_fn.loc30_3.1: = specific_function %F.ref.loc30, @F(constants.%V) [symbolic = %F.specific_fn.loc30_3.2 (constants.%F.specific_fn.b7e)] // CHECK:STDOUT: %F.call.loc30: init %empty_tuple.type = call %F.specific_fn.loc30_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/empty_generic.carbon b/toolchain/check/testdata/named_constraint/empty_generic.carbon index 775088da5f34..0858f50ae26c 100644 --- a/toolchain/check/testdata/named_constraint/empty_generic.carbon +++ b/toolchain/check/testdata/named_constraint/empty_generic.carbon @@ -161,8 +161,6 @@ fn G(generic T: Z, generic U: Empty(T), generic V: type) { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -237,8 +235,6 @@ fn G(generic T: Z, generic U: Empty(T), generic V: type) { // CHECK:STDOUT: %F.specific_fn.loc25_3.1: = specific_function %F.ref.loc25, @F(constants.%T.as_type, constants.%Empty.facet.ed5) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.67d)] // CHECK:STDOUT: %F.call.loc25: init %empty_tuple.type = call %F.specific_fn.loc25_3.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/extend_name_lookup.carbon b/toolchain/check/testdata/named_constraint/extend_name_lookup.carbon index c8ef3d4cb767..ad79f4bbaef7 100644 --- a/toolchain/check/testdata/named_constraint/extend_name_lookup.carbon +++ b/toolchain/check/testdata/named_constraint/extend_name_lookup.carbon @@ -178,8 +178,6 @@ fn F(generic T: type where .Self impls W) { // CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Y.WithSelf.YF(constants.%Y.facet) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.aad)] // CHECK:STDOUT: %Y.WithSelf.YF.call: init %empty_tuple.type = call %specific_impl_fn.loc16_4.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -293,8 +291,6 @@ fn F(generic T: type where .Self impls W) { // CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Y.WithSelf.YF(constants.%Y.facet) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.aad)] // CHECK:STDOUT: %Y.WithSelf.YF.call: init %empty_tuple.type = call %specific_impl_fn.loc16_4.1() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/generic.carbon b/toolchain/check/testdata/named_constraint/generic.carbon index 29f0d4245280..00f1a1fa82bd 100644 --- a/toolchain/check/testdata/named_constraint/generic.carbon +++ b/toolchain/check/testdata/named_constraint/generic.carbon @@ -157,8 +157,6 @@ fn F(unused generic T: Generic((), ())) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic constraint @GenericType(%T.loc4_25.2: type) { diff --git a/toolchain/check/testdata/named_constraint/import_constraint_decl.carbon b/toolchain/check/testdata/named_constraint/import_constraint_decl.carbon index 4de1e65ce67a..69124c440f0c 100644 --- a/toolchain/check/testdata/named_constraint/import_constraint_decl.carbon +++ b/toolchain/check/testdata/named_constraint/import_constraint_decl.carbon @@ -129,8 +129,6 @@ impl C as B {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @B [from "b.carbon"] { @@ -158,8 +156,6 @@ impl C as B {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/import_type_and.carbon b/toolchain/check/testdata/named_constraint/import_type_and.carbon index e8f9c55fae61..da66d343ba49 100644 --- a/toolchain/check/testdata/named_constraint/import_type_and.carbon +++ b/toolchain/check/testdata/named_constraint/import_type_and.carbon @@ -85,8 +85,6 @@ fn F(generic _: N) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { @@ -98,8 +96,6 @@ fn F(generic _: N) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @N { @@ -211,8 +207,6 @@ fn F(generic _: N) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Y [from "import.carbon"] { @@ -221,8 +215,6 @@ fn F(generic _: N) {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @N [from "import.carbon"] { @@ -249,8 +241,6 @@ fn F(generic _: N) {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/require.carbon b/toolchain/check/testdata/named_constraint/require.carbon index 5401b10d657f..7879f99238b9 100644 --- a/toolchain/check/testdata/named_constraint/require.carbon +++ b/toolchain/check/testdata/named_constraint/require.carbon @@ -851,8 +851,6 @@ constraint N { // CHECK:STDOUT: %specific_impl_fn.loc18: = specific_impl_function %impl.elem0.loc18, @Y.WithSelf.YY(constants.%Y.facet) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Y.WithSelf.YY.call.loc18: init %empty_tuple.type = call %specific_impl_fn.loc18() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1003,8 +1001,6 @@ constraint N { // CHECK:STDOUT: %specific_impl_fn.loc18: = specific_impl_function %impl.elem0.loc18, @Y.WithSelf.YY(constants.%T.as_type, constants.%Y.facet) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Y.WithSelf.YY.call.loc18: init %empty_tuple.type = call %specific_impl_fn.loc18() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/add_to_import.carbon b/toolchain/check/testdata/namespace/add_to_import.carbon index c08a813182e5..8f07b108b664 100644 --- a/toolchain/check/testdata/namespace/add_to_import.carbon +++ b/toolchain/check/testdata/namespace/add_to_import.carbon @@ -132,8 +132,6 @@ var a: i32 = NS.A(); // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_28.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc4_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc4_28 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -143,7 +141,5 @@ var a: i32 = NS.A(); // CHECK:STDOUT: %A.call: init %i32 = call %A.ref() // CHECK:STDOUT: assign file.%a.var, %A.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/alias.carbon b/toolchain/check/testdata/namespace/alias.carbon index 29cb87b4bc3c..fb752dac47ed 100644 --- a/toolchain/check/testdata/namespace/alias.carbon +++ b/toolchain/check/testdata/namespace/alias.carbon @@ -130,8 +130,6 @@ fn D() -> i32 { return C(); } // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc19_28.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc19_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc19_28 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B() -> out %return.param: %i32 { @@ -140,8 +138,6 @@ fn D() -> i32 { return C(); } // CHECK:STDOUT: %A.ref: %A.type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %A.call: init %i32 = call %A.ref() // CHECK:STDOUT: return %A.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @D() -> out %return.param: %i32 { @@ -149,7 +145,5 @@ fn D() -> i32 { return C(); } // CHECK:STDOUT: %C.ref: %A.type = name_ref C, file.%C [concrete = constants.%A] // CHECK:STDOUT: %A.call: init %i32 = call %C.ref() // CHECK:STDOUT: return %A.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_first.carbon b/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_first.carbon index 21df65252d4f..86a0b77cdc1f 100644 --- a/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_first.carbon +++ b/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_first.carbon @@ -72,8 +72,6 @@ fn NS.Bar() {} // CHECK:STDOUT: fn @Foo() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fn.carbon @@ -102,8 +100,6 @@ fn NS.Bar() {} // CHECK:STDOUT: fn @NS() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_conflict.carbon @@ -139,7 +135,5 @@ fn NS.Bar() {} // CHECK:STDOUT: fn @Bar() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_second.carbon b/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_second.carbon index 16e4058209f4..fef9ddfa1121 100644 --- a/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_second.carbon +++ b/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_second.carbon @@ -69,8 +69,6 @@ fn NS.Bar() {} // CHECK:STDOUT: fn @NS() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- namespace.carbon @@ -102,8 +100,6 @@ fn NS.Bar() {} // CHECK:STDOUT: fn @Foo() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_conflict.carbon @@ -139,7 +135,5 @@ fn NS.Bar() {} // CHECK:STDOUT: fn @Bar() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_decl_in_alias.carbon b/toolchain/check/testdata/namespace/fail_decl_in_alias.carbon index 1aa9d9597854..4ab9121e464a 100644 --- a/toolchain/check/testdata/namespace/fail_decl_in_alias.carbon +++ b/toolchain/check/testdata/namespace/fail_decl_in_alias.carbon @@ -102,7 +102,5 @@ fn ns.A() -> i32 { return 0; } // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc27_28.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc27_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc27_28 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_duplicate.carbon b/toolchain/check/testdata/namespace/fail_duplicate.carbon index 90107a8fe082..39b486f74833 100644 --- a/toolchain/check/testdata/namespace/fail_duplicate.carbon +++ b/toolchain/check/testdata/namespace/fail_duplicate.carbon @@ -59,14 +59,10 @@ fn Foo.Baz() { // CHECK:STDOUT: fn @Baz.loc17() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Baz.loc27() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_not_top_level.carbon b/toolchain/check/testdata/namespace/fail_not_top_level.carbon index 47fb0b25e9af..59d0b12ee53c 100644 --- a/toolchain/check/testdata/namespace/fail_not_top_level.carbon +++ b/toolchain/check/testdata/namespace/fail_not_top_level.carbon @@ -93,8 +93,6 @@ interface I { // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C { @@ -117,22 +115,16 @@ interface I { // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type.23e = fn_decl @F.loc21 [concrete = constants.%F.7e0] {} {} // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F.loc21() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F.loc30() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.loc39(@I.loc33.%Self: %I.type.8e7) { @@ -141,8 +133,6 @@ interface I { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_params.carbon b/toolchain/check/testdata/namespace/fail_params.carbon index a34852c65968..15a3ad672df8 100644 --- a/toolchain/check/testdata/namespace/fail_params.carbon +++ b/toolchain/check/testdata/namespace/fail_params.carbon @@ -141,16 +141,12 @@ fn D(unused T: type).F() {} // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F.loc22() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F.loc46(%T.loc46_14.3: type) { @@ -163,8 +159,6 @@ fn D(unused T: type).F() {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_unresolved_scope.carbon b/toolchain/check/testdata/namespace/fail_unresolved_scope.carbon index 2c804d97992f..2b86079e43c3 100644 --- a/toolchain/check/testdata/namespace/fail_unresolved_scope.carbon +++ b/toolchain/check/testdata/namespace/fail_unresolved_scope.carbon @@ -44,7 +44,5 @@ fn Foo.Baz() { // CHECK:STDOUT: fn @Baz() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/function.carbon b/toolchain/check/testdata/namespace/function.carbon index bed354545ace..2741fa6ed7a6 100644 --- a/toolchain/check/testdata/namespace/function.carbon +++ b/toolchain/check/testdata/namespace/function.carbon @@ -63,15 +63,11 @@ fn Bar() { // CHECK:STDOUT: fn @Baz.loc18() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Baz.loc21() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Bar() { @@ -80,7 +76,5 @@ fn Bar() { // CHECK:STDOUT: %Baz.ref: %Baz.type.280 = name_ref Baz, file.%Baz.decl.loc21 [concrete = constants.%Baz.f49] // CHECK:STDOUT: %Baz.call: init %empty_tuple.type = call %Baz.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/imported.carbon b/toolchain/check/testdata/namespace/imported.carbon index 51bd589d1dbc..5c56489f861c 100644 --- a/toolchain/check/testdata/namespace/imported.carbon +++ b/toolchain/check/testdata/namespace/imported.carbon @@ -188,7 +188,5 @@ var package_b: () = package.NS.ChildNS.B(); // CHECK:STDOUT: %B.call.loc8: init %empty_tuple.type = call %B.ref.loc8() // CHECK:STDOUT: assign file.%package_b.var, %B.call.loc8 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/imported_indirect.carbon b/toolchain/check/testdata/namespace/imported_indirect.carbon index 52cc2aaa19aa..242ee0f1a805 100644 --- a/toolchain/check/testdata/namespace/imported_indirect.carbon +++ b/toolchain/check/testdata/namespace/imported_indirect.carbon @@ -237,8 +237,6 @@ fn G() { Same.F(); } // CHECK:STDOUT: fn @D() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- e.carbon @@ -304,8 +302,6 @@ fn G() { Same.F(); } // CHECK:STDOUT: %D.call: init %empty_tuple.type = call %D.ref() // CHECK:STDOUT: assign file.%e.var, %D.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_named_indirectly_same_package.carbon @@ -350,8 +346,6 @@ fn G() { Same.F(); } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Same.F [concrete = constants.%F] // CHECK:STDOUT: %F.call: init = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "b.carbon"]; @@ -396,8 +390,6 @@ fn G() { Same.F(); } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Same.F [concrete = constants.%F] // CHECK:STDOUT: %F.call: init = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "b.carbon"]; diff --git a/toolchain/check/testdata/namespace/merging.carbon b/toolchain/check/testdata/namespace/merging.carbon index 5848735a6c58..bc087b23ee5a 100644 --- a/toolchain/check/testdata/namespace/merging.carbon +++ b/toolchain/check/testdata/namespace/merging.carbon @@ -79,8 +79,6 @@ fn Run() { // CHECK:STDOUT: fn @A() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- b.carbon @@ -120,15 +118,11 @@ fn Run() { // CHECK:STDOUT: fn @B1() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B2() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- c.carbon @@ -185,8 +179,6 @@ fn Run() { // CHECK:STDOUT: fn @C() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { @@ -204,8 +196,6 @@ fn Run() { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %C.call: init %empty_tuple.type = call %C.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @A [from "a.carbon"]; diff --git a/toolchain/check/testdata/namespace/merging_with_indirections.carbon b/toolchain/check/testdata/namespace/merging_with_indirections.carbon index 0e3feae18969..128abc8623ea 100644 --- a/toolchain/check/testdata/namespace/merging_with_indirections.carbon +++ b/toolchain/check/testdata/namespace/merging_with_indirections.carbon @@ -158,8 +158,6 @@ fn Run() { // CHECK:STDOUT: %.loc8_27.2: init %A to %return.param = class_init () [concrete = constants.%A.val] // CHECK:STDOUT: %.loc8_28: init %A = converted %.loc8_27.1, %.loc8_27.2 [concrete = constants.%A.val] // CHECK:STDOUT: return %.loc8_28 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- main.carbon @@ -274,8 +272,6 @@ fn Run() { // CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %.loc7_11.2, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%.loc7_11.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "b.carbon"]; @@ -285,7 +281,5 @@ fn Run() { // CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/nested.carbon b/toolchain/check/testdata/namespace/nested.carbon index 67fd7367335e..f9eaf7f9147b 100644 --- a/toolchain/check/testdata/namespace/nested.carbon +++ b/toolchain/check/testdata/namespace/nested.carbon @@ -61,8 +61,6 @@ fn Foo.Bar.Baz() { // CHECK:STDOUT: fn @Wiz() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Baz() { @@ -72,7 +70,5 @@ fn Foo.Bar.Baz() { // CHECK:STDOUT: %Wiz.ref: %Wiz.type = name_ref Wiz, file.%Wiz.decl [concrete = constants.%Wiz] // CHECK:STDOUT: %Wiz.call: init %empty_tuple.type = call %Wiz.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/shadow.carbon b/toolchain/check/testdata/namespace/shadow.carbon index 1da6b6b0fa9c..b24d583f18a4 100644 --- a/toolchain/check/testdata/namespace/shadow.carbon +++ b/toolchain/check/testdata/namespace/shadow.carbon @@ -182,8 +182,6 @@ fn N.M.B() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound.loc26_5.2: = bound_method %A.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc26_5.2: init %empty_tuple.type = call %Destroy.Op.bound.loc26_5.2(%A.var) // CHECK:STDOUT: return %.loc31 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_5.1(%self.param: ref %i32.builtin) = "no_op"; @@ -191,7 +189,5 @@ fn N.M.B() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc26_5.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/unqualified_lookup.carbon b/toolchain/check/testdata/namespace/unqualified_lookup.carbon index 2271b602c556..2de7140c025e 100644 --- a/toolchain/check/testdata/namespace/unqualified_lookup.carbon +++ b/toolchain/check/testdata/namespace/unqualified_lookup.carbon @@ -98,8 +98,6 @@ fn OuterN.InnerN.CallABC() { // CHECK:STDOUT: %A.ref: %A.type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %A.call: init %empty_tuple.type = call %A.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallAB() { @@ -109,8 +107,6 @@ fn OuterN.InnerN.CallABC() { // CHECK:STDOUT: %B.ref: %B.type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %B.call: init %empty_tuple.type = call %B.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallABC() { @@ -122,7 +118,5 @@ fn OuterN.InnerN.CallABC() { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %C.call: init %empty_tuple.type = call %C.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/and.carbon b/toolchain/check/testdata/operators/builtin/and.carbon index febfd19e249a..849ee6aab7f7 100644 --- a/toolchain/check/testdata/operators/builtin/and.carbon +++ b/toolchain/check/testdata/operators/builtin/and.carbon @@ -149,8 +149,6 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: bool { @@ -160,8 +158,6 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @And() -> out %return.param: bool { @@ -186,8 +182,6 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %bound_method: = bound_method %.loc19_14.5, %impl.elem0 // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%.loc19_14.5) // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Constant() { @@ -358,8 +352,6 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26(%self.param: ref %empty_tuple.type) = "no_op"; @@ -410,7 +402,5 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.1 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/assignment.carbon b/toolchain/check/testdata/operators/builtin/assignment.carbon index 6f44bd8fcf6f..3960deb883ab 100644 --- a/toolchain/check/testdata/operators/builtin/assignment.carbon +++ b/toolchain/check/testdata/operators/builtin/assignment.carbon @@ -358,8 +358,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %a.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc16: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc27(%self.param: ref %ptr.d08) = "no_op"; @@ -369,21 +367,15 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc23_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_3.3(%self.param: ref %struct_type.a.b.b4c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc19(%self.param: ref %tuple.type.e55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_and_or_not_in_function.carbon b/toolchain/check/testdata/operators/builtin/fail_and_or_not_in_function.carbon index 529ef1863814..ea56227f4b0d 100644 --- a/toolchain/check/testdata/operators/builtin/fail_and_or_not_in_function.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_and_or_not_in_function.carbon @@ -122,8 +122,6 @@ fn F() { // CHECK:STDOUT: %bound_method: = bound_method %.loc6, %impl.elem0 // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%.loc6) // CHECK:STDOUT: return %type.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_and_val.carbon @@ -163,8 +161,6 @@ fn F() { // CHECK:STDOUT: %bound_method: = bound_method %.loc6, %impl.elem0 // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%.loc6) // CHECK:STDOUT: return %type.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_or_val.carbon diff --git a/toolchain/check/testdata/operators/builtin/fail_and_or_partial_constant.carbon b/toolchain/check/testdata/operators/builtin/fail_and_or_partial_constant.carbon index d70d5247dbfb..0ada35ac693e 100644 --- a/toolchain/check/testdata/operators/builtin/fail_and_or_partial_constant.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_and_or_partial_constant.carbon @@ -166,8 +166,6 @@ fn KnownValueButNonConstantCondition(x: bool) { // CHECK:STDOUT: %b.var_patt: = var_pattern %b.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_despite_known_result.carbon @@ -288,7 +286,5 @@ fn KnownValueButNonConstantCondition(x: bool) { // CHECK:STDOUT: %d.var_patt: = var_pattern %d.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_assignment_to_error.carbon b/toolchain/check/testdata/operators/builtin/fail_assignment_to_error.carbon index 7f198fcc1741..4c3769b6797f 100644 --- a/toolchain/check/testdata/operators/builtin/fail_assignment_to_error.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_assignment_to_error.carbon @@ -61,7 +61,5 @@ fn Main() { // CHECK:STDOUT: %int_42.loc25: Core.IntLiteral = int_value 42 [concrete = constants.%int_42] // CHECK:STDOUT: assign %.loc25, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_assignment_to_non_assignable.carbon b/toolchain/check/testdata/operators/builtin/fail_assignment_to_non_assignable.carbon index b60a85b8fbfb..7d5a09041f66 100644 --- a/toolchain/check/testdata/operators/builtin/fail_assignment_to_non_assignable.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_assignment_to_non_assignable.carbon @@ -391,8 +391,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %n.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc33: init %empty_tuple.type = call %Destroy.Op.bound.loc33(%n.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc56_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -400,7 +398,5 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc56_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_redundant_compound_access.carbon b/toolchain/check/testdata/operators/builtin/fail_redundant_compound_access.carbon index b126467729a3..7ec4ecbcc736 100644 --- a/toolchain/check/testdata/operators/builtin/fail_redundant_compound_access.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_redundant_compound_access.carbon @@ -132,8 +132,6 @@ fn Main() { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc15_25 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -171,8 +169,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -180,7 +176,5 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc18_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_type_mismatch.carbon b/toolchain/check/testdata/operators/builtin/fail_type_mismatch.carbon index b7926eb589f4..75634b227f9d 100644 --- a/toolchain/check/testdata/operators/builtin/fail_type_mismatch.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_type_mismatch.carbon @@ -78,8 +78,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref bool) = "no_op"; diff --git a/toolchain/check/testdata/operators/builtin/fail_type_mismatch_assignment.carbon b/toolchain/check/testdata/operators/builtin/fail_type_mismatch_assignment.carbon index 0baa494c081a..83fdbe5a7f85 100644 --- a/toolchain/check/testdata/operators/builtin/fail_type_mismatch_assignment.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_type_mismatch_assignment.carbon @@ -109,8 +109,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -118,7 +116,5 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc16_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_type_mismatch_once.carbon b/toolchain/check/testdata/operators/builtin/fail_type_mismatch_once.carbon index d9aced358b83..38372be4610e 100644 --- a/toolchain/check/testdata/operators/builtin/fail_type_mismatch_once.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_type_mismatch_once.carbon @@ -77,7 +77,5 @@ fn Main() -> i32 { // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 34e-1 [concrete = constants.%float] // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete = constants.%int_12] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_unimplemented_op.carbon b/toolchain/check/testdata/operators/builtin/fail_unimplemented_op.carbon index 551cdca0509e..2f41e2c918b4 100644 --- a/toolchain/check/testdata/operators/builtin/fail_unimplemented_op.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_unimplemented_op.carbon @@ -73,7 +73,5 @@ fn Main() -> i32 { // CHECK:STDOUT: %.loc20: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %int_34: Core.IntLiteral = int_value 34 [concrete = constants.%int_34] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/or.carbon b/toolchain/check/testdata/operators/builtin/or.carbon index 8b3e851aa7ab..c5c852dcff62 100644 --- a/toolchain/check/testdata/operators/builtin/or.carbon +++ b/toolchain/check/testdata/operators/builtin/or.carbon @@ -149,8 +149,6 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: bool { @@ -160,8 +158,6 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Or() -> out %return.param: bool { @@ -187,8 +183,6 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %bound_method: = bound_method %.loc19_14.6, %impl.elem0 // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%.loc19_14.6) // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Constant() { @@ -365,8 +359,6 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26(%self.param: ref %empty_tuple.type) = "no_op"; @@ -419,7 +411,5 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/unary_op.carbon b/toolchain/check/testdata/operators/builtin/unary_op.carbon index 5695bce7e822..b7e082dec9fa 100644 --- a/toolchain/check/testdata/operators/builtin/unary_op.carbon +++ b/toolchain/check/testdata/operators/builtin/unary_op.carbon @@ -122,8 +122,6 @@ fn Constant() { // CHECK:STDOUT: %bound_method: = bound_method %.loc16, %impl.elem0 // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%.loc16) // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Constant() { @@ -196,8 +194,6 @@ fn Constant() { // CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24(%self.param: ref bool) = "no_op"; @@ -211,7 +207,5 @@ fn Constant() { // CHECK:STDOUT: %false: bool = bool_literal false [concrete = constants.%false] // CHECK:STDOUT: %.loc20: bool = not %false [concrete = constants.%true] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/add.carbon b/toolchain/check/testdata/operators/overloaded/add.carbon index d8a5a07d981c..d0bb1fee849f 100644 --- a/toolchain/check/testdata/operators/overloaded/add.carbon +++ b/toolchain/check/testdata/operators/overloaded/add.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.AddWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.AddWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/bit_and.carbon b/toolchain/check/testdata/operators/overloaded/bit_and.carbon index 9b3bb04245b2..2a3e7e47096e 100644 --- a/toolchain/check/testdata/operators/overloaded/bit_and.carbon +++ b/toolchain/check/testdata/operators/overloaded/bit_and.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.BitAndWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.BitAndWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.BitAndAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/bit_complement.carbon b/toolchain/check/testdata/operators/overloaded/bit_complement.carbon index d24b67454b28..2a50059600ce 100644 --- a/toolchain/check/testdata/operators/overloaded/bit_complement.carbon +++ b/toolchain/check/testdata/operators/overloaded/bit_complement.carbon @@ -51,7 +51,5 @@ fn TestOp(a: C) -> C { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.BitComplement.impl.Op.call: init %C to %.loc27_20.1 = call %bound_method(%a.ref) // CHECK:STDOUT: return %C.as.BitComplement.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/bit_or.carbon b/toolchain/check/testdata/operators/overloaded/bit_or.carbon index b7cebeba294c..62dad2e41965 100644 --- a/toolchain/check/testdata/operators/overloaded/bit_or.carbon +++ b/toolchain/check/testdata/operators/overloaded/bit_or.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.BitOrWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.BitOrWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.BitOrAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/bit_xor.carbon b/toolchain/check/testdata/operators/overloaded/bit_xor.carbon index 60ff20c889af..e727bffe9313 100644 --- a/toolchain/check/testdata/operators/overloaded/bit_xor.carbon +++ b/toolchain/check/testdata/operators/overloaded/bit_xor.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.BitXorWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.BitXorWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.BitXorAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/dec.carbon b/toolchain/check/testdata/operators/overloaded/dec.carbon index ecbd41fc2de9..ee1fd43a4234 100644 --- a/toolchain/check/testdata/operators/overloaded/dec.carbon +++ b/toolchain/check/testdata/operators/overloaded/dec.carbon @@ -51,7 +51,5 @@ fn TestOp() { // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.Dec.impl.Op.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/div.carbon b/toolchain/check/testdata/operators/overloaded/div.carbon index 05dd54a17f59..7ddfa9214b57 100644 --- a/toolchain/check/testdata/operators/overloaded/div.carbon +++ b/toolchain/check/testdata/operators/overloaded/div.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.DivWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.DivWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.DivAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/eq.carbon b/toolchain/check/testdata/operators/overloaded/eq.carbon index c45944f86621..00d608d60ffd 100644 --- a/toolchain/check/testdata/operators/overloaded/eq.carbon +++ b/toolchain/check/testdata/operators/overloaded/eq.carbon @@ -256,8 +256,6 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %C.as.EqWith.impl.Equal.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.EqWith.impl.Equal.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestNotEqual(%a.param: %C, %b.param: %C) -> out %return.param: bool { @@ -268,8 +266,6 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: %C.as.EqWith.impl.NotEqual.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.EqWith.impl.NotEqual.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_no_impl.carbon @@ -368,8 +364,6 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %a.ref: %D = name_ref a, %a // CHECK:STDOUT: %b.ref: %D = name_ref b, %b // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestNotEqual(%a.param: %D, %b.param: %D) -> out %return.param: bool { @@ -377,8 +371,6 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %a.ref: %D = name_ref a, %a // CHECK:STDOUT: %b.ref: %D = name_ref b, %b // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_no_impl_for_args.carbon @@ -564,8 +556,6 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %D = name_ref b, %b // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestLhsBad(%a.param: %D, %b.param: %C) -> out %return.param: bool { @@ -573,7 +563,5 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %a.ref: %D = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/fail_assign_non_ref.carbon b/toolchain/check/testdata/operators/overloaded/fail_assign_non_ref.carbon index 2a54eaa517f2..8d3a4df5c59e 100644 --- a/toolchain/check/testdata/operators/overloaded/fail_assign_non_ref.carbon +++ b/toolchain/check/testdata/operators/overloaded/fail_assign_non_ref.carbon @@ -200,8 +200,6 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %C.as.Inc.impl.Op.call: init %empty_tuple.type = call %bound_method() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAddAssignNonRef(%a.param: %C, %b.param: %C) { @@ -212,7 +210,5 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(, %b.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/fail_error_recovery.carbon b/toolchain/check/testdata/operators/overloaded/fail_error_recovery.carbon index ca8c7b7c9c68..79dd3cc786e9 100644 --- a/toolchain/check/testdata/operators/overloaded/fail_error_recovery.carbon +++ b/toolchain/check/testdata/operators/overloaded/fail_error_recovery.carbon @@ -86,8 +86,6 @@ fn G(n: i32) { // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: %impl.elem1: = impl_witness_access , element1 [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%n.param: %i32) { @@ -95,7 +93,5 @@ fn G(n: i32) { // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n // CHECK:STDOUT: %undeclared.ref: = name_ref undeclared, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/fail_no_impl.carbon b/toolchain/check/testdata/operators/overloaded/fail_no_impl.carbon index 7e2b4bb0a4fe..71e0cc278656 100644 --- a/toolchain/check/testdata/operators/overloaded/fail_no_impl.carbon +++ b/toolchain/check/testdata/operators/overloaded/fail_no_impl.carbon @@ -164,8 +164,6 @@ fn TestRef(b: C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestBinary(%a.param: %C, %b.param: %C) -> out %return.param: %C { @@ -173,8 +171,6 @@ fn TestRef(b: C) { // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b // CHECK:STDOUT: return to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestRef(%b.param: %C) { @@ -196,8 +192,6 @@ fn TestRef(b: C) { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc36_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -205,7 +199,5 @@ fn TestRef(b: C) { // CHECK:STDOUT: fn @Destroy.Op.loc36_3.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/implicit_as.carbon b/toolchain/check/testdata/operators/overloaded/implicit_as.carbon index 86da5928d6aa..3c47109f8bf2 100644 --- a/toolchain/check/testdata/operators/overloaded/implicit_as.carbon +++ b/toolchain/check/testdata/operators/overloaded/implicit_as.carbon @@ -269,8 +269,6 @@ fn Test() { // CHECK:STDOUT: %.loc20_49.4: init %X to %return.param = class_init (%.loc20_49.3) // CHECK:STDOUT: %.loc20_50: init %X = converted %.loc20_49.1, %.loc20_49.4 // CHECK:STDOUT: return %.loc20_50 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @X.as.ImplicitAs.impl.Convert(%self.param: %X) -> out %return.param: %i32 { @@ -285,8 +283,6 @@ fn Test() { // CHECK:STDOUT: %bound_method.loc24_43.2: = bound_method %.loc24_43.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc24_43.2(%.loc24_43.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Sink_i32(%n.param: %i32); @@ -313,8 +309,6 @@ fn Test() { // CHECK:STDOUT: %.loc31_31.1: ref @Source.%T.loc31_20.1 (%T.67d) = splice_block %return.param {} // CHECK:STDOUT: %Source.call: init @Source.%T.loc31_20.1 (%T.67d) to %.loc31_31.1 = call %Source.specific_fn.loc31_42.1() // CHECK:STDOUT: return %Source.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -354,8 +348,6 @@ fn Test() { // CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %.loc34_20.2, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call.loc34: init %empty_tuple.type = call %Destroy.Op.bound.loc34(%.loc34_20.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_20.1(%self.param: ref %i32.builtin) = "no_op"; @@ -363,22 +355,16 @@ fn Test() { // CHECK:STDOUT: fn @Destroy.Op.loc35_20.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_20.3(%self.param: ref %struct_type.n) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc35_20.4(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Source(constants.%T.67d) { diff --git a/toolchain/check/testdata/operators/overloaded/inc.carbon b/toolchain/check/testdata/operators/overloaded/inc.carbon index d8aa524ff388..93c03a65a2ac 100644 --- a/toolchain/check/testdata/operators/overloaded/inc.carbon +++ b/toolchain/check/testdata/operators/overloaded/inc.carbon @@ -51,7 +51,5 @@ fn TestOp() { // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.Inc.impl.Op.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/index.carbon b/toolchain/check/testdata/operators/overloaded/index.carbon index 23c189468e94..955a5e6210f0 100644 --- a/toolchain/check/testdata/operators/overloaded/index.carbon +++ b/toolchain/check/testdata/operators/overloaded/index.carbon @@ -144,8 +144,6 @@ fn F() { // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_missing_index_with.carbon @@ -179,8 +177,6 @@ fn F() { // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- core_wrong_arg_count.carbon @@ -286,8 +282,6 @@ fn F() { // CHECK:STDOUT: witness = (@IndexWith.WithSelf.%IndexWith.WithSelf.At.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -461,8 +455,6 @@ fn F() { // CHECK:STDOUT: witness = (imports.%Core.At) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -533,8 +525,6 @@ fn F() { // CHECK:STDOUT: %.loc10_13.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_14: init %empty_tuple.type = converted %.loc10_13.1, %.loc10_13.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: return %.loc10_14 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -554,8 +544,6 @@ fn F() { // CHECK:STDOUT: %.loc23: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.115) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_15.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -563,8 +551,6 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc15_15.2(%self.param: ref %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IndexWith(constants.%SubscriptType, constants.%ElementType) { diff --git a/toolchain/check/testdata/operators/overloaded/index_with_prelude.carbon b/toolchain/check/testdata/operators/overloaded/index_with_prelude.carbon index f6660cb0582c..5b09f10ccd80 100644 --- a/toolchain/check/testdata/operators/overloaded/index_with_prelude.carbon +++ b/toolchain/check/testdata/operators/overloaded/index_with_prelude.carbon @@ -278,8 +278,6 @@ let x: i32 = c[0]; // CHECK:STDOUT: %.loc10_13.2: init %ElementType to %return.param = class_init () [concrete = constants.%ElementType.val] // CHECK:STDOUT: %.loc10_14: init %ElementType = converted %.loc10_13.1, %.loc10_13.2 [concrete = constants.%ElementType.val] // CHECK:STDOUT: return %.loc10_14 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -293,8 +291,6 @@ let x: i32 = c[0]; // CHECK:STDOUT: %.loc16: ref %ElementType = temporary_storage // CHECK:STDOUT: %C.as.IndexWith.impl.At.call: init %ElementType to %.loc16 = call %bound_method(%c.ref, %s.ref) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- overloaded_builtin.carbon @@ -477,8 +473,6 @@ let x: i32 = c[0]; // CHECK:STDOUT: %.loc10_18.3: init %C = as_compatible %.loc10_18.2 [concrete = constants.%empty_tuple.4db] // CHECK:STDOUT: %.loc10_18.4: init %C = converted %tuple.elem0, %.loc10_18.3 [concrete = constants.%empty_tuple.4db] // CHECK:STDOUT: return %.loc10_18.4 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -500,8 +494,6 @@ let x: i32 = c[0]; // CHECK:STDOUT: %bound_method: = bound_method %s.ref, %impl.elem1 // CHECK:STDOUT: %tuple.type.as.IndexWith.impl.At.call: init %C = call %bound_method(%s.ref, %int_0) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_invalid_subscript_type.carbon @@ -682,8 +674,6 @@ let x: i32 = c[0]; // CHECK:STDOUT: %.loc10_13.2: init %ElementType to %return.param = class_init () [concrete = constants.%ElementType.val] // CHECK:STDOUT: %.loc10_14: init %ElementType = converted %.loc10_13.1, %.loc10_13.2 [concrete = constants.%ElementType.val] // CHECK:STDOUT: return %.loc10_14 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -692,8 +682,6 @@ let x: i32 = c[0]; // CHECK:STDOUT: %c.ref: %C = name_ref c, file.%c // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_index_with_not_implemented.carbon @@ -769,7 +757,5 @@ let x: i32 = c[0]; // CHECK:STDOUT: %c.ref: %C = name_ref c, file.%c // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/left_shift.carbon b/toolchain/check/testdata/operators/overloaded/left_shift.carbon index 5ae14fe81b40..522a800276ae 100644 --- a/toolchain/check/testdata/operators/overloaded/left_shift.carbon +++ b/toolchain/check/testdata/operators/overloaded/left_shift.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.LeftShiftWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.LeftShiftWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.LeftShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/mod.carbon b/toolchain/check/testdata/operators/overloaded/mod.carbon index 61512dbb5054..b83420b1a897 100644 --- a/toolchain/check/testdata/operators/overloaded/mod.carbon +++ b/toolchain/check/testdata/operators/overloaded/mod.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.ModWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.ModWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.ModAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/mul.carbon b/toolchain/check/testdata/operators/overloaded/mul.carbon index 5ae644d64201..6421d669b1ac 100644 --- a/toolchain/check/testdata/operators/overloaded/mul.carbon +++ b/toolchain/check/testdata/operators/overloaded/mul.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.MulWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.MulWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.MulAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/negate.carbon b/toolchain/check/testdata/operators/overloaded/negate.carbon index c52a472022d2..e9bc6a6e0c4e 100644 --- a/toolchain/check/testdata/operators/overloaded/negate.carbon +++ b/toolchain/check/testdata/operators/overloaded/negate.carbon @@ -51,7 +51,5 @@ fn TestOp(a: C) -> C { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.Negate.impl.Op.call: init %C to %.loc27_20.1 = call %bound_method(%a.ref) // CHECK:STDOUT: return %C.as.Negate.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/ordered.carbon b/toolchain/check/testdata/operators/overloaded/ordered.carbon index 1fc7b1ad7231..7869f75d3381 100644 --- a/toolchain/check/testdata/operators/overloaded/ordered.carbon +++ b/toolchain/check/testdata/operators/overloaded/ordered.carbon @@ -350,8 +350,6 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %C.as.OrderedWith.impl.Less.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.OrderedWith.impl.Less.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestLessEqual(%a.param: %C, %b.param: %C) -> out %return.param: bool { @@ -362,8 +360,6 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: %C.as.OrderedWith.impl.LessOrEquivalent.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.OrderedWith.impl.LessOrEquivalent.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestGreater(%a.param: %C, %b.param: %C) -> out %return.param: bool { @@ -374,8 +370,6 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem2 // CHECK:STDOUT: %C.as.OrderedWith.impl.Greater.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.OrderedWith.impl.Greater.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestGreaterEqual(%a.param: %C, %b.param: %C) -> out %return.param: bool { @@ -386,8 +380,6 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem3 // CHECK:STDOUT: %C.as.OrderedWith.impl.GreaterOrEquivalent.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.OrderedWith.impl.GreaterOrEquivalent.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_no_impl.carbon @@ -530,8 +522,6 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %a.ref: %D = name_ref a, %a // CHECK:STDOUT: %b.ref: %D = name_ref b, %b // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestLessEqual(%a.param: %D, %b.param: %D) -> out %return.param: bool { @@ -539,8 +529,6 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %a.ref: %D = name_ref a, %a // CHECK:STDOUT: %b.ref: %D = name_ref b, %b // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestGreater(%a.param: %D, %b.param: %D) -> out %return.param: bool { @@ -548,8 +536,6 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %a.ref: %D = name_ref a, %a // CHECK:STDOUT: %b.ref: %D = name_ref b, %b // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestGreaterEqual(%a.param: %D, %b.param: %D) -> out %return.param: bool { @@ -557,7 +543,5 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %a.ref: %D = name_ref a, %a // CHECK:STDOUT: %b.ref: %D = name_ref b, %b // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/right_shift.carbon b/toolchain/check/testdata/operators/overloaded/right_shift.carbon index e4e35665e973..283824c25505 100644 --- a/toolchain/check/testdata/operators/overloaded/right_shift.carbon +++ b/toolchain/check/testdata/operators/overloaded/right_shift.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.RightShiftWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.RightShiftWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.RightShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/string_indexing.carbon b/toolchain/check/testdata/operators/overloaded/string_indexing.carbon index 01074e259d30..e65b129055a6 100644 --- a/toolchain/check/testdata/operators/overloaded/string_indexing.carbon +++ b/toolchain/check/testdata/operators/overloaded/string_indexing.carbon @@ -99,8 +99,6 @@ fn TestStringIndexing() { // CHECK:STDOUT: %String.val: %str.3d4 = struct_value (%str, %int_4) [concrete = constants.%String.val] // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- test_string_indexing.carbon @@ -191,7 +189,5 @@ fn TestStringIndexing() { // CHECK:STDOUT: %d.patt: %pattern_type.2ff = value_binding_pattern d [concrete = constants.%d.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/sub.carbon b/toolchain/check/testdata/operators/overloaded/sub.carbon index c78499e9fafd..687062797e4d 100644 --- a/toolchain/check/testdata/operators/overloaded/sub.carbon +++ b/toolchain/check/testdata/operators/overloaded/sub.carbon @@ -70,8 +70,6 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: %C.as.SubWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.SubWith.impl.Op.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.00e, %b.param: %C) { @@ -83,7 +81,5 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.SubAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/package_expr/syntax.carbon b/toolchain/check/testdata/package_expr/syntax.carbon index bf28fd9d0893..7810d81bb9a4 100644 --- a/toolchain/check/testdata/package_expr/syntax.carbon +++ b/toolchain/check/testdata/package_expr/syntax.carbon @@ -147,8 +147,6 @@ fn Main() { // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc5_21.2(%.loc5) // CHECK:STDOUT: assign file.%y.var, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- inside_fn.carbon @@ -280,8 +278,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %x.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -289,8 +285,6 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -304,8 +298,6 @@ fn Main() { // CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: assign file.%x.var, %.loc4 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- namespace.carbon @@ -355,8 +347,6 @@ fn Main() { // CHECK:STDOUT: fn @C.Foo() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { @@ -367,7 +357,5 @@ fn Main() { // CHECK:STDOUT: %Foo.ref: %C.Foo.type = name_ref Foo, @C.%C.Foo.decl [concrete = constants.%C.Foo] // CHECK:STDOUT: %C.Foo.call: init %empty_tuple.type = call %Foo.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/cross_package_export.carbon b/toolchain/check/testdata/packages/cross_package_export.carbon index f4234484c3e1..56629ce0ae54 100644 --- a/toolchain/check/testdata/packages/cross_package_export.carbon +++ b/toolchain/check/testdata/packages/cross_package_export.carbon @@ -240,8 +240,6 @@ alias C = Other.C; // CHECK:STDOUT: fn @C() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export_import.carbon @@ -445,8 +443,6 @@ alias C = Other.C; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_26.1, %.loc6_26.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_import_with_copy.carbon @@ -516,8 +512,6 @@ alias C = Other.C; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_26.1, %.loc7_26.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_import_indirect.carbon @@ -587,8 +581,6 @@ alias C = Other.C; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_26.1, %.loc6_26.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_name.carbon @@ -656,8 +648,6 @@ alias C = Other.C; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_26.1, %.loc6_26.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_name_with_copy.carbon @@ -726,8 +716,6 @@ alias C = Other.C; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_26.1, %.loc7_26.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_name_indirect.carbon @@ -795,8 +783,6 @@ alias C = Other.C; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_26.1, %.loc6_26.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_all.carbon @@ -870,8 +856,6 @@ alias C = Other.C; // CHECK:STDOUT: %.loc11_1: init %C = converted %.loc11_26.1, %.loc11_26.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc11_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unused_conflict_on_export_import.carbon diff --git a/toolchain/check/testdata/packages/cross_package_import.carbon b/toolchain/check/testdata/packages/cross_package_import.carbon index 9ea0ae2b0eb3..a9ed6dda50c7 100644 --- a/toolchain/check/testdata/packages/cross_package_import.carbon +++ b/toolchain/check/testdata/packages/cross_package_import.carbon @@ -228,8 +228,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- other_fn_extern.carbon @@ -280,8 +278,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: fn @F(%x.param: %empty_tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- other_fn2.carbon @@ -301,8 +297,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: fn @F2() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- other_fn_use.carbon @@ -333,8 +327,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Other.F [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "other_fn.carbon"]; @@ -389,8 +381,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: %F2.ref: %F2.type = name_ref F2, imports.%Other.F2 [concrete = constants.%F2] // CHECK:STDOUT: %F2.call: init %empty_tuple.type = call %F2.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "other_fn.carbon"]; @@ -431,8 +421,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Other.F [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "other_fn.carbon"]; @@ -487,8 +475,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Other.F [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "other_fn.carbon"]; @@ -525,8 +511,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: fn @F.loc23() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_main_reopen_other.carbon @@ -558,8 +542,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_main_reopen_other_nested.carbon @@ -590,8 +572,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_main_add_to_other.carbon @@ -619,8 +599,6 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_use_other_fn_use.carbon @@ -651,7 +629,5 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: %Other.ref: = name_ref Other, imports.%Other [concrete = imports.%Other] // CHECK:STDOUT: %F.ref: = name_ref F, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/export_import.carbon b/toolchain/check/testdata/packages/export_import.carbon index c54942d678fb..def95f0588f1 100644 --- a/toolchain/check/testdata/packages/export_import.carbon +++ b/toolchain/check/testdata/packages/export_import.carbon @@ -346,8 +346,6 @@ export Poison; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_20.1, %.loc6_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_export_in_impl.impl.carbon @@ -411,8 +409,6 @@ export Poison; // CHECK:STDOUT: %.loc4_1: init %C = converted %.loc4_20.1, %.loc4_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_export.carbon @@ -473,8 +469,6 @@ export Poison; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_20.1, %.loc6_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_import_then_export.carbon @@ -535,8 +529,6 @@ export Poison; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_20.1, %.loc6_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_import_when_export.carbon @@ -597,8 +589,6 @@ export Poison; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_20.1, %.loc6_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_base_and_export.carbon @@ -659,8 +649,6 @@ export Poison; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_20.1, %.loc7_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_and_base.carbon @@ -721,8 +709,6 @@ export Poison; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_20.1, %.loc7_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_copy.carbon @@ -783,8 +769,6 @@ export Poison; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_20.1, %.loc7_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_use_non_export.carbon @@ -857,8 +841,6 @@ export Poison; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_20.1, %.loc7_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- indirect_use_non_export_then_base.carbon @@ -921,8 +903,6 @@ export Poison; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_29.1, %.loc6_29.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%indirect_c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_export_poisoned.carbon diff --git a/toolchain/check/testdata/packages/export_mixed.carbon b/toolchain/check/testdata/packages/export_mixed.carbon index 987252e76a23..01247dcdc9ce 100644 --- a/toolchain/check/testdata/packages/export_mixed.carbon +++ b/toolchain/check/testdata/packages/export_mixed.carbon @@ -315,8 +315,6 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_20.1, %.loc6_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_name_then_import.carbon @@ -377,8 +375,6 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_20.1, %.loc6_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_both.carbon @@ -439,8 +435,6 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_20.1, %.loc7_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_nonexport_use_both.carbon @@ -478,8 +472,6 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %.loc11_20: %struct_type.y = struct_literal (%.loc11_19) [concrete = constants.%struct] // CHECK:STDOUT: assign file.%d.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_both_reversed.carbon @@ -540,8 +532,6 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_20.1, %.loc7_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_both_and_export_import.carbon @@ -641,7 +631,5 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %.loc9_1: init %D = converted %.loc9_20.1, %.loc9_20.5 [concrete = constants.%D.val] // CHECK:STDOUT: assign file.%d.var, %.loc9_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/export_name.carbon b/toolchain/check/testdata/packages/export_name.carbon index 51fd1b4ecc61..ca449f39560e 100644 --- a/toolchain/check/testdata/packages/export_name.carbon +++ b/toolchain/check/testdata/packages/export_name.carbon @@ -486,8 +486,6 @@ private export C; // CHECK:STDOUT: %.loc7_1: init %NSC = converted %.loc7_27.1, %.loc7_27.5 [concrete = constants.%NSC.val] // CHECK:STDOUT: assign file.%nsc.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export_export.impl.carbon @@ -595,8 +593,6 @@ private export C; // CHECK:STDOUT: %.loc5_1: init %NSC = converted %.loc5_27.1, %.loc5_27.5 [concrete = constants.%NSC.val] // CHECK:STDOUT: assign file.%nsc.var, %.loc5_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_export.carbon @@ -703,8 +699,6 @@ private export C; // CHECK:STDOUT: %.loc7_1: init %NSC = converted %.loc7_27.1, %.loc7_27.5 [concrete = constants.%NSC.val] // CHECK:STDOUT: assign file.%nsc.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_export_ns.carbon @@ -890,8 +884,6 @@ private export C; // CHECK:STDOUT: %.loc8_1: init %NSC = converted %.loc8_27.1, %.loc8_27.5 [concrete = constants.%NSC.val] // CHECK:STDOUT: assign file.%nsc.var, %.loc8_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_both_reversed.carbon @@ -998,8 +990,6 @@ private export C; // CHECK:STDOUT: %.loc8_1: init %NSC = converted %.loc8_27.1, %.loc8_27.5 [concrete = constants.%NSC.val] // CHECK:STDOUT: assign file.%nsc.var, %.loc8_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_use_not_reexporting.carbon @@ -1115,8 +1105,6 @@ private export C; // CHECK:STDOUT: %.loc6_1: init %C = converted %.loc6_20.1, %.loc6_20.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_modifiers.carbon diff --git a/toolchain/check/testdata/packages/fail_conflict_no_namespaces.carbon b/toolchain/check/testdata/packages/fail_conflict_no_namespaces.carbon index 73b387bd2f46..c2eaee75aa9d 100644 --- a/toolchain/check/testdata/packages/fail_conflict_no_namespaces.carbon +++ b/toolchain/check/testdata/packages/fail_conflict_no_namespaces.carbon @@ -124,8 +124,6 @@ import library "var"; // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %i32 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%Foo.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_conflict.carbon diff --git a/toolchain/check/testdata/packages/fail_import_type_error.carbon b/toolchain/check/testdata/packages/fail_import_type_error.carbon index 7ab4445352c1..f67feddebd95 100644 --- a/toolchain/check/testdata/packages/fail_import_type_error.carbon +++ b/toolchain/check/testdata/packages/fail_import_type_error.carbon @@ -113,8 +113,6 @@ var d: i32 = d_ref; // CHECK:STDOUT: assign file.%c_ref.var, // CHECK:STDOUT: assign file.%d_ref.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- implicit.impl.carbon @@ -204,7 +202,5 @@ var d: i32 = d_ref; // CHECK:STDOUT: %d_ref.ref: = name_ref d_ref, imports.%Implicit.d_ref [concrete = ] // CHECK:STDOUT: assign file.%d.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/fail_name_with_import_failure.carbon b/toolchain/check/testdata/packages/fail_name_with_import_failure.carbon index 950c67830c22..d901e092fe6d 100644 --- a/toolchain/check/testdata/packages/fail_name_with_import_failure.carbon +++ b/toolchain/check/testdata/packages/fail_name_with_import_failure.carbon @@ -56,7 +56,5 @@ var a: () = A(); // CHECK:STDOUT: %A.ref: = name_ref A, [concrete = ] // CHECK:STDOUT: assign file.%a.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/implicit_imports_entities.carbon b/toolchain/check/testdata/packages/implicit_imports_entities.carbon index 2d06d5bedb5f..b13f45786172 100644 --- a/toolchain/check/testdata/packages/implicit_imports_entities.carbon +++ b/toolchain/check/testdata/packages/implicit_imports_entities.carbon @@ -400,8 +400,6 @@ import Other library "o1"; // CHECK:STDOUT: %.loc7_1: init %C2 = converted %.loc7_15.1, %.loc7_15.2 [concrete = constants.%C2.val] // CHECK:STDOUT: assign file.%c2.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- dup_c1.carbon @@ -466,8 +464,6 @@ import Other library "o1"; // CHECK:STDOUT: %.loc6_1: init %C1 = converted %.loc6_15.1, %.loc6_15.2 [concrete = constants.%C1.val] // CHECK:STDOUT: assign file.%c1.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_ns.carbon @@ -543,8 +539,6 @@ import Other library "o1"; // CHECK:STDOUT: %.loc4_1: init %C = converted %.loc4_16.1, %.loc4_16.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- mix_other.carbon @@ -651,8 +645,6 @@ import Other library "o1"; // CHECK:STDOUT: %.loc7_1: init %O2 = converted %.loc7_21.1, %.loc7_21.2 [concrete = constants.%O2.val] // CHECK:STDOUT: assign file.%o2.var, %.loc7_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- dup_o1.carbon @@ -727,8 +719,6 @@ import Other library "o1"; // CHECK:STDOUT: %.loc6_1: init %O1 = converted %.loc6_21.1, %.loc6_21.2 [concrete = constants.%O1.val] // CHECK:STDOUT: assign file.%o1.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_conflict.carbon diff --git a/toolchain/check/testdata/packages/implicit_imports_prelude.carbon b/toolchain/check/testdata/packages/implicit_imports_prelude.carbon index be577d371645..0db7c8ea5385 100644 --- a/toolchain/check/testdata/packages/implicit_imports_prelude.carbon +++ b/toolchain/check/testdata/packages/implicit_imports_prelude.carbon @@ -94,8 +94,6 @@ var b: i32 = a; // CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: assign file.%a.var, %.loc4 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- lib.impl.carbon @@ -167,7 +165,5 @@ var b: i32 = a; // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc4_14.2(%.loc4) // CHECK:STDOUT: assign file.%b.var, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/loaded_global.carbon b/toolchain/check/testdata/packages/loaded_global.carbon index 95b14b97eba3..0e452ad3a78d 100644 --- a/toolchain/check/testdata/packages/loaded_global.carbon +++ b/toolchain/check/testdata/packages/loaded_global.carbon @@ -118,8 +118,6 @@ var package_b: () = package.B(); // CHECK:STDOUT: %A.call.loc6: init %empty_tuple.type = call %A.ref.loc6() // CHECK:STDOUT: assign file.%package_a.var, %A.call.loc6 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- same_package.carbon @@ -197,7 +195,5 @@ var package_b: () = package.B(); // CHECK:STDOUT: %B.call.loc8: init %empty_tuple.type = call %B.ref.loc8() // CHECK:STDOUT: assign file.%package_b.var, %B.call.loc8 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/missing_prelude.carbon b/toolchain/check/testdata/packages/missing_prelude.carbon index bdf4f1191e9b..bf273403eaf0 100644 --- a/toolchain/check/testdata/packages/missing_prelude.carbon +++ b/toolchain/check/testdata/packages/missing_prelude.carbon @@ -144,8 +144,6 @@ let n: type = i32; // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%n.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- prelude_empty.carbon @@ -182,8 +180,6 @@ let n: type = i32; // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%n.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- prelude_fake_int.carbon @@ -306,8 +302,6 @@ let n: type = i32; // CHECK:STDOUT: witness = (@ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -334,8 +328,6 @@ let n: type = i32; // CHECK:STDOUT: %.loc6_53.2: init %X to %return.param = class_init () [concrete = constants.%X.val] // CHECK:STDOUT: %.loc6_54: init %X = converted %.loc6_53.1, %.loc6_53.2 [concrete = constants.%X.val] // CHECK:STDOUT: return %.loc6_54 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -489,8 +481,6 @@ let n: type = i32; // CHECK:STDOUT: witness = (imports.%Core.Convert) // CHECK:STDOUT: // CHECK:STDOUT: !requires: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -537,8 +527,6 @@ let n: type = i32; // CHECK:STDOUT: %.loc21_17.2: type = converted %Int.call, [concrete = ] // CHECK:STDOUT: %.loc21_17.3: type = type_literal [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Int(constants.%T, constants.%N) { @@ -701,8 +689,6 @@ let n: type = i32; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc8: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Int(constants.%T, constants.%N) { diff --git a/toolchain/check/testdata/packages/raw_core.carbon b/toolchain/check/testdata/packages/raw_core.carbon index 6d894a5f520b..5702c2848ed9 100644 --- a/toolchain/check/testdata/packages/raw_core.carbon +++ b/toolchain/check/testdata/packages/raw_core.carbon @@ -128,8 +128,6 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Core.F [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "package_raw_core.carbon"]; @@ -141,8 +139,6 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_raw_core_not_core.carbon @@ -185,8 +181,6 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core.048aa3.1 [concrete = imports.%Core.048aa3.1] // CHECK:STDOUT: %F.ref: = name_ref F, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { @@ -195,8 +189,6 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: %Int.ref: = name_ref Int, [concrete = ] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- class_raw_core.carbon @@ -318,7 +310,5 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: %.loc6_1: init %Core = converted %.loc6_40.1, %.loc6_40.4 [concrete = constants.%Core.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/patterns/expression.carbon b/toolchain/check/testdata/patterns/expression.carbon index 79194ba0f988..1cd257f83715 100644 --- a/toolchain/check/testdata/patterns/expression.carbon +++ b/toolchain/check/testdata/patterns/expression.carbon @@ -131,7 +131,5 @@ fn F() { // CHECK:STDOUT: %.loc16_51: %pattern_type.860 = tuple_pattern (%expr_patt.loc16_26, %expr_patt.loc16_43) [concrete = constants.%.2f0] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/patterns/tuple.carbon b/toolchain/check/testdata/patterns/tuple.carbon index 14aef13f0999..c4632ed1843d 100644 --- a/toolchain/check/testdata/patterns/tuple.carbon +++ b/toolchain/check/testdata/patterns/tuple.carbon @@ -100,8 +100,6 @@ let (((b: ()),)) = ((),); // CHECK:STDOUT: %.loc5_28: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_29: %tuple.type = tuple_literal (%.loc5_24, %.loc5_28) [concrete = constants.%tuple] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- init_expr.carbon @@ -150,8 +148,6 @@ let (((b: ()),)) = ((),); // CHECK:STDOUT: %.loc7: ref %tuple.type = temporary_storage // CHECK:STDOUT: %F.call: init %tuple.type to %.loc7 = call %F.ref() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- ref_expr.carbon @@ -198,8 +194,6 @@ let (((b: ()),)) = ((),); // CHECK:STDOUT: // CHECK:STDOUT: %t.ref: ref %tuple.type = name_ref t, file.%t [concrete = file.%t.var] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- grouping_parens.carbon @@ -240,8 +234,6 @@ let (((b: ()),)) = ((),); // CHECK:STDOUT: %.loc5: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- one_tuple.carbon @@ -291,7 +283,5 @@ let (((b: ()),)) = ((),); // CHECK:STDOUT: %.loc6_22: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_24: %tuple.type = tuple_literal (%.loc6_22) [concrete = constants.%tuple] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/patterns/underscore.carbon b/toolchain/check/testdata/patterns/underscore.carbon index 3d033aea1fb4..4f0ef5ce213f 100644 --- a/toolchain/check/testdata/patterns/underscore.carbon +++ b/toolchain/check/testdata/patterns/underscore.carbon @@ -193,8 +193,6 @@ fn F() -> {} { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %_.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%_.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_struct_type) = "no_op"; @@ -207,8 +205,6 @@ fn F() -> {} { // CHECK:STDOUT: %.loc5_1: init %empty_struct_type = converted %.loc5_14.1, %.loc5_14.2 [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%_.var, %.loc5_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- function.carbon @@ -273,8 +269,6 @@ fn F() -> {} { // CHECK:STDOUT: fn @G(%_.param: %empty_struct_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { @@ -285,8 +279,6 @@ fn F() -> {} { // CHECK:STDOUT: %.loc9_6.2: %empty_struct_type = converted %.loc9_6.1, %empty_struct [concrete = constants.%empty_struct] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%.loc9_6.2) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- function_generic.carbon @@ -342,8 +334,6 @@ fn F() -> {} { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -355,8 +345,6 @@ fn F() -> {} { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%empty_struct_type) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%_) { @@ -430,8 +418,6 @@ fn F() -> {} { // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%empty_struct_type) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%_) { @@ -508,8 +494,6 @@ fn F() -> {} { // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/address_of_deref.carbon b/toolchain/check/testdata/pointer/address_of_deref.carbon index bb1fa6e9c9dd..91a5e4699de2 100644 --- a/toolchain/check/testdata/pointer/address_of_deref.carbon +++ b/toolchain/check/testdata/pointer/address_of_deref.carbon @@ -135,8 +135,6 @@ fn F() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%n.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -144,7 +142,5 @@ fn F() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc16_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/address_of_lvalue.carbon b/toolchain/check/testdata/pointer/address_of_lvalue.carbon index fc12e70ed130..6b808bb52538 100644 --- a/toolchain/check/testdata/pointer/address_of_lvalue.carbon +++ b/toolchain/check/testdata/pointer/address_of_lvalue.carbon @@ -326,8 +326,6 @@ fn F() { // CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %s.var, constants.%Destroy.Op.1a2547.6 // CHECK:STDOUT: %Destroy.Op.call.loc16: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%s.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24(%self.param: ref %ptr.d08) = "no_op"; @@ -337,15 +335,11 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc22_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22_3.3(%self.param: ref %tuple.type.e55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18(%self.param: ref %ptr.939) = "no_op"; @@ -353,7 +347,5 @@ fn F() { // CHECK:STDOUT: fn @Destroy.Op.loc16(%self.param: ref %struct_type.a.b.b4c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/arrow.carbon b/toolchain/check/testdata/pointer/arrow.carbon index 1d6d2dc711b9..348a62ac4620 100644 --- a/toolchain/check/testdata/pointer/arrow.carbon +++ b/toolchain/check/testdata/pointer/arrow.carbon @@ -129,7 +129,5 @@ fn Foo(ptr: C*) { // CHECK:STDOUT: %field.ref.loc27_13: %C.elem = name_ref field, @C.%.loc17 [concrete = @C.%.loc17] // CHECK:STDOUT: %.loc27_13.2: ref %ptr.6b6 = class_element_access %.loc27_13.1, element0 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/basic.carbon b/toolchain/check/testdata/pointer/basic.carbon index 6faa31cfb87b..375b816d7ac2 100644 --- a/toolchain/check/testdata/pointer/basic.carbon +++ b/toolchain/check/testdata/pointer/basic.carbon @@ -172,8 +172,6 @@ fn F() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %n.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call.loc16: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%n.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc17(%self.param: ref %ptr.d08) = "no_op"; @@ -183,7 +181,5 @@ fn F() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc16_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/convert_qualifiers.carbon b/toolchain/check/testdata/pointer/convert_qualifiers.carbon index 97aaef3c9e5d..496b57f9f99d 100644 --- a/toolchain/check/testdata/pointer/convert_qualifiers.carbon +++ b/toolchain/check/testdata/pointer/convert_qualifiers.carbon @@ -151,8 +151,6 @@ fn NonConstNonConst(p: X**) { TakeNonConstConst(p); } // CHECK:STDOUT: %.loc12_13.2: %ptr.faf = converted %p.ref.loc12, %.loc12_13.1 // CHECK:STDOUT: %TakeConst.call: init %empty_tuple.type = call %TakeConst.ref(%.loc12_13.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Const(%p.param: %ptr.faf) { @@ -161,8 +159,6 @@ fn NonConstNonConst(p: X**) { TakeNonConstConst(p); } // CHECK:STDOUT: %p.ref: %ptr.faf = name_ref p, %p // CHECK:STDOUT: %TakeConst.call: init %empty_tuple.type = call %TakeConst.ref(%p.ref) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NonConstConst(%p.param: %ptr.845) { @@ -173,8 +169,6 @@ fn NonConstNonConst(p: X**) { TakeNonConstConst(p); } // CHECK:STDOUT: %.loc25_18.2: %ptr.b53 = converted %p.ref, %.loc25_18.1 // CHECK:STDOUT: %TakeConstConst.call: init %empty_tuple.type = call %TakeConstConst.ref(%.loc25_18.2) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_nested_qualifiers.carbon @@ -201,8 +195,6 @@ fn NonConstNonConst(p: X**) { TakeNonConstConst(p); } // CHECK:STDOUT: %.loc22: %ptr.b53 = converted %p.ref, [concrete = ] // CHECK:STDOUT: %TakeConstConst.call: init %empty_tuple.type = call %TakeConstConst.ref() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConstNonConst(%p.param: %ptr.060) { @@ -212,7 +204,5 @@ fn NonConstNonConst(p: X**) { TakeNonConstConst(p); } // CHECK:STDOUT: %.loc38: %ptr.b53 = converted %p.ref, [concrete = ] // CHECK:STDOUT: %TakeConstConst.call: init %empty_tuple.type = call %TakeConstConst.ref() // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/fail_address_of_error.carbon b/toolchain/check/testdata/pointer/fail_address_of_error.carbon index 92f971857df8..c59912d60e6e 100644 --- a/toolchain/check/testdata/pointer/fail_address_of_error.carbon +++ b/toolchain/check/testdata/pointer/fail_address_of_error.carbon @@ -61,7 +61,5 @@ fn Test() { // CHECK:STDOUT: %addr.loc29_5: = addr_of %undeclared.ref.loc29 [concrete = ] // CHECK:STDOUT: %addr.loc29_3: = addr_of [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/fail_deref_error.carbon b/toolchain/check/testdata/pointer/fail_deref_error.carbon index 892cbba2dbfa..f13f15d615c1 100644 --- a/toolchain/check/testdata/pointer/fail_deref_error.carbon +++ b/toolchain/check/testdata/pointer/fail_deref_error.carbon @@ -72,7 +72,5 @@ let n2: i32 = undeclared->foo; // CHECK:STDOUT: %.loc24: ref = deref [concrete = ] // CHECK:STDOUT: %foo.ref: = name_ref foo, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/fail_deref_function.carbon b/toolchain/check/testdata/pointer/fail_deref_function.carbon index ef072d784406..2e0cb9c16c21 100644 --- a/toolchain/check/testdata/pointer/fail_deref_function.carbon +++ b/toolchain/check/testdata/pointer/fail_deref_function.carbon @@ -56,7 +56,5 @@ fn A() { // CHECK:STDOUT: %.loc25: ref = deref [concrete = ] // CHECK:STDOUT: %foo.ref: = name_ref foo, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/fail_deref_namespace.carbon b/toolchain/check/testdata/pointer/fail_deref_namespace.carbon index f0b2e150676e..55390431f64a 100644 --- a/toolchain/check/testdata/pointer/fail_deref_namespace.carbon +++ b/toolchain/check/testdata/pointer/fail_deref_namespace.carbon @@ -60,7 +60,5 @@ fn F() { // CHECK:STDOUT: %.loc27: ref = deref [concrete = ] // CHECK:STDOUT: %foo.ref: = name_ref foo, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/fail_deref_not_pointer.carbon b/toolchain/check/testdata/pointer/fail_deref_not_pointer.carbon index 84acd1ab79fb..5b1ac77631e5 100644 --- a/toolchain/check/testdata/pointer/fail_deref_not_pointer.carbon +++ b/toolchain/check/testdata/pointer/fail_deref_not_pointer.carbon @@ -114,7 +114,5 @@ fn Deref(n: i32) { // CHECK:STDOUT: %.loc45_5: ref = deref %.loc45_4.2 [concrete = ] // CHECK:STDOUT: %foo.ref.loc45: = name_ref foo, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/fail_deref_type.carbon b/toolchain/check/testdata/pointer/fail_deref_type.carbon index 1bca0510abfb..d44a0dfa92ae 100644 --- a/toolchain/check/testdata/pointer/fail_deref_type.carbon +++ b/toolchain/check/testdata/pointer/fail_deref_type.carbon @@ -79,7 +79,5 @@ var p2: i32->foo; // CHECK:STDOUT: assign file.%p.var, // CHECK:STDOUT: assign file.%p2.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/fail_type_mismatch.carbon b/toolchain/check/testdata/pointer/fail_type_mismatch.carbon index 643af7b7bb77..e021a6b035f7 100644 --- a/toolchain/check/testdata/pointer/fail_type_mismatch.carbon +++ b/toolchain/check/testdata/pointer/fail_type_mismatch.carbon @@ -89,7 +89,5 @@ fn ConstMismatch(p: const {}*) -> const ({}*) { // CHECK:STDOUT: %p.ref: %ptr.bf9 = name_ref p, %p // CHECK:STDOUT: %.loc23: %const.987 = converted %p.ref, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/import.carbon b/toolchain/check/testdata/pointer/import.carbon index 12d7d0f288b4..85252622abff 100644 --- a/toolchain/check/testdata/pointer/import.carbon +++ b/toolchain/check/testdata/pointer/import.carbon @@ -134,8 +134,6 @@ var a: i32* = a_ref; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d08 = call %bound_method.loc5_19.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%a_ref.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- implicit.impl.carbon @@ -213,7 +211,5 @@ var a: i32* = a_ref; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d08 = call %bound_method.loc4_15.2(%.loc4) // CHECK:STDOUT: assign file.%a.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/nested_const.carbon b/toolchain/check/testdata/pointer/nested_const.carbon index 05d7eb09e661..87726631a9e4 100644 --- a/toolchain/check/testdata/pointer/nested_const.carbon +++ b/toolchain/check/testdata/pointer/nested_const.carbon @@ -119,7 +119,5 @@ fn F(p: const (const (const i32*)*)) -> const i32 { // CHECK:STDOUT: %bound_method.loc17_10.2: = bound_method %.loc17_10.2, %specific_fn // CHECK:STDOUT: %const.as.Copy.impl.Op.call: init %const.6a8 = call %bound_method.loc17_10.2(%.loc17_10.2) // CHECK:STDOUT: return %const.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/types.carbon b/toolchain/check/testdata/pointer/types.carbon index fd2435c33781..552876a82e1c 100644 --- a/toolchain/check/testdata/pointer/types.carbon +++ b/toolchain/check/testdata/pointer/types.carbon @@ -135,8 +135,6 @@ fn ConstPtr(p: const i32*) -> (const i32)* { // CHECK:STDOUT: %bound_method.loc16_10.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d08 = call %bound_method.loc16_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConstPtr(%p.param: %ptr.774) -> out %return.param: %ptr.774 { @@ -148,7 +146,5 @@ fn ConstPtr(p: const i32*) -> (const i32)* { // CHECK:STDOUT: %bound_method.loc20_10.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.774 = call %bound_method.loc20_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/primitives/import_symbolic.carbon b/toolchain/check/testdata/primitives/import_symbolic.carbon index 0dfdf4e8f54f..d9cd87fa6b5f 100644 --- a/toolchain/check/testdata/primitives/import_symbolic.carbon +++ b/toolchain/check/testdata/primitives/import_symbolic.carbon @@ -240,8 +240,6 @@ fn F() -> u32 { // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%false] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_char.carbon @@ -291,8 +289,6 @@ fn F() -> u32 { // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%char.as.Copy.impl.Op.bound] // CHECK:STDOUT: %char.as.Copy.impl.Op.call: init %char = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%int_97] // CHECK:STDOUT: return %char.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_char_literal.carbon @@ -341,8 +337,6 @@ fn F() -> u32 { // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%Core.CharLiteral.as.Copy.impl.Op.bound] // CHECK:STDOUT: %Core.CharLiteral.as.Copy.impl.Op.call: init Core.CharLiteral = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%.54f] // CHECK:STDOUT: return %Core.CharLiteral.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_float.carbon @@ -400,8 +394,6 @@ fn F() -> u32 { // CHECK:STDOUT: %bound_method.loc7_18.2: = bound_method %impl.elem0.loc7_18.1, %specific_fn [concrete = constants.%bound_method] // CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.dc1 = call %bound_method.loc7_18.2(%impl.elem0.loc7_18.1) [concrete = constants.%float] // CHECK:STDOUT: return %Float.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_float_literal.carbon @@ -450,8 +442,6 @@ fn F() -> u32 { // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%Core.FloatLiteral.as.Copy.impl.Op.bound] // CHECK:STDOUT: %Core.FloatLiteral.as.Copy.impl.Op.call: init Core.FloatLiteral = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%float.d5ab3d.2] // CHECK:STDOUT: return %Core.FloatLiteral.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int.carbon @@ -509,8 +499,6 @@ fn F() -> u32 { // CHECK:STDOUT: %bound_method.loc7_18.2: = bound_method %impl.elem0.loc7_18.1, %specific_fn [concrete = constants.%bound_method] // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc7_18.2(%impl.elem0.loc7_18.1) [concrete = constants.%int_8] // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_int_literal.carbon @@ -559,8 +547,6 @@ fn F() -> u32 { // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call: init Core.IntLiteral = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%int_7] // CHECK:STDOUT: return %Core.IntLiteral.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unsigned_uint.carbon @@ -618,7 +604,5 @@ fn F() -> u32 { // CHECK:STDOUT: %bound_method.loc7_18.2: = bound_method %impl.elem0.loc7_18.1, %specific_fn [concrete = constants.%bound_method] // CHECK:STDOUT: %UInt.as.Copy.impl.Op.call: init %u32 = call %bound_method.loc7_18.2(%impl.elem0.loc7_18.1) [concrete = constants.%int_8] // CHECK:STDOUT: return %UInt.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/primitives/numeric_literals.carbon b/toolchain/check/testdata/primitives/numeric_literals.carbon index 6ed65afdaa92..a58967c276c5 100644 --- a/toolchain/check/testdata/primitives/numeric_literals.carbon +++ b/toolchain/check/testdata/primitives/numeric_literals.carbon @@ -164,7 +164,5 @@ let e: f64 = 5.0e39999999999999999993; // CHECK:STDOUT: %float.loc23: Core.FloatLiteral = float_literal_value 10e7 [concrete = constants.%float.8d2] // CHECK:STDOUT: %float.loc24: Core.FloatLiteral = float_literal_value 10e-9 [concrete = constants.%float.48b] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/primitives/string_literals.carbon b/toolchain/check/testdata/primitives/string_literals.carbon index acfb0cc06738..376ed097572e 100644 --- a/toolchain/check/testdata/primitives/string_literals.carbon +++ b/toolchain/check/testdata/primitives/string_literals.carbon @@ -141,8 +141,6 @@ This string contains 256 characters. Among them are: // CHECK:STDOUT: %int_5: %u8 = int_value 5 [concrete = constants.%int_5] // CHECK:STDOUT: %String.val: %str.3d4 = struct_value (%str, %int_5) [concrete = constants.%String.val] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_overfill_small_string.carbon @@ -169,7 +167,5 @@ This string contains 256 characters. Among them are: // CHECK:STDOUT: !entry: // CHECK:STDOUT: %str: %ptr.093 = string_literal "A string so long its size does not fit in `u8`. This results in an error,\nbecause we can't form a `Core.String` value that describes this string.\n\nThis string contains 256 characters. Among them are:\n\n* 6 `g`s,\n* 21 `s`s,\n* 9 newlines,\n* and only one `p`.\n" [concrete = constants.%str.9e7] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/primitives/type_literals.carbon b/toolchain/check/testdata/primitives/type_literals.carbon index a0f1141306a1..b706a8112d3c 100644 --- a/toolchain/check/testdata/primitives/type_literals.carbon +++ b/toolchain/check/testdata/primitives/type_literals.carbon @@ -393,8 +393,6 @@ var test_str: str = (); // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc7: init %i64 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.4() // CHECK:STDOUT: assign file.%test_i64.var, %T.as.DefaultOrUnformed.impl.Op.call.loc7 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- uN.carbon @@ -501,8 +499,6 @@ var test_str: str = (); // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc7: init %u64 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.4() // CHECK:STDOUT: assign file.%test_u64.var, %T.as.DefaultOrUnformed.impl.Op.call.loc7 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fN.carbon @@ -609,8 +605,6 @@ var test_str: str = (); // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc7: init %f128.e39 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.4() // CHECK:STDOUT: assign file.%test_f128.var, %T.as.DefaultOrUnformed.impl.Op.call.loc7 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- char.carbon @@ -653,8 +647,6 @@ var test_str: str = (); // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc5: Core.CharLiteral = char_value U+0063 [concrete = constants.%.b9b] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- string.carbon @@ -687,8 +679,6 @@ var test_str: str = (); // CHECK:STDOUT: %int_4: %u64 = int_value 4 [concrete = constants.%int_4] // CHECK:STDOUT: %String.val: %str.3d4 = struct_value (%str, %int_4) [concrete = constants.%String.val] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- type.carbon @@ -732,7 +722,5 @@ var test_str: str = (); // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%i32) [concrete = constants.%i32] // CHECK:STDOUT: assign file.%test_type.var, %type.as.Copy.impl.Op.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/code_after_return.carbon b/toolchain/check/testdata/return/code_after_return.carbon index 1b3079efe1d5..a995c8309f87 100644 --- a/toolchain/check/testdata/return/code_after_return.carbon +++ b/toolchain/check/testdata/return/code_after_return.carbon @@ -51,7 +51,5 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/code_after_return_value.carbon b/toolchain/check/testdata/return/code_after_return_value.carbon index 17caf1798e6d..5934f9827e53 100644 --- a/toolchain/check/testdata/return/code_after_return_value.carbon +++ b/toolchain/check/testdata/return/code_after_return_value.carbon @@ -109,7 +109,5 @@ fn F(unused b: bool) -> i32 { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_11.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc16 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_call_in_type.carbon b/toolchain/check/testdata/return/fail_call_in_type.carbon index 53872b8061cb..71a3a4ffec6d 100644 --- a/toolchain/check/testdata/return/fail_call_in_type.carbon +++ b/toolchain/check/testdata/return/fail_call_in_type.carbon @@ -94,15 +94,11 @@ fn Six() -> ReturnType() { return 6; } // CHECK:STDOUT: %bound_method: = bound_method %i32, %impl.elem0 [concrete = constants.%type.as.Copy.impl.Op.bound] // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%i32) [concrete = constants.%i32] // CHECK:STDOUT: return %type.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Six() -> { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_let_in_type.carbon b/toolchain/check/testdata/return/fail_let_in_type.carbon index 76e890a3aedf..e015bf73b8cf 100644 --- a/toolchain/check/testdata/return/fail_let_in_type.carbon +++ b/toolchain/check/testdata/return/fail_let_in_type.carbon @@ -130,24 +130,18 @@ fn FirstPerfectNumber() -> z { return 6; } // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @HalfDozen() -> { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FirstPerfectNumber() -> { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -156,7 +150,5 @@ fn FirstPerfectNumber() -> z { return 6; } // CHECK:STDOUT: %i32.loc27: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc39: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_missing_return.carbon b/toolchain/check/testdata/return/fail_missing_return.carbon index b7c171860069..23784c7993b9 100644 --- a/toolchain/check/testdata/return/fail_missing_return.carbon +++ b/toolchain/check/testdata/return/fail_missing_return.carbon @@ -62,7 +62,5 @@ fn Main() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_missing_return_empty_tuple.carbon b/toolchain/check/testdata/return/fail_missing_return_empty_tuple.carbon index e1ef94c0ccb9..767c84cc6e6b 100644 --- a/toolchain/check/testdata/return/fail_missing_return_empty_tuple.carbon +++ b/toolchain/check/testdata/return/fail_missing_return_empty_tuple.carbon @@ -50,7 +50,5 @@ fn F() -> () { // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %empty_tuple.type { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_return_var_no_returned_var.carbon b/toolchain/check/testdata/return/fail_return_var_no_returned_var.carbon index bafa2f5511ae..dc4916fe6b5a 100644 --- a/toolchain/check/testdata/return/fail_return_var_no_returned_var.carbon +++ b/toolchain/check/testdata/return/fail_return_var_no_returned_var.carbon @@ -52,7 +52,5 @@ fn Procedure() -> {} { // CHECK:STDOUT: fn @Procedure() -> out %return.param: %empty_struct_type { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_return_with_returned_var.carbon b/toolchain/check/testdata/return/fail_return_with_returned_var.carbon index f5b5754ac074..23da86c256be 100644 --- a/toolchain/check/testdata/return/fail_return_with_returned_var.carbon +++ b/toolchain/check/testdata/return/fail_return_with_returned_var.carbon @@ -176,8 +176,6 @@ fn G() -> C { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_12.1(%self.param: ref %i32.builtin) = "no_op"; @@ -185,8 +183,6 @@ fn G() -> C { // CHECK:STDOUT: fn @Destroy.Op.loc16_12.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: %C { @@ -221,7 +217,5 @@ fn G() -> C { // CHECK:STDOUT: } // CHECK:STDOUT: %c.ref: ref %C = name_ref c, %c // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_returned_var_no_return_type.carbon b/toolchain/check/testdata/return/fail_returned_var_no_return_type.carbon index f1c7c50955a9..c54b2ff693dd 100644 --- a/toolchain/check/testdata/return/fail_returned_var_no_return_type.carbon +++ b/toolchain/check/testdata/return/fail_returned_var_no_return_type.carbon @@ -100,8 +100,6 @@ fn ForgotReturnType() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; @@ -158,8 +156,6 @@ fn ForgotReturnType() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/return/fail_returned_var_shadow.carbon b/toolchain/check/testdata/return/fail_returned_var_shadow.carbon index 714337b7324e..ae97394e3e75 100644 --- a/toolchain/check/testdata/return/fail_returned_var_shadow.carbon +++ b/toolchain/check/testdata/return/fail_returned_var_shadow.carbon @@ -187,8 +187,6 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %v.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc17: init %empty_tuple.type = call %Destroy.Op.bound.loc17(%v.var) // CHECK:STDOUT: return %.loc27 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc25_14.1(%self.param: ref %i32.builtin) = "no_op"; @@ -196,8 +194,6 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc25_14.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @DifferentScopes() -> out %return.param: %i32 { @@ -258,7 +254,5 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound.loc32: = bound_method %v.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc32: init %empty_tuple.type = call %Destroy.Op.bound.loc32(%v.var) // CHECK:STDOUT: return %.loc44 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_returned_var_type.carbon b/toolchain/check/testdata/return/fail_returned_var_type.carbon index 53268a8daeef..008438ffa0fb 100644 --- a/toolchain/check/testdata/return/fail_returned_var_type.carbon +++ b/toolchain/check/testdata/return/fail_returned_var_type.carbon @@ -123,8 +123,6 @@ fn Mismatch() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %.loc23_17 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_12.1(%self.param: ref %f64.794) = "no_op"; @@ -132,7 +130,5 @@ fn Mismatch() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc23_12.2(%self.param: ref %f64.dc1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_type_mismatch.carbon b/toolchain/check/testdata/return/fail_type_mismatch.carbon index 0b1f2c707ed2..2322e9f5b811 100644 --- a/toolchain/check/testdata/return/fail_type_mismatch.carbon +++ b/toolchain/check/testdata/return/fail_type_mismatch.carbon @@ -74,7 +74,5 @@ fn Main() -> i32 { // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float] // CHECK:STDOUT: %.loc23: %i32 = converted %float, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_value_disallowed.carbon b/toolchain/check/testdata/return/fail_value_disallowed.carbon index 179a9348dba8..1194f95c86d6 100644 --- a/toolchain/check/testdata/return/fail_value_disallowed.carbon +++ b/toolchain/check/testdata/return/fail_value_disallowed.carbon @@ -51,7 +51,5 @@ fn Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_value_missing.carbon b/toolchain/check/testdata/return/fail_value_missing.carbon index 17de669a6cf9..a7ac5defc592 100644 --- a/toolchain/check/testdata/return/fail_value_missing.carbon +++ b/toolchain/check/testdata/return/fail_value_missing.carbon @@ -67,7 +67,5 @@ fn Main() -> i32 { // CHECK:STDOUT: fn @Main() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_var_in_type.carbon b/toolchain/check/testdata/return/fail_var_in_type.carbon index b919648b3de9..b2549cc28dbe 100644 --- a/toolchain/check/testdata/return/fail_var_in_type.carbon +++ b/toolchain/check/testdata/return/fail_var_in_type.carbon @@ -82,8 +82,6 @@ fn Six() -> x { return 6; } // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -94,7 +92,5 @@ fn Six() -> x { return 6; } // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%i32) [concrete = constants.%i32] // CHECK:STDOUT: assign file.%x.var, %type.as.Copy.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/import_convert_function.carbon b/toolchain/check/testdata/return/import_convert_function.carbon index e61cf57bcc1a..279a6f1d1eeb 100644 --- a/toolchain/check/testdata/return/import_convert_function.carbon +++ b/toolchain/check/testdata/return/import_convert_function.carbon @@ -611,8 +611,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc6_40.8: init %D to %return.param = class_init (%.loc6_40.4, %.loc6_40.7) [concrete = constants.%D.val] // CHECK:STDOUT: %.loc6_41: init %D = converted %.loc6_40.1, %.loc6_40.8 [concrete = constants.%D.val] // CHECK:STDOUT: return %.loc6_41 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc8(%self.param: %C.771) -> out %return.param: %D { @@ -621,8 +619,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc8_62.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc8_62.1 = call %Make.ref() // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc9(%self.param: %C.83b) -> out %return.param: %D { @@ -631,8 +627,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc9_62.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc9_62.1 = call %Make.ref() // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc10(%self.param: %C.5ce) -> out %return.param: %D { @@ -641,8 +635,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc10_62.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc10_62.1 = call %Make.ref() // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc11(%self.param: %C.b3e) -> out %return.param: %D { @@ -651,8 +643,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc11_62.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc11_62.1 = call %Make.ref() // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc12(%self.param: %C.8ee) -> out %return.param: %D { @@ -661,8 +651,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc12_62.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc12_62.1 = call %Make.ref() // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc13(%self.param: %C.5c1) -> out %return.param: %D { @@ -671,8 +659,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc13_62.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc13_62.1 = call %Make.ref() // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc14(%self.param: %C.57b) -> out %return.param: %D { @@ -681,8 +667,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc14_62.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc14_62.1 = call %Make.ref() // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc15(%self.param: %C.b0a) -> out %return.param: %D { @@ -691,8 +675,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %.loc15_62.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc15_62.1 = call %Make.ref() // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%N.37f) { @@ -1381,8 +1363,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %Destroy.Op.call.loc8_26.8: init %empty_tuple.type = call constants.%Destroy.Op.bound.d6e(constants.%.027) // CHECK:STDOUT: %Destroy.Op.call.loc7_26.9: init %empty_tuple.type = call constants.%Destroy.Op.bound.234(constants.%.de3) // CHECK:STDOUT: return %Make.call to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.1 [from "library.carbon"]; @@ -1392,8 +1372,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: fn @Destroy.Op.loc7_26.2(%self.param: ref %C.771) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.2 [from "library.carbon"]; @@ -1401,8 +1379,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: fn @Destroy.Op.loc8(%self.param: ref %C.83b) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.3 [from "library.carbon"]; @@ -1410,8 +1386,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: fn @Destroy.Op.loc9(%self.param: ref %C.5ce) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.4 [from "library.carbon"]; @@ -1419,8 +1393,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %C.b3e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.5 [from "library.carbon"]; @@ -1428,8 +1400,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: fn @Destroy.Op.loc11(%self.param: ref %C.8ee) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.6 [from "library.carbon"]; @@ -1437,8 +1407,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: fn @Destroy.Op.loc12(%self.param: ref %C.5c1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.7 [from "library.carbon"]; @@ -1446,8 +1414,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: fn @Destroy.Op.loc13(%self.param: ref %C.57b) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.8 [from "library.carbon"]; @@ -1455,8 +1421,6 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: fn @Destroy.Op.loc14(%self.param: ref %C.b0a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Make [from "library.carbon"]; diff --git a/toolchain/check/testdata/return/missing_return_no_return_type.carbon b/toolchain/check/testdata/return/missing_return_no_return_type.carbon index 7fe1ac590306..938880b1c44e 100644 --- a/toolchain/check/testdata/return/missing_return_no_return_type.carbon +++ b/toolchain/check/testdata/return/missing_return_no_return_type.carbon @@ -41,7 +41,5 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/no_value.carbon b/toolchain/check/testdata/return/no_value.carbon index 6ac513e00487..03814de10364 100644 --- a/toolchain/check/testdata/return/no_value.carbon +++ b/toolchain/check/testdata/return/no_value.carbon @@ -42,7 +42,5 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/returned_var.carbon b/toolchain/check/testdata/return/returned_var.carbon index 132688f0a8c9..4b64f02cae8b 100644 --- a/toolchain/check/testdata/return/returned_var.carbon +++ b/toolchain/check/testdata/return/returned_var.carbon @@ -177,8 +177,6 @@ fn G() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %.loc21_22: %C = acquire_value %result // CHECK:STDOUT: return %.loc21_22 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { @@ -202,8 +200,6 @@ fn G() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %result.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%result.var) // CHECK:STDOUT: return %.loc26_22 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_12.1(%self.param: ref %i32.builtin) = "no_op"; @@ -211,7 +207,5 @@ fn G() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc26_12.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/returned_var_scope.carbon b/toolchain/check/testdata/return/returned_var_scope.carbon index 58d90d964f6a..59b7df6f4470 100644 --- a/toolchain/check/testdata/return/returned_var_scope.carbon +++ b/toolchain/check/testdata/return/returned_var_scope.carbon @@ -189,8 +189,6 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %v.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc17: init %empty_tuple.type = call %Destroy.Op.bound.loc17(%v.var) // CHECK:STDOUT: return %.loc22 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc20_14.1(%self.param: ref %i32.builtin) = "no_op"; @@ -198,8 +196,6 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc20_14.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @EnclosingButAfter(%b.param: bool) -> out %return.param: %i32 { @@ -250,7 +246,5 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: %Destroy.Op.bound.loc27_14.2: = bound_method %v.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc27_14.2: init %empty_tuple.type = call %Destroy.Op.bound.loc27_14.2(%v.var) // CHECK:STDOUT: return %.loc30_17 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/struct.carbon b/toolchain/check/testdata/return/struct.carbon index d998772cfe5e..b80e7c4735d6 100644 --- a/toolchain/check/testdata/return/struct.carbon +++ b/toolchain/check/testdata/return/struct.carbon @@ -96,7 +96,5 @@ fn Main() -> {.a: i32} { // CHECK:STDOUT: %.loc16_17.3: init %struct_type.a.a92 = struct_init (%.loc16_17.2) [concrete = constants.%struct.159] // CHECK:STDOUT: %.loc16_18: init %struct_type.a.a92 = converted %.loc16_17.1, %.loc16_17.3 [concrete = constants.%struct.159] // CHECK:STDOUT: return %.loc16_18 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/tuple.carbon b/toolchain/check/testdata/return/tuple.carbon index 662db5b5d57e..f8ea0f6d1dad 100644 --- a/toolchain/check/testdata/return/tuple.carbon +++ b/toolchain/check/testdata/return/tuple.carbon @@ -116,7 +116,5 @@ fn Main() -> (i32, i32) { // CHECK:STDOUT: %.loc17_17.6: init %tuple.type.e55 to %return.param = tuple_init (%.loc17_17.3, %.loc17_17.5) [concrete = constants.%tuple.4fd] // CHECK:STDOUT: %.loc17_18: init %tuple.type.e55 = converted %.loc17_17.1, %.loc17_17.6 [concrete = constants.%tuple.4fd] // CHECK:STDOUT: return %.loc17_18 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/value.carbon b/toolchain/check/testdata/return/value.carbon index 9e0954654a3e..73a7c4d78623 100644 --- a/toolchain/check/testdata/return/value.carbon +++ b/toolchain/check/testdata/return/value.carbon @@ -88,7 +88,5 @@ fn Main() -> i32 { // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_11.2(%int_0) [concrete = constants.%int_0.3c0] // CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.3c0] // CHECK:STDOUT: return %.loc16 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/empty.carbon b/toolchain/check/testdata/struct/empty.carbon index 3e624afb1dcf..e0246375f734 100644 --- a/toolchain/check/testdata/struct/empty.carbon +++ b/toolchain/check/testdata/struct/empty.carbon @@ -65,7 +65,5 @@ var y: {} = x; // CHECK:STDOUT: %.loc16_1: init %empty_struct_type = converted %x.ref, %.loc16_13 [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%y.var, %.loc16_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_access_into_invalid.carbon b/toolchain/check/testdata/struct/fail_access_into_invalid.carbon index fc20fe4c46bb..bf66cf63435f 100644 --- a/toolchain/check/testdata/struct/fail_access_into_invalid.carbon +++ b/toolchain/check/testdata/struct/fail_access_into_invalid.carbon @@ -48,7 +48,5 @@ fn F() { a.b; } // CHECK:STDOUT: %a.ref: = name_ref a, [concrete = ] // CHECK:STDOUT: %b.ref: = name_ref b, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_assign_empty.carbon b/toolchain/check/testdata/struct/fail_assign_empty.carbon index 827ccaa0b4db..c82d2c0a2859 100644 --- a/toolchain/check/testdata/struct/fail_assign_empty.carbon +++ b/toolchain/check/testdata/struct/fail_assign_empty.carbon @@ -65,7 +65,5 @@ var x: {.a: i32} = {}; // CHECK:STDOUT: %.loc19: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_assign_nested.carbon b/toolchain/check/testdata/struct/fail_assign_nested.carbon index 4b68e3d6d079..3bf27ca49602 100644 --- a/toolchain/check/testdata/struct/fail_assign_nested.carbon +++ b/toolchain/check/testdata/struct/fail_assign_nested.carbon @@ -54,7 +54,5 @@ var x: {.a: {}} = {.b = {}}; // CHECK:STDOUT: %.loc19_27: %struct_type.b.347 = struct_literal (%.loc19_26) [concrete = constants.%struct] // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_assign_to_empty.carbon b/toolchain/check/testdata/struct/fail_assign_to_empty.carbon index 04967a7430c8..392753a837b5 100644 --- a/toolchain/check/testdata/struct/fail_assign_to_empty.carbon +++ b/toolchain/check/testdata/struct/fail_assign_to_empty.carbon @@ -62,7 +62,5 @@ var x: {} = {.a = 1}; // CHECK:STDOUT: %.loc19: %struct_type.a = struct_literal (%int_1) [concrete = constants.%struct] // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_duplicate_name.carbon b/toolchain/check/testdata/struct/fail_duplicate_name.carbon index d083f4dbdaf0..5f7d88073ddf 100644 --- a/toolchain/check/testdata/struct/fail_duplicate_name.carbon +++ b/toolchain/check/testdata/struct/fail_duplicate_name.carbon @@ -165,7 +165,5 @@ var y: {.b: i32, .c: i32} = {.b = 3, .b = 4}; // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] // CHECK:STDOUT: assign file.%y.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_field_name_mismatch.carbon b/toolchain/check/testdata/struct/fail_field_name_mismatch.carbon index e875ecb39017..aa389fcfe184 100644 --- a/toolchain/check/testdata/struct/fail_field_name_mismatch.carbon +++ b/toolchain/check/testdata/struct/fail_field_name_mismatch.carbon @@ -188,7 +188,5 @@ var y: {.b: i32} = x; // CHECK:STDOUT: %x.ref: ref %struct_type.a.a92 = name_ref x, file.%x [concrete = file.%x.var] // CHECK:STDOUT: assign file.%y.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_field_type_mismatch.carbon b/toolchain/check/testdata/struct/fail_field_type_mismatch.carbon index 353f93c691fd..816bf6f20ddd 100644 --- a/toolchain/check/testdata/struct/fail_field_type_mismatch.carbon +++ b/toolchain/check/testdata/struct/fail_field_type_mismatch.carbon @@ -67,7 +67,5 @@ var x: {.a: i32} = {.b = 1.0}; // CHECK:STDOUT: %.loc19: %struct_type.b = struct_literal (%float) [concrete = constants.%struct] // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_member_access_type.carbon b/toolchain/check/testdata/struct/fail_member_access_type.carbon index fa9ed20a2978..d0262b2bcc11 100644 --- a/toolchain/check/testdata/struct/fail_member_access_type.carbon +++ b/toolchain/check/testdata/struct/fail_member_access_type.carbon @@ -116,7 +116,5 @@ var y: i32 = x.b; // CHECK:STDOUT: %x.ref: ref %struct_type.a.752 = name_ref x, file.%x [concrete = file.%x.var] // CHECK:STDOUT: assign file.%y.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_member_of_function.carbon b/toolchain/check/testdata/struct/fail_member_of_function.carbon index b8b98226b9b2..f0161460999a 100644 --- a/toolchain/check/testdata/struct/fail_member_of_function.carbon +++ b/toolchain/check/testdata/struct/fail_member_of_function.carbon @@ -48,7 +48,5 @@ fn A() { // CHECK:STDOUT: %A.ref: %A.type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %y.ref: = name_ref y, [concrete = ] // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_nested_incomplete.carbon b/toolchain/check/testdata/struct/fail_nested_incomplete.carbon index 881cf8967ce6..7f66f7572498 100644 --- a/toolchain/check/testdata/struct/fail_nested_incomplete.carbon +++ b/toolchain/check/testdata/struct/fail_nested_incomplete.carbon @@ -75,7 +75,5 @@ var p: Incomplete* = &s.a; // CHECK:STDOUT: %addr: = addr_of %a.ref [concrete = ] // CHECK:STDOUT: assign file.%p.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_non_member_access.carbon b/toolchain/check/testdata/struct/fail_non_member_access.carbon index d5bcbe0595eb..47d189488e42 100644 --- a/toolchain/check/testdata/struct/fail_non_member_access.carbon +++ b/toolchain/check/testdata/struct/fail_non_member_access.carbon @@ -110,7 +110,5 @@ var y: i32 = x.b; // CHECK:STDOUT: %x.ref: ref %struct_type.a.a92 = name_ref x, file.%x [concrete = file.%x.var] // CHECK:STDOUT: assign file.%y.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_too_few_values.carbon b/toolchain/check/testdata/struct/fail_too_few_values.carbon index 60a974f78b58..9f40f4876e51 100644 --- a/toolchain/check/testdata/struct/fail_too_few_values.carbon +++ b/toolchain/check/testdata/struct/fail_too_few_values.carbon @@ -97,7 +97,5 @@ var x: {.a: i32, .b: i32} = {.a = 1}; // CHECK:STDOUT: %.loc19_36.4: init %i32 to %.loc19_36.3 = in_place_init %.loc19_36.2 [concrete = constants.%int_1.0c6] // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_type_assign.carbon b/toolchain/check/testdata/struct/fail_type_assign.carbon index 329cdb3d0405..051246e5c1cf 100644 --- a/toolchain/check/testdata/struct/fail_type_assign.carbon +++ b/toolchain/check/testdata/struct/fail_type_assign.carbon @@ -72,7 +72,5 @@ var x: {.a: i32} = {.a: i32}; // CHECK:STDOUT: %.loc22: %struct_type.a = converted %struct_type.a, [concrete = ] // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_value_as_type.carbon b/toolchain/check/testdata/struct/fail_value_as_type.carbon index 452dbbd39787..35da61aada72 100644 --- a/toolchain/check/testdata/struct/fail_value_as_type.carbon +++ b/toolchain/check/testdata/struct/fail_value_as_type.carbon @@ -63,7 +63,5 @@ var x: {.a = 1}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/import.carbon b/toolchain/check/testdata/struct/import.carbon index f0c58a89ab6c..2881d65f174a 100644 --- a/toolchain/check/testdata/struct/import.carbon +++ b/toolchain/check/testdata/struct/import.carbon @@ -280,8 +280,6 @@ fn F() -> {.x: i32} { // CHECK:STDOUT: %F.call: init %C.8d3 to %.loc7 = call %F.ref() // CHECK:STDOUT: assign file.%c.var, %F.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_symbolic_decl.carbon @@ -344,7 +342,5 @@ fn F() -> {.x: i32} { // CHECK:STDOUT: %.loc7_18.3: init %struct_type.x = struct_init (%Int.as.Copy.impl.Op.call) [concrete = constants.%struct] // CHECK:STDOUT: %.loc7_24: init %struct_type.x = converted %impl.elem0.loc7_18.1, %.loc7_18.3 [concrete = constants.%struct] // CHECK:STDOUT: return %.loc7_24 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/literal_member_access.carbon b/toolchain/check/testdata/struct/literal_member_access.carbon index 6e90a7e0a36c..de0f85b8d2fb 100644 --- a/toolchain/check/testdata/struct/literal_member_access.carbon +++ b/toolchain/check/testdata/struct/literal_member_access.carbon @@ -135,8 +135,6 @@ fn F() -> i32 { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc18_26.2, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc18_26.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_26.1(%self.param: ref %i32.builtin) = "no_op"; @@ -144,14 +142,10 @@ fn F() -> i32 { // CHECK:STDOUT: fn @Destroy.Op.loc18_26.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_26.3(%self.param: ref %struct_type.x.y.z) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/member_access.carbon b/toolchain/check/testdata/struct/member_access.carbon index 3459f21dc0aa..2b0b10d3a786 100644 --- a/toolchain/check/testdata/struct/member_access.carbon +++ b/toolchain/check/testdata/struct/member_access.carbon @@ -183,7 +183,5 @@ var z: i32 = y; // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc17: init %i32 = call %bound_method.loc17_14.2(%.loc17) // CHECK:STDOUT: assign file.%z.var, %Int.as.Copy.impl.Op.call.loc17 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/nested_struct_in_place.carbon b/toolchain/check/testdata/struct/nested_struct_in_place.carbon index db1e738b2b88..e141bb5998bb 100644 --- a/toolchain/check/testdata/struct/nested_struct_in_place.carbon +++ b/toolchain/check/testdata/struct/nested_struct_in_place.carbon @@ -117,8 +117,6 @@ fn G() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -126,21 +124,15 @@ fn G() { // CHECK:STDOUT: fn @Destroy.Op.loc18_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %tuple.type.555) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.4(%self.param: ref %struct_type.a.b.2a0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/one_entry.carbon b/toolchain/check/testdata/struct/one_entry.carbon index 69f2af70c902..f0c95e213353 100644 --- a/toolchain/check/testdata/struct/one_entry.carbon +++ b/toolchain/check/testdata/struct/one_entry.carbon @@ -133,7 +133,5 @@ var y: {.a: i32} = x; // CHECK:STDOUT: %.loc16_1: init %struct_type.a.a92 = converted %x.ref, %.loc16_20.3 // CHECK:STDOUT: assign file.%y.var, %.loc16_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/partially_const.carbon b/toolchain/check/testdata/struct/partially_const.carbon index 8bd162755ec7..e84fb8aa0058 100644 --- a/toolchain/check/testdata/struct/partially_const.carbon +++ b/toolchain/check/testdata/struct/partially_const.carbon @@ -138,7 +138,5 @@ fn Make(n: i32) -> {.a: i32, .b: i32, .c: i32} { // CHECK:STDOUT: %.loc16_33.10: init %struct_type.a.b.c.fde to %return.param = struct_init (%.loc16_33.4, %.loc16_33.6, %.loc16_33.9) // CHECK:STDOUT: %.loc16_34: init %struct_type.a.b.c.fde = converted %.loc16_33.1, %.loc16_33.10 // CHECK:STDOUT: return %.loc16_34 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/reorder_fields.carbon b/toolchain/check/testdata/struct/reorder_fields.carbon index af27abd8d75a..d86a961442c8 100644 --- a/toolchain/check/testdata/struct/reorder_fields.carbon +++ b/toolchain/check/testdata/struct/reorder_fields.carbon @@ -193,7 +193,5 @@ fn F() -> {.a: i32, .b: f64} { // CHECK:STDOUT: %.loc21_10.7: init %struct_type.a.b to %return.param = struct_init (%.loc21_10.3, %.loc21_10.6) // CHECK:STDOUT: %.loc21_11: init %struct_type.a.b = converted %y.ref, %.loc21_10.7 // CHECK:STDOUT: return %.loc21_11 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/tuple_as_element.carbon b/toolchain/check/testdata/struct/tuple_as_element.carbon index 4e231c0dcb65..0a4bbb8186ca 100644 --- a/toolchain/check/testdata/struct/tuple_as_element.carbon +++ b/toolchain/check/testdata/struct/tuple_as_element.carbon @@ -181,7 +181,5 @@ var y: {.a: i32, .b: (i32,)} = x; // CHECK:STDOUT: %.loc16_1: init %struct_type.a.b.388 = converted %x.ref, %.loc16_32.11 // CHECK:STDOUT: assign file.%y.var, %.loc16_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/two_entries.carbon b/toolchain/check/testdata/struct/two_entries.carbon index caadcddc1c9e..7a35d968e465 100644 --- a/toolchain/check/testdata/struct/two_entries.carbon +++ b/toolchain/check/testdata/struct/two_entries.carbon @@ -209,7 +209,5 @@ var y: {.a: i32, .b: i32} = x; // CHECK:STDOUT: %.loc19_1: init %struct_type.a.b.b4c = converted %x.ref, %.loc19_29.9 // CHECK:STDOUT: assign file.%y.var, %.loc19_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/tuple/basics.carbon b/toolchain/check/testdata/tuple/basics.carbon index 9860aaa61cb1..49f04a54e305 100644 --- a/toolchain/check/testdata/tuple/basics.carbon +++ b/toolchain/check/testdata/tuple/basics.carbon @@ -94,8 +94,6 @@ var y: ((), ()) = x; // CHECK:STDOUT: %.loc5_1: init %empty_tuple.type = converted %x.ref, %.loc5_13 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%y.var, %.loc5_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nested_tuple.carbon @@ -163,8 +161,6 @@ var y: ((), ()) = x; // CHECK:STDOUT: %.loc4_1: init %tuple.type.6e8 = converted %.loc4_38.1, %.loc4_38.5 [concrete = constants.%tuple.0ca] // CHECK:STDOUT: assign file.%x.var, %.loc4_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- one_element.carbon @@ -229,8 +225,6 @@ var y: ((), ()) = x; // CHECK:STDOUT: %.loc5_1: init %tuple.type = converted %x.ref, %.loc5_16.3 [concrete = constants.%tuple] // CHECK:STDOUT: assign file.%y.var, %.loc5_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- two_elements.carbon @@ -349,7 +343,5 @@ var y: ((), ()) = x; // CHECK:STDOUT: %.loc8_1: init %tuple.type = converted %x.ref, %.loc8_19.7 [concrete = constants.%tuple] // CHECK:STDOUT: assign file.%y.var, %.loc8_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/tuple/element_access.carbon b/toolchain/check/testdata/tuple/element_access.carbon index 9cbca559e210..ab15d6361c3c 100644 --- a/toolchain/check/testdata/tuple/element_access.carbon +++ b/toolchain/check/testdata/tuple/element_access.carbon @@ -254,8 +254,6 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6: init %i32 = call %bound_method.loc6_15.2(%.loc6) // CHECK:STDOUT: assign file.%c.var, %Int.as.Copy.impl.Op.call.loc6 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- index_not_literal.carbon @@ -431,8 +429,6 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc7: init %i32 = call %bound_method.loc7_15.2(%.loc7_15) // CHECK:STDOUT: assign file.%d.var, %Int.as.Copy.impl.Op.call.loc7 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- return_value_access.carbon @@ -476,7 +472,5 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %tuple.elem0, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc7_13.2(%tuple.elem0) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/tuple/import.carbon b/toolchain/check/testdata/tuple/import.carbon index 3acc189137e0..b67aff7272e6 100644 --- a/toolchain/check/testdata/tuple/import.carbon +++ b/toolchain/check/testdata/tuple/import.carbon @@ -310,8 +310,6 @@ fn F() -> (i32,) { // CHECK:STDOUT: %F.call: init %C.372 to %.loc7 = call %F.ref() // CHECK:STDOUT: assign file.%c.var, %F.call // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_symbolic_decl.carbon @@ -374,7 +372,5 @@ fn F() -> (i32,) { // CHECK:STDOUT: %.loc7_18.2: init %tuple.type.a8a = tuple_init (%Int.as.Copy.impl.Op.call) [concrete = constants.%tuple.a1e] // CHECK:STDOUT: %.loc7_24: init %tuple.type.a8a = converted %impl.elem0.loc7_18.1, %.loc7_18.2 [concrete = constants.%tuple.a1e] // CHECK:STDOUT: return %.loc7_24 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/tuple/in_place_tuple_init.carbon b/toolchain/check/testdata/tuple/in_place_tuple_init.carbon index f050d82fa6a5..4c9bf426bd96 100644 --- a/toolchain/check/testdata/tuple/in_place_tuple_init.carbon +++ b/toolchain/check/testdata/tuple/in_place_tuple_init.carbon @@ -113,8 +113,6 @@ fn H() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %F.call.loc9 to %return.param -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -122,15 +120,11 @@ fn H() { // CHECK:STDOUT: fn @Destroy.Op.loc7_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %tuple.type.e55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() -> out %return.param: %i32 { @@ -150,8 +144,6 @@ fn H() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc15_12.2, constants.%Destroy.Op.1a2547.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc15_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nested_tuple_in_place.carbon @@ -244,8 +236,6 @@ fn H() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.1(%self.param: ref %i32.builtin) = "no_op"; @@ -253,22 +243,16 @@ fn H() { // CHECK:STDOUT: fn @Destroy.Op.loc7_3.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %tuple.type.555) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.4(%self.param: ref %tuple.type.015) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { @@ -318,14 +302,10 @@ fn H() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1a2547.5 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13(%self.param: ref %tuple.type.b7e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/tuple/tuple_pattern.carbon b/toolchain/check/testdata/tuple/tuple_pattern.carbon index 30feee624a99..8f99d0fbda81 100644 --- a/toolchain/check/testdata/tuple/tuple_pattern.carbon +++ b/toolchain/check/testdata/tuple/tuple_pattern.carbon @@ -215,8 +215,6 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %.var.loc7, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%.var.loc7) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -224,8 +222,6 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %tuple.type.b6b) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- variable.carbon @@ -327,8 +323,6 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %Destroy.Op.bound.loc6: = bound_method %tuple.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call.loc6: init %empty_tuple.type = call %Destroy.Op.bound.loc6(%tuple.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -336,8 +330,6 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: fn @Destroy.Op.loc7_3.2(%self.param: ref %tuple.type.b6b) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { @@ -399,8 +391,6 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { @@ -431,8 +421,6 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nested.carbon @@ -490,8 +478,6 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %.loc6_50: %pattern_type.361 = tuple_pattern (%x.patt, %.loc6_49) [concrete = constants.%.1e3] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- package_scope.carbon @@ -536,7 +522,5 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %.loc5_28: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc5_29: %tuple.type = tuple_literal (%.loc5_24, %.loc5_28) [concrete = constants.%tuple] // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/export_name.carbon b/toolchain/check/testdata/var/export_name.carbon index 54f24316b1f0..c64b9b3999a4 100644 --- a/toolchain/check/testdata/var/export_name.carbon +++ b/toolchain/check/testdata/var/export_name.carbon @@ -100,8 +100,6 @@ var w: () = v; // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %empty_tuple.type = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%v.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export.carbon @@ -180,7 +178,5 @@ var w: () = v; // CHECK:STDOUT: %.loc6_1: init %empty_tuple.type = converted %v.ref, %.loc6_13 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%w.var, %.loc6_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/fail_duplicate_decl.carbon b/toolchain/check/testdata/var/fail_duplicate_decl.carbon index 77869281733c..482178376888 100644 --- a/toolchain/check/testdata/var/fail_duplicate_decl.carbon +++ b/toolchain/check/testdata/var/fail_duplicate_decl.carbon @@ -96,8 +96,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound.loc3: = bound_method %x.var.loc3, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc3: init %empty_tuple.type = call %Destroy.Op.bound.loc3(%x.var.loc3) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/var/fail_init_type_mismatch.carbon b/toolchain/check/testdata/var/fail_init_type_mismatch.carbon index a1a902ee903b..ad704ba32861 100644 --- a/toolchain/check/testdata/var/fail_init_type_mismatch.carbon +++ b/toolchain/check/testdata/var/fail_init_type_mismatch.carbon @@ -68,7 +68,5 @@ var x: {} = (); // CHECK:STDOUT: %.loc22_1: %empty_struct_type = converted %.loc22_14, [concrete = ] // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/fail_init_with_self.carbon b/toolchain/check/testdata/var/fail_init_with_self.carbon index c8986fa5f0f3..ce7bf45e44cc 100644 --- a/toolchain/check/testdata/var/fail_init_with_self.carbon +++ b/toolchain/check/testdata/var/fail_init_with_self.carbon @@ -79,8 +79,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/var/fail_storage_is_literal.carbon b/toolchain/check/testdata/var/fail_storage_is_literal.carbon index f07a54b94508..b7594124c56f 100644 --- a/toolchain/check/testdata/var/fail_storage_is_literal.carbon +++ b/toolchain/check/testdata/var/fail_storage_is_literal.carbon @@ -69,7 +69,5 @@ fn Main() { // CHECK:STDOUT: %x.var_patt: = var_pattern %x.patt [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/global_decl.carbon b/toolchain/check/testdata/var/global_decl.carbon index 9542f5209496..ed4c9ae36052 100644 --- a/toolchain/check/testdata/var/global_decl.carbon +++ b/toolchain/check/testdata/var/global_decl.carbon @@ -52,7 +52,5 @@ var x: {.v: ()} = {.v = ()}; // CHECK:STDOUT: %.loc14_1: init %struct_type.v = converted %.loc14_27.1, %.loc14_27.4 [concrete = constants.%struct] // CHECK:STDOUT: assign file.%x.var, %.loc14_1 // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/global_decl_import.carbon b/toolchain/check/testdata/var/global_decl_import.carbon index a77886e193f2..e59c22915c70 100644 --- a/toolchain/check/testdata/var/global_decl_import.carbon +++ b/toolchain/check/testdata/var/global_decl_import.carbon @@ -55,7 +55,5 @@ fn G() -> {.v: ()} { // CHECK:STDOUT: %.loc8_10.4: init %struct_type.v = struct_init (%.loc8_10.3) [concrete = constants.%struct] // CHECK:STDOUT: %.loc8_11: init %struct_type.v = converted %x.ref, %.loc8_10.4 [concrete = constants.%struct] // CHECK:STDOUT: return %.loc8_11 -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/global_decl_with_init.carbon b/toolchain/check/testdata/var/global_decl_with_init.carbon index e898849c8c3f..ef0852df36d7 100644 --- a/toolchain/check/testdata/var/global_decl_with_init.carbon +++ b/toolchain/check/testdata/var/global_decl_with_init.carbon @@ -71,8 +71,6 @@ var (x: (), y: ()) = ((), ()); // CHECK:STDOUT: %.loc4_1: init %struct_type.v = converted %.loc4_27.1, %.loc4_27.4 [concrete = constants.%struct] // CHECK:STDOUT: assign file.%x.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var_in_tuple.carbon @@ -125,8 +123,6 @@ var (x: (), y: ()) = ((), ()); // CHECK:STDOUT: %.loc4_13: init %empty_tuple.type = converted %.loc4_32.1, %.loc4_32.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%y.var, %.loc4_13 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- tuple_in_var.carbon @@ -189,7 +185,5 @@ var (x: (), y: ()) = ((), ()); // CHECK:STDOUT: %.loc4_1: init %tuple.type = converted %.loc4_29.1, %.loc4_29.6 [concrete = constants.%tuple] // CHECK:STDOUT: assign file.%.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/global_lookup.carbon b/toolchain/check/testdata/var/global_lookup.carbon index 7ce6c210c8bc..4117224a14e3 100644 --- a/toolchain/check/testdata/var/global_lookup.carbon +++ b/toolchain/check/testdata/var/global_lookup.carbon @@ -79,7 +79,5 @@ var y: {.v: ()} = x; // CHECK:STDOUT: %.loc16_1: init %struct_type.v = converted %x.ref, %.loc16_19.5 [concrete = constants.%struct] // CHECK:STDOUT: assign file.%y.var, %.loc16_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/global_lookup_in_scope.carbon b/toolchain/check/testdata/var/global_lookup_in_scope.carbon index f5f6384478ec..243a0b8d36cc 100644 --- a/toolchain/check/testdata/var/global_lookup_in_scope.carbon +++ b/toolchain/check/testdata/var/global_lookup_in_scope.carbon @@ -94,8 +94,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%y.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc5_3.1(%self.param: ref %empty_tuple.type) = "no_op"; @@ -103,8 +101,6 @@ fn Main() { // CHECK:STDOUT: fn @Destroy.Op.loc5_3.2(%self.param: ref %struct_type.v) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -118,7 +114,5 @@ fn Main() { // CHECK:STDOUT: %.loc2_1: init %struct_type.v = converted %.loc2_27.1, %.loc2_27.4 [concrete = constants.%struct] // CHECK:STDOUT: assign file.%x.var, %.loc2_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/import.carbon b/toolchain/check/testdata/var/import.carbon index 243ba19f1531..fedab88b414e 100644 --- a/toolchain/check/testdata/var/import.carbon +++ b/toolchain/check/testdata/var/import.carbon @@ -57,8 +57,6 @@ var a: () = a_ref; // CHECK:STDOUT: %.loc4_1: init %empty_tuple.type = converted %.loc4_18.1, %.loc4_18.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%a_ref.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- implicit.impl.carbon @@ -104,7 +102,5 @@ var a: () = a_ref; // CHECK:STDOUT: %.loc4_1: init %empty_tuple.type = converted %a_ref.ref, %.loc4_13 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%a.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/import_access.carbon b/toolchain/check/testdata/var/import_access.carbon index a220337c2343..6715bfdb933f 100644 --- a/toolchain/check/testdata/var/import_access.carbon +++ b/toolchain/check/testdata/var/import_access.carbon @@ -89,8 +89,6 @@ var v2: () = Test.v; // CHECK:STDOUT: %.loc4_9: init %empty_tuple.type = converted %.loc4_22.1, %.loc4_22.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%v.var, %.loc4_9 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- def.impl.carbon @@ -136,8 +134,6 @@ var v2: () = Test.v; // CHECK:STDOUT: %.loc4_1: init %empty_tuple.type = converted %v.ref, %.loc4_14 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%v2.var, %.loc4_1 // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_local_def.carbon @@ -173,8 +169,6 @@ var v2: () = Test.v; // CHECK:STDOUT: %v.ref: = name_ref v, [concrete = ] // CHECK:STDOUT: assign file.%v2.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_other_def.carbon @@ -218,7 +212,5 @@ var v2: () = Test.v; // CHECK:STDOUT: %v.ref: = name_ref v, [concrete = ] // CHECK:STDOUT: assign file.%v2.var, // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/initialization.carbon b/toolchain/check/testdata/var/initialization.carbon index aac0f8a91aa7..6fa47a1423ae 100644 --- a/toolchain/check/testdata/var/initialization.carbon +++ b/toolchain/check/testdata/var/initialization.carbon @@ -97,8 +97,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; @@ -146,8 +144,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/var/lookup.carbon b/toolchain/check/testdata/var/lookup.carbon index ce6333c3b1c9..eb414270ebc4 100644 --- a/toolchain/check/testdata/var/lookup.carbon +++ b/toolchain/check/testdata/var/lookup.carbon @@ -70,8 +70,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/var/shadowing.carbon b/toolchain/check/testdata/var/shadowing.carbon index 07fb66ae464d..86e506fc7184 100644 --- a/toolchain/check/testdata/var/shadowing.carbon +++ b/toolchain/check/testdata/var/shadowing.carbon @@ -137,8 +137,6 @@ fn Main() { // CHECK:STDOUT: %Destroy.Op.bound.loc5: = bound_method %NS.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc5: init %empty_tuple.type = call %Destroy.Op.bound.loc5(%NS.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; diff --git a/toolchain/check/testdata/var/var_pattern.carbon b/toolchain/check/testdata/var/var_pattern.carbon index 1af4a4b74c75..b469f94d44ac 100644 --- a/toolchain/check/testdata/var/var_pattern.carbon +++ b/toolchain/check/testdata/var/var_pattern.carbon @@ -229,8 +229,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; @@ -303,8 +301,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%y.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; @@ -385,8 +381,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc5_3.1(%self.param: ref %empty_tuple.type) = "no_op"; @@ -394,8 +388,6 @@ fn Call() { // CHECK:STDOUT: fn @Destroy.Op.loc5_3.2(%self.param: ref %tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- tuple_in_let_var.carbon @@ -474,8 +466,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc5_7.1(%self.param: ref %empty_tuple.type) = "no_op"; @@ -483,8 +473,6 @@ fn Call() { // CHECK:STDOUT: fn @Destroy.Op.loc5_7.2(%self.param: ref %tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- function.carbon @@ -579,8 +567,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %v.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%v.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; @@ -688,8 +674,6 @@ fn Call() { // CHECK:STDOUT: fn @F(%x.param: %empty_tuple.type, %y.param: ref %empty_tuple.type) [from "public_function.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_public_function.carbon @@ -763,8 +747,6 @@ fn Call() { // CHECK:STDOUT: %bound_method: = bound_method %y.var, %impl.elem0 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %bound_method(%y.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F [from "public_function.carbon"]; @@ -965,8 +947,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound.loc8_22: = bound_method %y.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc8_22: init %empty_tuple.type = call %Destroy.Op.bound.loc8_22(%y.var) // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %empty_tuple.type) = "no_op"; @@ -1012,8 +992,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_12.1(%self.param: ref %empty_struct_type) = "no_op"; @@ -1021,8 +999,6 @@ fn Call() { // CHECK:STDOUT: fn @Destroy.Op.loc7_12.2(%self.param: ref %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- var_param_from_int_literal.carbon @@ -1090,8 +1066,6 @@ fn Call() { // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.1a2547.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%n.var) // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc5_12.1(%self.param: ref %i32.builtin) = "no_op"; @@ -1099,7 +1073,5 @@ fn Call() { // CHECK:STDOUT: fn @Destroy.Op.loc5_12.2(%self.param: ref %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/where_expr/constraints.carbon b/toolchain/check/testdata/where_expr/constraints.carbon index 3abede4e8c35..b6746e13ba3d 100644 --- a/toolchain/check/testdata/where_expr/constraints.carbon +++ b/toolchain/check/testdata/where_expr/constraints.carbon @@ -635,7 +635,5 @@ fn F() { // CHECK:STDOUT: %x.patt: %pattern_type = value_binding_pattern x [concrete = constants.%x.patt] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/where_expr/dot_self_index.carbon b/toolchain/check/testdata/where_expr/dot_self_index.carbon index 685526488fca..b4ae417fe2f5 100644 --- a/toolchain/check/testdata/where_expr/dot_self_index.carbon +++ b/toolchain/check/testdata/where_expr/dot_self_index.carbon @@ -149,8 +149,6 @@ fn G(U: Empty(i32) where .A = i32*) { // CHECK:STDOUT: fn(%U.param: @H.%Empty_where.type (%Empty_where.type.696)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/where_expr/equal_rewrite.carbon b/toolchain/check/testdata/where_expr/equal_rewrite.carbon index 1704b766ee40..96a01157bba5 100644 --- a/toolchain/check/testdata/where_expr/equal_rewrite.carbon +++ b/toolchain/check/testdata/where_expr/equal_rewrite.carbon @@ -473,8 +473,6 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -488,8 +486,6 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -639,8 +635,6 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -654,8 +648,6 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/where_expr/non_generic.carbon b/toolchain/check/testdata/where_expr/non_generic.carbon index 58c7afdc1de0..96bc911bce49 100644 --- a/toolchain/check/testdata/where_expr/non_generic.carbon +++ b/toolchain/check/testdata/where_expr/non_generic.carbon @@ -71,7 +71,5 @@ fn NotGenericF(unused U: I where .T == i32) {} // CHECK:STDOUT: fn @NotGenericF(%U.param: %I_where.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/while/while.carbon b/toolchain/check/testdata/while/while.carbon index 654a3d508e26..12993561f1e9 100644 --- a/toolchain/check/testdata/while/while.carbon +++ b/toolchain/check/testdata/while/while.carbon @@ -162,8 +162,6 @@ fn While() { // CHECK:STDOUT: %H.ref: %H.type = name_ref H, file.%H.decl [concrete = constants.%H] // CHECK:STDOUT: %H.call: init %empty_tuple.type = call %H.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- unreachable_end.carbon @@ -208,8 +206,6 @@ fn While() { // CHECK:STDOUT: %H.ref: %H.type = name_ref H, file.%H.decl [concrete = constants.%H] // CHECK:STDOUT: %H.call: init %empty_tuple.type = call %H.ref() // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- break_continue.carbon @@ -328,7 +324,5 @@ fn While() { // CHECK:STDOUT: // CHECK:STDOUT: !while.done.loc14: // CHECK:STDOUT: return -// CHECK:STDOUT: -// CHECK:STDOUT: !observes: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/sem_ir/formatter.cpp b/toolchain/sem_ir/formatter.cpp index dcffaa7e0940..4655e8221b75 100644 --- a/toolchain/sem_ir/formatter.cpp +++ b/toolchain/sem_ir/formatter.cpp @@ -1510,11 +1510,12 @@ auto Formatter::FormatRequireImplsBlock(RequireImplsBlockId block_id) -> void { } auto Formatter::FormatObserveBlock(ObserveBlockId block_id) -> void { - IndentLabel(); - out() << "!observes:\n"; - if (!block_id.has_value()) { + if (!block_id.has_value() || block_id == ObserveBlockId::Empty) { return; } + + IndentLabel(); + out() << "!observes:\n"; for (auto observe_id : sem_ir_->observe_blocks().Get(block_id)) { Indent(); FormatArg(observe_id);