Displaying 3 results from an estimated 3 matches for "regsubidxmap".
2008 Jan 22
4
[LLVMdev] LiveInterval Splitting & SubRegisters
...the SSARegMap to point subregisters to the superregister they were
coalesced to (IIRC). That has since gone away. I used to use that in my
code to return the correct live interval for a virtual register in the case
where a subregister extract was coalesced.
That information appears to now be in RegSubIdxMap, which is local to
runOnMachineFunction, so it's lost after the coalescer runs. Do I not need
to worry about this information anymore?
Thanks.
-Dave
2008 Jan 23
0
[LLVMdev] LiveInterval Splitting & SubRegisters
...rect live interval for a virtual register in
> the case
> where a subregister extract was coalesced.
Right. That has been removed because it's surprisingly painful to
maintain that information. Now subreg index lives on MachineOperand.
>
> That information appears to now be in RegSubIdxMap, which is local to
> runOnMachineFunction, so it's lost after the coalescer runs. Do I
> not need
> to worry about this information anymore?
That's used at the end of coalescing to rewrite virtual registers.
It's purely local information.
Evan
>
> Thanks.
>
>...
2008 Jan 23
1
[LLVMdev] LiveInterval Splitting & SubRegisters
...s surprisingly painful to
> maintain that information. Now subreg index lives on MachineOperand.
Yep, I saw that. Does the subregh index in the MachineOperand tell the
asm printer what name to output for a register operand? How else is
it used?
> > That information appears to now be in RegSubIdxMap, which is local to
> > runOnMachineFunction, so it's lost after the coalescer runs. Do I
> > not need
> > to worry about this information anymore?
>
> That's used at the end of coalescing to rewrite virtual registers.
> It's purely local information.
Ok, I s...