zpu: managed to compile program that writes constant to global variable
[llvm/zpu.git] / test / CodeGen / X86 / 2007-01-29-InlineAsm-ir.ll
blobe83e2e54e4556543db0d531057e32ba9710e1a75
1 ; RUN: llc < %s -march=x86
2 ; Test 'ri' constraint.
4 define void @run_init_process() {
5           %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 )          
6           unreachable
7   }