[LLVMdev] [PATCH] fix outs/ins of MOV16mr instruction (X86)

Jun Koi junkoi2004 at gmail.com
Fri Apr 3 23:10:57 PDT 2015


On Fri, Apr 3, 2015 at 1:28 AM, Tim Northover <t.p.northover at gmail.com>
wrote:

> > A question: I still dont really understand why & how LLVM uses these
> "outs"
> > & "ins" information from each instruction.
> > Any hint, please?
>
> It's not really necessary information for the assembler, but CodeGen
> uses it to track which registers are defined and used by each
> instruction. The "outs" get defined, and "ins" get used.
>

What does CodGen track these registers (defined & used) for?


Thanks,
Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150404/972d444c/attachment.html>


More information about the llvm-dev mailing list