summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains/Arch/Mips.cpp
diff options
context:
space:
mode:
authorStefan Maksimovic <stefan.maksimovic@imgtec.com>2017-08-11 11:03:54 +0000
committerStefan Maksimovic <stefan.maksimovic@imgtec.com>2017-08-11 11:03:54 +0000
commit76391b101d993e70a6c9ef00d441ece758dc0400 (patch)
treeb0849d41d1c8da133a8b3b7f0d4dee0cb044927e /clang/lib/Driver/ToolChains/Arch/Mips.cpp
parent7426c97bc6448786c45f354c58a0b74dde6be6e7 (diff)
downloadbcm5719-llvm-76391b101d993e70a6c9ef00d441ece758dc0400.tar.gz
bcm5719-llvm-76391b101d993e70a6c9ef00d441ece758dc0400.zip
Revert r310057
Bring back changes which r304953 introduced since they were in fact not the cause of failures described in r310057 commit message. llvm-svn: 310702
Diffstat (limited to 'clang/lib/Driver/ToolChains/Arch/Mips.cpp')
-rw-r--r--clang/lib/Driver/ToolChains/Arch/Mips.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Driver/ToolChains/Arch/Mips.cpp b/clang/lib/Driver/ToolChains/Arch/Mips.cpp
index 6459036b75a..ffefa60fe8d 100644
--- a/clang/lib/Driver/ToolChains/Arch/Mips.cpp
+++ b/clang/lib/Driver/ToolChains/Arch/Mips.cpp
@@ -319,6 +319,8 @@ void mips::getMIPSTargetFeatures(const Driver &D, const llvm::Triple &Triple,
AddTargetFeature(Args, Features, options::OPT_mno_odd_spreg,
options::OPT_modd_spreg, "nooddspreg");
+ AddTargetFeature(Args, Features, options::OPT_mno_madd4, options::OPT_mmadd4,
+ "nomadd4");
AddTargetFeature(Args, Features, options::OPT_mmt, options::OPT_mno_mt, "mt");
}
OpenPOWER on IntegriCloud