source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Assembler/2008-09-02-FunctionNotes.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: 441 bytes
Line 
1; Test function attributes
2; RUN: llvm-as < %s | llvm-dis | FileCheck %s
3; RUN: verify-uselistorder %s
4
5; CHECK: define void @fn1() #0
6define void @fn1() alwaysinline {
7  ret void
8}
9
10; CHECK: define void @fn2() #1
11define void @fn2() noinline {
12  ret void
13}
14
15; CHECK: define void @fn3()
16; CHECK-NOT: define void @fn3() #{{.*}}
17define void @fn3() {
18  ret void
19}
20
21; CHECK: attributes #0 = { alwaysinline }
22; CHECK: attributes #1 = { noinline }
Note: See TracBrowser for help on using the repository browser.