1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -S -passes=ipsccp | FileCheck %s
4 %struct.wobble = type { i32 }
5 %struct.zot = type { %struct.wobble, %struct.wobble, %struct.wobble }
7 declare dso_local fastcc float @bar(ptr noalias, <8 x i32>) unnamed_addr
9 define %struct.zot @widget(<8 x i32> %arg) local_unnamed_addr {
10 ; CHECK-LABEL: @widget(
12 ; CHECK-NEXT: ret [[STRUCT_ZOT:%.*]] undef
18 define void @baz(<8 x i32> %arg) local_unnamed_addr {
21 ; CHECK-NEXT: [[TMP:%.*]] = call [[STRUCT_ZOT:%.*]] @widget(<8 x i32> [[ARG:%.*]])
22 ; CHECK-NEXT: [[TMP1:%.*]] = extractvalue [[STRUCT_ZOT]] undef, 0, 0
23 ; CHECK-NEXT: ret void
26 %tmp = call %struct.zot @widget(<8 x i32> %arg)
27 %tmp1 = extractvalue %struct.zot %tmp, 0, 0