Displaying 2 results from an estimated 2 matches for "getspillsize".
2004 Aug 27
2
[LLVMdev] PrologEpilogInserter question
...time I'm trying to build my code with the current CVS of LLVM, and
have a problem. The mentioned file, around line 184, contains:
if (FixedSlot == FixedSpillSlots+NumFixedSpillSlots) {
// Nope, just spill it anywhere convenient.
FrameIdx = FFI->CreateStackObject(RegInfo->getSpillSize(Reg)/8,
RegInfo->getSpillAlignment(Reg)/8);
} else {
// Spill it to the stack where we must.
FrameIdx = FFI->CreateFixedObject(RegInfo->getSpillSize(Reg)/8,
FixedSlot->second);
}
What...
2016 Aug 17
3
RFC: Disambiguate RegClass->getSize()
...er.
Moreover, if a register for which these two values differ had
subregisters, the SubRegCoveredBits information could not be assumed to
match the return value of getSize.
*** Proposal
Replace the getSize function in MCRegisterClass and TargetRegisterClass
with two functions: getRegSize and getSpillSize.
TableGen would need to be modified to generate both of them, and unless
the user specifies otherwise in a .td file, these values would be equal.
All users of getSize would need to be updated to call one of the new
replacement functions. This can be done one step at the time: at first
the old...