1 ; RUN: llc < %s -mtriple=i686-- -tailcallopt=false | FileCheck %s
3 %struct.foo = type { [4 x i32] }
5 define fastcc void @bar(ptr noalias sret(%struct.foo) %agg.result) nounwind {
7 store i32 1, ptr %agg.result, align 8
11 ; CHECK: ret{{[^4]*$}}
13 @dst = external dso_local global i32
15 define void @foo() nounwind {
16 %memtmp = alloca %struct.foo, align 4
17 call fastcc void @bar(ptr sret(%struct.foo) %memtmp ) nounwind
18 %tmp6 = load i32, ptr %memtmp
19 store i32 %tmp6, ptr @dst
23 ; CHECK: ret{{[^4]*$}}