[LLVMdev] How to bind a register variable with a given general purpose register?

Anton Korobeynikov anton at korobeynikov.info
Mon Jan 4 04:00:51 PST 2010


Hello

> Is it a foolish method? Is there a better one? Please give me some guidance
Inline assembler is your friend. Also, do not forget to mark this
register as unallocable, so codegen won't use / clobber it.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list