1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

test that the 'ir' constraint works.

llvm-svn: 33646
This commit is contained in:
Chris Lattner 2007-01-29 23:55:20 +00:00
parent 171943e26e
commit 1800f109f8

View File

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