Parcourir la source

[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
Petr Hosek il y a 6 ans
Parent
commit
d5e9726a54
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      lib/Driver/ToolChains/Arch/AArch64.cpp

+ 3 - 0
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");