diff options
author | Petr Hosek <phosek@chromium.org> | 2019-02-13 18:01:23 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-02-13 18:01:23 +0000 |
commit | d5e9726a54f7e84eb2164428c53f4ea5b3ec9738 (patch) | |
tree | 9eb57f564f0bc32e89e4117cf67096c10b12148f | |
parent | 8c50001d584a0c2fd535cdb9a64a8181f0cf9bcc (diff) | |
download | clang-d5e9726a54f7e84eb2164428c53f4ea5b3ec9738.tar.gz |
[Driver] Pass +reserve-x25 to backend if -ffixed-x25 is specified
This was accidentally omitted in r353957 breaking the Clang test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@353960 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Driver/ToolChains/Arch/AArch64.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Driver/ToolChains/Arch/AArch64.cpp b/lib/Driver/ToolChains/Arch/AArch64.cpp index dc4a20113c..e229e4c13c 100644 --- a/lib/Driver/ToolChains/Arch/AArch64.cpp +++ b/lib/Driver/ToolChains/Arch/AArch64.cpp @@ -373,6 +373,9 @@ fp16_fml_fallthrough: if (Args.hasArg(options::OPT_ffixed_x24)) Features.push_back("+reserve-x24"); + if (Args.hasArg(options::OPT_ffixed_x25)) + Features.push_back("+reserve-x25"); + if (Args.hasArg(options::OPT_ffixed_x26)) Features.push_back("+reserve-x26"); |