search for: getsplillalignment

Displaying 2 results from an estimated 2 matches for "getsplillalignment".

Did you mean: getspillalignment
2004 Aug 27
2
[LLVMdev] PrologEpilogInserter question
...gt;getSpillSize(Reg)/8, FixedSlot->second); } 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. Later on, PEI::calculateFrameObjectOffsets gets this zero alignment and crashes with division by zero. I don't this zero alignment is reasonable at all. And ideas? Thanks, Volodya
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 nice if 'getSpillAlignment' encode this information in the name, for example 'getSpillAlignmentInBits' or 'getB...