1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

new testcase

llvm-svn: 35317
This commit is contained in:
Chris Lattner 2007-03-25 01:44:40 +00:00
parent b5b291924a
commit 62598bf96c

View File

@ -0,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
}