clang - How to write the result of an inline assembly instruction to LLVM register? -
suppose i've instruction following:
%2 = call i32 asm sideeffect "addl %ebx,%eax;\0a", "={ax},{ax},{bx},~{dirflag},~{fpsr},~{flags}"(i32 %0, i32 %1) #2, !srcloc !1
now, i'd result of addl
being moved to, e.g., llvm register called %foo
.
how that?
Comments
Post a Comment