blob: 65e66c7ef0610f1a80fe7c5b9d6b70d930a2142c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
; 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
}
|