<p dir="ltr"><br>
On Jul 1, 2013 9:05 PM, "Lang Hames" <<a href="mailto:lhames@gmail.com">lhames@gmail.com</a>> wrote:<br>
><br>
> That would imply that PBQP was less than eternally perfect.<br>
><br>
> Actually we tend to test register allocators with the test suite, rather than regression tests.</p>
<p dir="ltr">Ah, right, the whole lack of backend modularity. Hopefully Dan or someone will figure out that machine IR serialization and we can then start getting some teat coverage.</p>
<p dir="ltr">> Of course we don't have a PBQP nightly tester either... I'll work on that.</p>
<p dir="ltr">Right</p>
<p dir="ltr">><br>
><br>
> On Mon, Jul 1, 2013 at 2:09 PM, David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br>
>><br>
>> On Mon, Jul 1, 2013 at 1:47 PM, Lang Hames <<a href="mailto:lhames@gmail.com">lhames@gmail.com</a>> wrote:<br>
>> > Author: lhames<br>
>> > Date: Mon Jul 1 15:47:47 2013<br>
>> > New Revision: 185378<br>
>> ><br>
>> > URL: <a href="http://llvm.org/viewvc/llvm-project?rev=185378&view=rev">http://llvm.org/viewvc/llvm-project?rev=185378&view=rev</a><br>
>> > Log:<br>
>> > Make PBQP require/preserve MachineLoopInfo - the spiller requires it.<br>
>><br>
>> Test case?<br>
>><br>
>> ><br>
>> > Modified:<br>
>> > llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp<br>
>> ><br>
>> > Modified: llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp<br>
>> > URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp?rev=185378&r1=185377&r2=185378&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp?rev=185378&r1=185377&r2=185378&view=diff</a><br>
>> > ==============================================================================<br>
>> > --- llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp (original)<br>
>> > +++ llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp Mon Jul 1 15:47:47 2013<br>
>> > @@ -43,6 +43,7 @@<br>
>> > #include "llvm/CodeGen/MachineBlockFrequencyInfo.h"<br>
>> > #include "llvm/CodeGen/MachineDominators.h"<br>
>> > #include "llvm/CodeGen/MachineFunctionPass.h"<br>
>> > +#include "llvm/CodeGen/MachineLoopInfo.h"<br>
>> > #include "llvm/CodeGen/MachineRegisterInfo.h"<br>
>> > #include "llvm/CodeGen/PBQP/Graph.h"<br>
>> > #include "llvm/CodeGen/PBQP/HeuristicSolver.h"<br>
>> > @@ -436,6 +437,8 @@ void RegAllocPBQP::getAnalysisUsage(Anal<br>
>> > au.addPreserved<LiveStacks>();<br>
>> > au.addRequired<MachineBlockFrequencyInfo>();<br>
>> > au.addPreserved<MachineBlockFrequencyInfo>();<br>
>> > + au.addRequired<MachineLoopInfo>();<br>
>> > + au.addPreserved<MachineLoopInfo>();<br>
>> > au.addRequired<MachineDominatorTree>();<br>
>> > au.addPreserved<MachineDominatorTree>();<br>
>> > au.addRequired<VirtRegMap>();<br>
>> ><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">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
><br>
><br>
</p>