diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-08 18:26:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-08 18:26:48 +0000 |
commit | 586e65357b40df07e0d9562955a7a332429f1a8a (patch) | |
tree | 9e25113d5e6652b2c0921e758e732a51ef1988aa /test/CodeGen/X86/inline-asm.ll | |
parent | cf752aa502a2ce6eaca9db4640171143c49e1733 (diff) | |
download | external_llvm-586e65357b40df07e0d9562955a7a332429f1a8a.zip external_llvm-586e65357b40df07e0d9562955a7a332429f1a8a.tar.gz external_llvm-586e65357b40df07e0d9562955a7a332429f1a8a.tar.bz2 |
Add new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/inline-asm.ll')
-rw-r--r-- | test/CodeGen/X86/inline-asm.ll | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/X86/inline-asm.ll b/test/CodeGen/X86/inline-asm.ll index de14509..a38596d 100644 --- a/test/CodeGen/X86/inline-asm.ll +++ b/test/CodeGen/X86/inline-asm.ll @@ -2,7 +2,13 @@ int %test1() { ; Dest is AX, dest type = i32. - %tmp4 = call int asm sideeffect "FROB %0", "={ax}"() + %tmp4 = call int asm sideeffect "FROB $0", "={ax}"() ret int %tmp4 } +void %test2(int %V) { + ; input is AX, in type = i32. + call void asm sideeffect "FROB $0", "{ax}"(int %V) + ret void +} + |