[cfe-dev] [RFC] MS-style inline assembly

Chad Rosier mcrosier at apple.com
Mon Aug 6 14:06:56 PDT 2012


On Aug 6, 2012, at 2:04 PM, João Matos wrote:

> I'm not sure we would want to store the MCInst(s) in the AST.  After we're done with semantic checking and we've created the IR representation (with inputs, outputs, clobbers, constraints, etc.), I don't think there's a reason for the MCInst(s) to persist.
> 
> I was assuming that MCInst would already provide a lot of the needed information, like operands and opcode information. Now that I think about it, we do want to have an higher-level information in the AST. For instance, pointers to the variable or label declarations referenced in the assembly code.

Right, I think we'll want to include things such as IdentifierInfo* and a few other things..

> 
> 
> -- 
> João Matos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120806/dd8fa160/attachment.html>


More information about the cfe-dev mailing list