[cfe-commits] Alignment of return from __builtin_alloca

Eli Friedman eli.friedman at gmail.com
Thu Jun 7 15:20:51 PDT 2012

On Thu, Jun 7, 2012 at 3:08 PM, David Sehr <sehr at google.com> wrote:
> Please disregard my last comment.  Implementing that will be a bit
> challenging, as stackAlign is a back end value rather than a clang
> TargetInfo value. Are there targets where stackAlign < SuitableAlign?

Feel free to add a StackAlign member to TargetInfo if you need it...
it's already part of the DescriptionString (specified with "S128"

And yes, there are targets where StackAlign < SuitableAlign... many
x86-32 targets have SuitableAlign == 128 and StackAlign == 32.


More information about the cfe-commits mailing list