<div dir="ltr">Some more background: This list is used to check the clobber list, and since ms inline asm doesn't have explicit clobber lists, AsmParser::parseMSInlineAsm() adds all touched registers to the clobber list.<div>
<br></div><div>This change would also permit the segment registers in the clobber lists for gcc registers. A different fix would be to change parseMSInlineAsm() to not add segment registers as clobbers. rnk tells me he likes that approach better, so I'll do that instead.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 17, 2014 at 12:06 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Seems reasonable.<br>
<br>
-eric<br>
<div><div class="h5"><br>
On Thu, Jul 17, 2014 at 11:55 AM, Nico Weber <<a href="mailto:thakis@chromium.org">thakis@chromium.org</a>> wrote:<br>
> Hi,<br>
><br>
> the attached patch fixes PR20343 by adding the segment registers to the x86<br>
> register list in Targets.cpp.<br>
><br>
> Nico<br>
><br>
</div></div>> _______________________________________________<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>
</blockquote></div><br></div>