1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/CodeGen/Generic/fastcall.ll
Rafael Espindola ce4f075afd Add testcase from bug 2770.
llvm-svn: 55897
2008-09-08 11:17:54 +00:00

15 lines
346 B
LLVM

; Test fastcc works. Test from bug 2770.
; RUN: llvm-as < %s | llc -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, i32* getelementptr (%struct.__gcov_var*
@__gcov_var,
i32 0, i32 0)
ret void
}