[llvm-commits] [llvm][PATCH][Review Requested] Fix failure to realign stack on x86

Gurd, Preston preston.gurd at intel.com
Wed Jan 18 09:55:01 PST 2012


The attached one line patch corrects a problem whereby llvm was failing to generate an ANDL instruction to align the stack pointer on function entry when the required alignment was mod 16 and when stack realignment was requested.

The patch includes a modification of an existing test case to verify that that an ANDL instruction gets generated when realignment is requested.

Please review and, if there are no objections, commit.

Thanks,

Preston

--
Preston Gurd <preston.gurd at intel.com>
  Intel Waterloo



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120118/abb7a11c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: align.diff
Type: application/octet-stream
Size: 1612 bytes
Desc: align.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120118/abb7a11c/attachment.obj>


More information about the llvm-commits mailing list