projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
print-int.ll
1
; RUN: llvm-as < %s | llc
2
3
%.str_1 = internal constant [4 x sbyte] c"%d\0A\00"
4
5
declare int %printf(sbyte*, ...)
6
7
int %main() {
8
%f = getelementptr [4 x sbyte]* %.str_1, long 0, long 0
9
%d = add int 0, 0
10
%tmp.0 = call int (sbyte*, ...)* %printf(sbyte* %f, int %d)
11
ret int 0
12
}
13