1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --scrub-attributes 2; RUN: opt -S -passes=attributor -attributor-disable=false -attributor-max-iterations-verify -attributor-max-iterations=1 < %s | FileCheck %s 3 4%struct.wobble = type { i32 } 5%struct.zot = type { %struct.wobble, %struct.wobble, %struct.wobble } 6 7declare dso_local fastcc float @bar(%struct.wobble* noalias, <8 x i32>) unnamed_addr 8 9define %struct.zot @widget(<8 x i32> %arg) local_unnamed_addr { 10; CHECK-LABEL: define {{[^@]+}}@widget 11; CHECK-SAME: (<8 x i32> [[ARG:%.*]]) local_unnamed_addr 12; CHECK-NEXT: bb: 13; CHECK-NEXT: ret [[STRUCT_ZOT:%.*]] undef 14; 15bb: 16 ret %struct.zot undef 17} 18 19define void @baz(<8 x i32> %arg) local_unnamed_addr { 20; CHECK-LABEL: define {{[^@]+}}@baz 21; CHECK-SAME: (<8 x i32> [[ARG:%.*]]) local_unnamed_addr 22; CHECK-NEXT: bb: 23; CHECK-NEXT: [[TMP1:%.*]] = extractvalue [[STRUCT_ZOT:%.*]] undef, 0, 0 24; CHECK-NEXT: ret void 25; 26bb: 27 %tmp = call %struct.zot @widget(<8 x i32> %arg) 28 %tmp1 = extractvalue %struct.zot %tmp, 0, 0 29 ret void 30} 31