[LLVMdev] inline assembly

Chris Lattner sabre at nondot.org
Fri Aug 10 09:28:32 PDT 2007


On Fri, 10 Aug 2007, Florian Brandner wrote:
> AddInlineAsmOperands it seems to be something like: 'Code | (Size << 3)'
>
> with Code on of these values:
> 1 REGUSE
> 2 REGDEF
> 3 IMM
> 4 MEM/ADDR
>
> are there any other values? and would it be safe to change 4 to MEMUSE
> and add 5 (MEMDEF)? i do not know where these values are used (except
> for the ISelDAG and the AsmPrinter).

Those are the only places that use them and it should be safe to add new 
values.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list