<div dir="ltr">I started going down the rabbit hole, and then retreated with what's there. I don't think there's all that much left to do, but IIRC I added MI verification for the functions that worked. This patch fixes some more tests, but I think no other tests started passing with just those fixes.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 28, 2013 at 11:55 AM, 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">Ah, I thought that it was already at that point. None of the smaller<br>
functions can be added now or just WIP and you'll add it later?<br>
<span class="HOEnZb"><font color="#888888"><br>
-eric<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, May 28, 2013 at 11:52 AM, JF Bastien <<a href="mailto:jfb@google.com">jfb@google.com</a>> wrote:<br>
> Agreed, it's on my list of things to do. It requires restricting definitions<br>
> according to uses, and sometimes inserting copies when use requirements<br>
> conflict. The tests should then pass MI verification.<br>
><br>
><br>
> On Tue, May 28, 2013 at 11:46 AM, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Seems like a good thing to do no?<br>
>><br>
>> -eric<br>
>><br>
>> On Tue, May 28, 2013 at 11:36 AM, JF Bastien <<a href="mailto:jfb@google.com">jfb@google.com</a>> wrote:<br>
>> > Add -verify-machineinstrs to the Thumb tests that don't have it in<br>
>> > test/CodeGen/ARM/fast-isel*.<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Tue, May 28, 2013 at 11:30 AM, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> LGTM. Testcase for where this showed up?<br>
>> >><br>
>> >> -eric<br>
>> >><br>
>> >> On Tue, May 28, 2013 at 10:43 AM, JF Bastien <<a href="mailto:jfb@google.com">jfb@google.com</a>> wrote:<br>
>> >> > Tidy up three places where the register class for ARM and Thumb<br>
>> >> > wasn't<br>
>> >> > restrictive enough:<br>
>> >> >  - No PC dest for reg-reg add/orr/sub.<br>
>> >> >  - No PC dest for shifts.<br>
>> >> >  - No PC or SP for Thumb2 reg-imm add.<br>
>> >> ><br>
>> >> > I encountered this while combining FastISel with<br>
>> >> > -verify-machineinstrs.<br>
>> >> > These instructions defined registers whose classes weren't<br>
>> >> > restrictive<br>
>> >> > enough, and the uses failed verification. They're also undefined in<br>
>> >> > the<br>
>> >> > ISA,<br>
>> >> > or would produce code that FastISel wouldn't want. This doesn't fix<br>
>> >> > the<br>
>> >> > register class narrowing issue (where uses should restrict<br>
>> >> > definitions),<br>
>> >> > and<br>
>> >> > isn't thorough, but it's a small step in the right direction.<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>
>> >> ><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>