[PATCH] Handle SPARC float command line parameters for SPARCv9
Brad Smith
brad at comstyle.com
Thu Jul 10 13:44:33 PDT 2014
Handle the respective SPARC float command line parameters for SPARCv9.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
Index: lib/Driver/Tools.cpp
===================================================================
--- lib/Driver/Tools.cpp (revision 212648)
+++ lib/Driver/Tools.cpp (working copy)
@@ -1237,7 +1237,7 @@
ArgStringList &CmdArgs) const {
const Driver &D = getToolChain().getDriver();
- // Select the float ABI as determined by -msoft-float, -mhard-float, and
+ // Select the float ABI as determined by -msoft-float and -mhard-float.
StringRef FloatABI;
if (Arg *A = Args.getLastArg(options::OPT_msoft_float,
options::OPT_mhard_float)) {
@@ -2847,6 +2847,7 @@
break;
case llvm::Triple::sparc:
+ case llvm::Triple::sparcv9:
AddSparcTargetArgs(Args, CmdArgs);
break;
More information about the cfe-commits
mailing list