r353960 - [Driver] Pass +reserve-x25 to backend if -ffixed-x25 is specified
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 13 10:01:24 PST 2019
Author: phosek
Date: Wed Feb 13 10:01:23 2019
New Revision: 353960
URL: http://llvm.org/viewvc/llvm-project?rev=353960&view=rev
Log:
[Driver] Pass +reserve-x25 to backend if -ffixed-x25 is specified
This was accidentally omitted in r353957 breaking the Clang test.
Modified:
cfe/trunk/lib/Driver/ToolChains/Arch/AArch64.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/Arch/AArch64.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Arch/AArch64.cpp?rev=353960&r1=353959&r2=353960&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Arch/AArch64.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/Arch/AArch64.cpp Wed Feb 13 10:01:23 2019
@@ -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");
More information about the cfe-commits
mailing list