diff options
author | Reid Kleckner <rnk@google.com> | 2019-11-18 15:31:37 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-11-19 16:54:00 -0800 |
commit | 606a2bd6218e8378728b6c1e021e64bb57084a97 (patch) | |
tree | dccb9878f3f8cb8e8b332d9ee63d910eb05033dc /clang/lib/Frontend/CompilerInstance.cpp | |
parent | bffdee8ef379126de3f2581214d89c1b29f440b7 (diff) | |
download | llvm-606a2bd6218e8378728b6c1e021e64bb57084a97.zip llvm-606a2bd6218e8378728b6c1e021e64bb57084a97.tar.gz llvm-606a2bd6218e8378728b6c1e021e64bb57084a97.tar.bz2 |
[musttail] Don't forward AL on Win64
AL is only used for varargs on SysV platforms. Don't forward it on
Windows. This allows control flow guard to set up an extra hidden
parameter in RAX, as described in PR44049.
This also has the effect of freeing up RAX for use in virtual member
pointer thunks, which may also be a nice little code size improvement on
Win64.
Fixes PR44049
Reviewers: ajpaverd, efriedma, hans
Differential Revision: https://reviews.llvm.org/D70413
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions