[llvm-commits] [llvm] r158087 - in /llvm/trunk: lib/Target/X86/X86FrameLowering.cpp lib/Target/X86/X86RegisterInfo.cpp lib/Target/X86/X86RegisterInfo.h test/CodeGen/X86/alloca-align-rounding-32.ll test/CodeGen/X86/alloca-align-rounding.ll test/Co

Chandler Carruth chandlerc at google.com
Fri Jun 15 17:52:16 PDT 2012


On Fri, Jun 15, 2012 at 5:47 PM, Chandler Carruth <chandlerc at google.com>wrote:

> On Fri, Jun 15, 2012 at 5:41 PM, Chad Rosier <mcrosier at apple.com> wrote:
>
>> Hi Matt,
>>
>> I just wanted to let you know I'm working on a fix for this.  There's
>> actually two issues going on here: (1) the issue you've pointed out and (2)
>> the -mstackrealignment is forcing realignment when it's not necessary
>> (i.e., the ABI alignment is >= then the forced alignment).  I haven't
>> figured out a fix for (1), but I have a solution for (2) and fixing that
>> will solve your problem.  Hopefully, I'll have this done in the next few
>> days.  If you need a fix before then feel free to revert this commit.
>>
>
> Unfortunately, the case we're hitting is actually #1, I suspect it's just
> this repro that is solved by #2. We might be able to adapt the repro to
> work w/ normal x86 and demonstrate this issue even w/ #2 solved.
>
> We're blocked on this, can we revert and carry on?
>

Also, I should mention, I'm really excited about fixing #2 -- it will
likely speed up ASan on ABIs that have nicely aligned stacks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120615/c0873213/attachment.html>


More information about the llvm-commits mailing list