brintos

brintos / llvm-project-archived public Read only

0
0
Text · 588 B · 25b0d9c Raw
24 lines · plain
1; RUN: llc < %s -mtriple=i686-- -tailcallopt=false | FileCheck %s2 3	%struct.foo = type { [4 x i32] }4 5define fastcc void @bar(ptr noalias sret(%struct.foo) %agg.result) nounwind  {6entry:7	store i32 1, ptr %agg.result, align 88        ret void9}10; CHECK: bar11; CHECK: ret{{[^4]*$}}12 13@dst = external dso_local global i3214 15define void @foo() nounwind {16	%memtmp = alloca %struct.foo, align 417        call fastcc void @bar(ptr sret(%struct.foo) %memtmp ) nounwind18        %tmp6 = load i32, ptr %memtmp19        store i32 %tmp6, ptr @dst20        ret void21}22; CHECK: foo23; CHECK: ret{{[^4]*$}}24