view test/CodeGen/Generic/fastcall.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children afa8332a0e37
line wrap: on
line source

; 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, i32* getelementptr (%struct.__gcov_var* 
@__gcov_var,
i32 0, i32 0)
        ret void
}