| commit | 18ec96f0fcf4bfc312518bd0d5fda98f795c7a09 | [log] [tgz] |
|---|---|---|
| author | Reid Kleckner <rnk@google.com> | Thu Jan 21 22:23:22 2016 +0000 |
| committer | Reid Kleckner <rnk@google.com> | Thu Jan 21 22:23:22 2016 +0000 |
| tree | e3c5b161a3d5b1b282c5566c3d244dca7ef608c4 | |
| parent | bfc33d0f3a786682ec7672f955fbbec80a7bd341 [diff] |
Avoid unnecessary stack realignment in musttail thunks with SSE2 enabled The X86 musttail implementation finds register parameters to forward by running the calling convention algorithm until a non-register location is returned. However, assigning a vector memory location has the side effect of increasing the function's stack alignment. We shouldn't increase the stack alignment when we are only looking for register parameters, so this change conditionalizes it. llvm-svn: 258442