Displaying 2 results from an estimated 2 matches for "getvalnuminfo".
2014 Oct 14
2
[LLVMdev] Problem of stack slot coloring
...t;
> assert(StackInt->getNumValNums() == 1 && "Bad stack interval values");
> for (unsigned i = 0, e = RegsToSpill.size(); i != e; ++i)
> StackInt->MergeSegmentsInAsValue(LIS.getInterval(RegsToSpill[i]),
> StackInt->getValNumInfo(0));
> DEBUG(dbgs() << "Merged spilled regs: " << *StackInt << '\n');
>
> And this is called by the register allocator in
RAGreedy::selectOrSplitImpl.
>
> When the InlineSpiller calls LSS.getOrCreateInterval, that is a call to
LiveStacks::getOrCr...
2014 Oct 13
2
[LLVMdev] Problem of stack slot coloring
Hi,
Can anyone help me with the stack slot coloring optimization?
This corresponding file is /lib/codegen/stackslotcoloring.cpp.
It is said this optimization was for stack slot overlay for frame size
reduction, after register allocation phase.
And this transformation pass relies on the LiveStack analysis pass.
How, when checking the source code, it seems the LiveStack analysis has not
been