source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/Generic/fastcall.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 356 bytes
Line 
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, i32* getelementptr (%struct.__gcov_var, %struct.__gcov_var*
11@__gcov_var,
12i32 0, i32 0)
13        ret void
14}
Note: See TracBrowser for help on using the repository browser.