[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll

Chris Lattner sabre at nondot.org
Sat Mar 24 19:18:15 PDT 2007



Changes in directory llvm/test/CodeGen/X86:

2007-03-24-InlineAsmMultiRegConstraint.ll added (r1.1)
---
Log message:

new testcase


---
Diffs of the changes:  (+11 -0)

 2007-03-24-InlineAsmMultiRegConstraint.ll |   11 +++++++++++
 1 files changed, 11 insertions(+)


Index: llvm/test/CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll
diff -c /dev/null llvm/test/CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll:1.1
*** /dev/null	Sat Mar 24 21:18:08 2007
--- llvm/test/CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll	Sat Mar 24 21:17:58 2007
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc -march=x86
+ 
+ define i32 @test(i16 %tmp40414244) {
+   %tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 %tmp40414244 )
+   ret i32 %tmp48
+ }
+ 
+ define i32 @test2(i16 %tmp40414244) {
+   %tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 14 )
+   ret i32 %tmp48
+ }






More information about the llvm-commits mailing list