Displaying 6 results from an estimated 6 matches for "getvninfoallocator".
2008 Feb 21
2
[LLVMdev] Bug? Coalescing & Updating Subreg Intervals
...esn't.
So this is the call site?
// Update the liveintervals of sub-registers.
for (const unsigned *AS = tri_->getSubRegisters(DstReg); *AS; ++AS)
li_->getOrCreateInterval(*AS).MergeInClobberRanges(*ResSrcInt,
li_-
>getVNInfoAllocator());
Can you take a look at MergeInClobberRanges() to see what is going on?
Otherwise, please file a bug with a test case.
Evan
>
>
> -Dave
> _______________________________________________
> LLVM Developers mailing list
> LLVMde...
2014 Oct 14
2
[LLVMdev] Problem of stack slot coloring
...LiveStacks now that we are committed to spilling.
> if (StackSlot == VirtRegMap::NO_STACK_SLOT) {
> StackSlot = VRM.assignVirt2StackSlot(Original);
> StackInt = &LSS.getOrCreateInterval(StackSlot,
MRI.getRegClass(Original));
> StackInt->getNextValue(SlotIndex(), LSS.getVNInfoAllocator());
> } else
> StackInt = &LSS.getInterval(StackSlot);
>
> if (Original != Edit->getReg())
> VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot);
>
> assert(StackInt->getNumValNums() == 1 && "Bad stack interval values");
> for (...
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
2008 Feb 21
0
[LLVMdev] Bug? Coalescing & Updating Subreg Intervals
On Wednesday 20 February 2008 07:00:28 pm Evan Cheng wrote:
> > In other words, after coalescing, should it be the case that
> > subregister
> > intervals contain at least all of the range information that was
> > contained
> > in any eliminated intervals when those eliminated intervals were
> > coalesced
> > to the subregister's superregister?
>
2008 Feb 21
0
[LLVMdev] Bug? Coalescing & Updating Subreg Intervals
...e?
>
> // Update the liveintervals of sub-registers.
> for (const unsigned *AS = tri_->getSubRegisters(DstReg); *AS; ++AS)
> li_->getOrCreateInterval(*AS).MergeInClobberRanges(*ResSrcInt,
> li_-
Yep.
> >getVNInfoAllocator());
>
> Can you take a look at MergeInClobberRanges() to see what is going on?
> Otherwise, please file a bug with a test case.
Yes. I think I know what's going on. This happens in SPEC 2006 bwaves on the
block_solver.f source file. This is of course using our frontend and
optimiz...
2008 Feb 21
2
[LLVMdev] Bug? Coalescing & Updating Subreg Intervals
On Feb 20, 2008, at 12:25 PM, David Greene wrote:
> On Wednesday 20 February 2008 14:14, David Greene wrote:
>
>> I discovered this through an assert I put into some of my own
>> code. I want
>> to know if that assert is bogus or if there's a bug here.
>
> A little more information: the assert checks that after coalescing
> two nodes,
> all subregister