[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll
Chris Lattner
sabre at nondot.org
Mon Jan 29 15:55:35 PST 2007
Changes in directory llvm/test/CodeGen/X86:
2007-01-29-InlineAsm-ir.ll added (r1.1)
---
Log message:
test that the 'ir' constraint works.
---
Diffs of the changes: (+7 -0)
2007-01-29-InlineAsm-ir.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll
diff -c /dev/null llvm/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll:1.1
*** /dev/null Mon Jan 29 17:55:30 2007
--- llvm/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll Mon Jan 29 17:55:20 2007
***************
*** 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
+ }
More information about the llvm-commits
mailing list