projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Testcase for P926
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
inline-asm.ll
1
; RUN: llvm-as < %s | llc -march=x86
2
3
int %test1() {
4
; Dest is AX, dest type = i32.
5
%tmp4 = call int asm sideeffect "FROB $0", "={ax}"()
6
ret int %tmp4
7
}
8
9
void %test2(int %V) {
10
; input is AX, in type = i32.
11
call void asm sideeffect "FROB $0", "{ax}"(int %V)
12
ret void
13
}
14