aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-01-21 22:23:22 +0000
committerReid Kleckner <rnk@google.com>2016-01-21 22:23:22 +0000
commit18ec96f0fcf4bfc312518bd0d5fda98f795c7a09 (patch)
treee3c5b161a3d5b1b282c5566c3d244dca7ef608c4 /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
parentbfc33d0f3a786682ec7672f955fbbec80a7bd341 (diff)
downloadllvm-18ec96f0fcf4bfc312518bd0d5fda98f795c7a09.zip
llvm-18ec96f0fcf4bfc312518bd0d5fda98f795c7a09.tar.gz
llvm-18ec96f0fcf4bfc312518bd0d5fda98f795c7a09.tar.bz2
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions