[LLVMdev] Removing SimpleRewriter (formerly SimpleSpiller)
lhames at gmail.com
Thu Jun 4 17:03:37 PDT 2009
The new spilling framework inserts spill code in-place (during
register allocation) rather than deferring it using
VirtRegMap/VirtRegRewriter. The goal is to enable techniques like
iterative splitting to be implemented. It should also be a bit tidier
as it keeps more state in the MachineFunction, rather than in
book-keeping structures like VirtRegMap. The work is in the very early
On Thu, Jun 4, 2009 at 1:46 PM, David Greene <dag at cray.com> wrote:
> On Thursday 04 June 2009 13:57, Lang Hames wrote:
>> R.I.P. SimpleRewriter. If anyone needs it resurrected let me know.
>> This leaves LocalRewriter (the default) and the new TrivialRewriter,
>> which is for use only with the new in-place spilling framework. This
>> framework appears (if you squint just right) to be basically
>> functional now, but it produces awful code. If you want to play with
>> it you can invoke it with the magical combination of
>> "-join-liveintervals=false -new-spill-framework -rewriter=trivial".
> What's the "new spill framework?"
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev