[cfe-dev] [llvm-dev] RFC: New IR attribute incoming-stack-align

Joerg Sonnenberger via cfe-dev cfe-dev at lists.llvm.org
Thu Mar 24 09:18:57 PDT 2016

On Tue, Mar 15, 2016 at 10:48:30AM +0000, Huw Davies via llvm-dev wrote:
> An alternative would be to have the 'alignstack' IR attribute itself
> reduce the incoming stack alignment assumption.  i.e. if it's
> specified then it's fair to assume that the incoming stack does not
> have the correct alignment, so we should assume it has a smaller
> alignment - which we would probably just pick as 4.  Would that be any
> better?

Wouldn't a better way be to say that if alignstack is specified,
arguments have their minimum required alignment and that's it?


More information about the cfe-dev mailing list