Mercurial > hg > CbC > CbC_llvm
annotate llvm/test/Feature/attributes.ll @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 1f2b6ac9f198 |
rev | line source |
---|---|
150 | 1 ; RUN: llvm-as < %s | llvm-dis > %t1.ll |
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll | |
3 ; RUN: diff %t1.ll %t2.ll | |
4 | |
5 @.str = private unnamed_addr constant [14 x i8] c"hello world!\0A\00", align 1 | |
6 | |
7 define void @foo() #0 { | |
8 entry: | |
9 %call = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i32 0, i32 0)) | |
10 ret void | |
11 } | |
12 | |
13 declare i32 @printf(i8*, ...) | |
14 | |
15 attributes #0 = { nounwind ssp uwtable } |