1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -S < %s | FileCheck %s
4 ; This is an overloaded struct return, we should not try to update it to an
5 ; anonymous struct return.
9 define %ty @test(%ty %arg) {
11 ; CHECK-NEXT: [[COPY:%.*]] = call [[TY:%.*]] @llvm.ssa.copy.s_tys([[TY]] [[ARG:%.*]])
12 ; CHECK-NEXT: ret [[TY]] [[COPY]]
14 %copy = call %ty @llvm.ssa.copy.s_tys(%ty %arg)
18 declare %ty @llvm.ssa.copy.s_tys(%ty)