[LLVMdev] global register allocation.
llvmdev at gmail.com
Fri Nov 23 08:55:04 PST 2007
On 11/23/07, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote:
> Hi, Sanjiv,
> those passes operate on the whole machine function. Each machine
> function contains many basic blocks. If a program has many functions, the
> register allocator will be called as many times, i.e it does not do
> interprocedural allocation.
Thanks for replying back.
I am looking to write a regalloc pass that does interprocedural regalloc.
By constructing a Call Graph and keeping the registers in a single call
chain different so that i can avoid spilling (saving) across function calls.
What will be the right place to do so?
> As far as I understand , the regalloc passes provided operate on basic
> > level?
> > Is there anything that operate on the whole Module?
> > Thx,
> > Sanjiv
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev