[llvm-commits] [llvm] r107227 - in /llvm/trunk: include/llvm/CodeGen/MachineRegisterInfo.h lib/CodeGen/CMakeLists.txt lib/CodeGen/InlineSpiller.cpp lib/CodeGen/Spiller.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue Jun 29 18:17:40 PDT 2010
On Jun 29, 2010, at 6:05 PM, Evan Cheng wrote:
>
> On Jun 29, 2010, at 4:58 PM, Jakob Stoklund Olesen wrote:
>
>> Author: stoklund
>> Date: Tue Jun 29 18:58:39 2010
>> New Revision: 107227
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=107227&view=rev
>> Log:
>> Begin implementation of an inline spiller.
>>
>> InlineSpiller inserts loads and spills immediately instead of deferring to
>> VirtRegMap. This is possible now because SlotIndexes allows instructions to be
>> inserted and renumbered.
>>
>> This is work in progress, and is mostly a copy of TrivialSpiller so far. It
>> works very well for functions that don't require spilling.
>
> Sounds like we should switch over now! :-)
Yep, a number of test cases are already passing - the ones not requiring spilling. ;-)
The rest are failing because InlineSpiller is not properly tracking liveness of stack slots. It is simply a matter of figuring out how LiveIntervals::rewriteInstructionsForSpills is doing that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100629/ee1c5605/attachment.bin>
More information about the llvm-commits
mailing list