xref: /llvm-project/llvm/test/CodeGen/Generic/fastcall.ll (revision 0e8bd5a44a1bd8034706189b49a7a816c59304cd)
1; Test fastcc works. Test from bug 2770.
2; RUN: llc < %s -relocation-model=pic
3
4
5%struct.__gcov_var = type {  i32 }
6@__gcov_var = external global %struct.__gcov_var
7
8define fastcc void @gcov_read_words(i32 %words) {
9entry:
10        store i32 %words, ptr @__gcov_var
11        ret void
12}
13