<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 24, 2016 at 6:31 PM, Mehdi Amini <span dir="ltr"><<a href="mailto:mehdi.amini@apple.com" target="_blank">mehdi.amini@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br>
</span>My question was rather "if the canonicalization would be done on vector, would you have to handle all the variant of the comparison operators?"<br>
<span class=""></span></blockquote><div><br></div><div>Ah, I understand now. The answer would be 'no'. If we do the comparison canonicalization, we wouldn't have to change this <span class="im">InstCombineCasts function at all. <br><br></span>I actually did start on that path to extend the existing comparison canonicalization, but then I wondered why vectors were excluded. Then, I saw that it would probably be a bigger patch, and I would have no idea if it would harm other targets, so I opted for this patch instead. :)<br></div><div> </div></div></div></div>