mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
test that the 'ir' constraint works.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
29836c330f
commit
f6310ab771
7
test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll
Normal file
7
test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user