brintos

brintos / llvm-project-archived public Read only

0
0
Text · 758 B · f8a8891 Raw
32 lines · plain
1; RUN: opt < %s -passes=inline | llvm-dis2 3target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"4target triple = "i386-apple-darwin10.0"5 6define i32 @main(i32 %argc, ptr %argv) nounwind ssp {7entry:8  call fastcc void @c() nounwind9  unreachable10}11 12define internal fastcc void @a() nounwind ssp {13entry:14  %al = alloca [3 x i32], align 415  %0 = getelementptr inbounds [3 x i32], ptr %al, i32 0, i32 216 17  call fastcc void @c() nounwind18  unreachable19}20 21define internal fastcc void @b() nounwind ssp {22entry:23  tail call fastcc void @a() nounwind ssp24  unreachable25}26 27define internal fastcc void @c() nounwind ssp {28entry:29  call fastcc void @b() nounwind30  unreachable31}32