diff options
Diffstat (limited to 'test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll')
-rw-r--r-- | test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll b/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll new file mode 100644 index 0000000..b1c86f4 --- /dev/null +++ b/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=x86 +; Test 'ri' constraint. + +define void @run_init_process() { + %tmp = call i32 asm sideeffect "push %ebx ; movl $2,%ebx ; int $$0x80 ; pop %ebx", "={ax},0,ri,{cx},{dx},~{dirflag},~{fpsr},~{flags},~{memory}"( i32 11, i32 0, i32 0, i32 0 ) + unreachable + } |