Displaying 2 results from an estimated 2 matches for "getspillalignment".
2004 Aug 27
2
[LLVMdev] PrologEpilogInserter question
...ave 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's the division by 8 for? Neither 'CreateStackObject' nor
'getSp...
2004 Aug 27
0
[LLVMdev] PrologEpilogInserter question
Vladimir Prus wrote:
> What's the division by 8 for? Neither 'CreateStackObject' nor
> 'getSpillAlignment' documentation say what units the size is, but
> everywhere it's in bytes. In my specific case, 'getSplillAlignment' returns
> 4, which becomes 0 after division.
Oh, it looks that backends now should specify register size in bits. I've
updated my code, but it would be ni...