Mercurial > hg > CbC > CbC_llvm
comparison test/Assembler/2008-09-02-FunctionNotes.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 | 54457678186b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; Test function attributes | |
2 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s | |
3 | |
4 ; CHECK: define void @fn1() #0 | |
5 define void @fn1() alwaysinline { | |
6 ret void | |
7 } | |
8 | |
9 ; CHECK: define void @fn2() #1 | |
10 define void @fn2() noinline { | |
11 ret void | |
12 } | |
13 | |
14 ; CHECK: define void @fn3() | |
15 ; CHECK-NOT: define void @fn3() #{{.*}} | |
16 define void @fn3() { | |
17 ret void | |
18 } | |
19 | |
20 ; CHECK: attributes #0 = { alwaysinline } | |
21 ; CHECK: attributes #1 = { noinline } |