Why two bits? Couldn't we say that there are two dialects, the default is ATT, and there is a bit to select the intel dialect?<div><br></div><div>Do you expect us to ever need to have the IR model more dialects?</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 2:18 PM, Chad Rosier <span dir="ltr"><<a href="mailto:mcrosier@apple.com" target="_blank">mcrosier@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ping.<br>
<div><div class="h5"><br>
On Aug 7, 2012, at 12:48 PM, Chad Rosier wrote:<br>
<br>
> All,<br>
> Following up on my previous post about MS-style inline assembly [1], the attached patches add support for a new inline assembly dialect function attribute.  This new attribute is intended to be used by the backend to determine how the inline asm string should be parsed/printed.  The llvm patch adds the attdialect and inteldialect attributes and also adds a test case to ensure the IR is correctly parsed, but there is no functional change at this time.  The clang patch adds the attdialect attribute to GNU-style inline assembly statements with a test case.  There was some discussion of adding an asmdialect attribute that accepted an optional argument (e.g., asmdialect "intel", asmdialect "att"), but this looks to add a great deal of complexity to the attribute handling with minimal benefit.<br>

><br>
> Chad<br>
><br>
> [1] <a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-August/052356.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-August/052356.html</a>)<br>
><br>
</div></div>> <inline-asm-attr-clang.txt><inline-asm-attr-llvm.txt>_______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>