[llvm-commits] Support for dynamic stack realignment + VLAs for x86

Chad Rosier mcrosier at apple.com
Fri Jul 6 09:31:44 PDT 2012


All,
Attached is a revised patch for adding support for dynamic stack realignment in the presence of VLAs on x86.  It addresses Chandler's concern (i.e., incorrect restoring of the stack pointer from the base pointer) as well as another bug that was discovered while testing (i.e., see comments on obscure tail call with byval case).  To test the patch I hard coded MachineFrameInfo to always return true for hasVarSizedObjects() and enabled the force-stack-align flag by default.  All benchmarks in the test suite, including the external tests, pass.  Please take a look..

 Chad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynamic_stack_realign_VLAs_x86.patch
Type: application/octet-stream
Size: 16231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120706/634f7d54/attachment.obj>


More information about the llvm-commits mailing list