aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Generic/fastcall.ll
blob: c42099eccdf3074a1f382519642035e3e18159b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; Test fastcc works. Test from bug 2770.
; RUN: llc < %s -relocation-model=pic


%struct.__gcov_var = type {  i32 }
@__gcov_var = external global %struct.__gcov_var

define fastcc void @gcov_read_words(i32 %words) {
entry:
        store i32 %words, ptr @__gcov_var
        ret void
}