<div dir="ltr">On Sat, Jul 5, 2014 at 4:57 PM, David Majnemer <span dir="ltr"><<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Awesome!<div><br></div><div>Does this also glue together consecutive __asm statements that aren't in a block?</div>
<div><br></div><div>Like:</div><div>__asm mov 1, eax</div><div>__asm add eax, ecx</div><div><br></div><div>
That should turn into a single inline assembly IR instruction.</div></blockquote><div><br></div><div>No, this patch doesn't change anything about single __asm statements. I can do that too if you want (it requires modifying the logic of the line end detection) but I prefer to do that separately if that's OK.<br>
<br></div><div>Cheers,<br>Ehsan<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div class="h5">On Saturday, July 5, 2014, Ehsan Akhgari <<a href="mailto:ehsan.akhgari@gmail.com" target="_blank">ehsan.akhgari@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi majnemer,<br>
<br>
This fixes <a href="http://llvm.org/PR20204" target="_blank">http://llvm.org/PR20204</a>.<br>
<br>
<a href="http://reviews.llvm.org/D4399" target="_blank">http://reviews.llvm.org/D4399</a><br>
<br>
Files:<br>
lib/Parse/ParseStmtAsm.cpp<br>
test/CodeGen/ms-inline-asm-64.c<br>
test/CodeGen/ms-inline-asm.c<br>
test/Parser/ms-inline-asm-nested-braces.c<br>
test/Parser/ms-inline-asm.c<br>
</blockquote></div></div></div>
</blockquote></div><br></div></div>