summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll
blob: e83e2e54e4556543db0d531057e32ba9710e1a75 (plain)
1
2
3
4
5
6
7
; RUN: llc < %s -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
  }