<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 4, 2015 at 2:58 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@gmail.com" target="_blank">chandlerc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":foc" class="a3s" style="overflow:hidden">Author: chandlerc<br>
Date: Wed FebĀ  4 04:58:53 2015<br>
New Revision: 228135<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=228135&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=228135&view=rev</a><br>
Log:<br>
[x86] Give movss and movsd execution domains in the x86 backend.<br>
<br>
This associates movss and movsd with the packed single and packed double<br>
execution domains (resp.). While this is largely cosmetic, as we now<br>
don't have weird ping-pong-ing between single and double precision, it<br>
is also useful because it avoids the domain fixing algorithm from seeing<br>
domain breaks that don't actually exist. It will also be much more<br>
important if we have an execution domain default other than packed<br>
single, as that would cause us to mix movss and movsd with integer<br>
vector code on a regular basis, a very bad mixture.</div></blockquote></div><br>After writing this and looking at other patterns, I see elsewhere we use a 'let ExeDomain = ... in' clause handle this rather than threading it through the multiclasses.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Which is the preferred approach? I'm happy to revert this and go the other way. But I'd like to know which one is preferred, and why, or what criteria I should use to choose between them....</div></div>