[llvm-commits] [PATCH] Add the alignstack function attribute
Duncan Sands
baldrick at free.fr
Thu Feb 11 00:24:03 PST 2010
Hi Charles,
> This attribute, which reuses the 'alignstack' keyword, is intended to
> force backends (primarily the x86 backend) to align stacks for generated
> functions to 16 bytes. It is not implemented in any backend yet; I would
> like to get this patch into LLVM before proceeding.
it would be nicer to be able to write alignstack(16), rather than hard-coding
the magic number 16. I know the attribute infrastructure isn't set up for this
right now...
Ciao,
Duncan.
More information about the llvm-commits
mailing list