22 lines · plain
1; RUN: llc -mtriple=i386-apple-darwin11 -O2 < %s | FileCheck %s2 3%struct.I = type { ptr }4define x86_stdcallcc void @bar(ptr nocapture %this) ssp align 2 {5; CHECK-LABEL: bar:6; CHECK-NOT: jmp7; CHECK: retl $48entry:9 tail call void @foo()10 ret void11}12 13define x86_thiscallcc void @test2(ptr %this, i32 %a) {14; CHECK-LABEL: test2:15; CHECK: calll _foo16; CHECK: retl $417 tail call void @foo()18 ret void19}20 21declare void @foo()22