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

Chris Lattner sabre at nondot.org
Sat Mar 24 18:44:57 PDT 2007



Changes in directory llvm/test/CodeGen/X86:

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

new testcase


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

 2007-03-24-InlineAsmPModifier.ll |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/test/CodeGen/X86/2007-03-24-InlineAsmPModifier.ll
diff -c /dev/null llvm/test/CodeGen/X86/2007-03-24-InlineAsmPModifier.ll:1.1
*** /dev/null	Sat Mar 24 20:44:50 2007
--- llvm/test/CodeGen/X86/2007-03-24-InlineAsmPModifier.ll	Sat Mar 24 20:44:40 2007
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as < %s | llc -march=x86 | grep 'mov %gs:72, %eax'
+ target datalayout = "e-p:32:32"
+ target triple = "i686-apple-darwin9"
+ 
+ define void @test() {
+ 	%tmp1 = tail call i32* asm sideeffect "mov %gs:${1:P}, $0", "=r,i,~{dirflag},~{fpsr},~{flags}"( i32 72 )		; <%struct._pthread*> [#uses=1]
+ 	ret void
+ }
+ 
+ 






More information about the llvm-commits mailing list