[LLVMdev] PrologEpilogInserter question
Vladimir Prus
ghost at cs.msu.su
Fri Aug 27 03:29:41 PDT 2004
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
'getBitsSpillAlignment'.
- Volodya
More information about the llvm-dev
mailing list