summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorRichard Barton <richard.barton@arm.com>2014-12-18 16:31:18 +0000
committerRichard Barton <richard.barton@arm.com>2014-12-18 16:31:18 +0000
commit2c5a89728d3fd58fb058e0eaa829605b3f50b3ef (patch)
tree03df5394506e4c759c80342c62ac2aa3fe478178 /clang/lib/Driver/Tools.cpp
parentd348d7c757164c3568fd44023e5d0e984d068ef5 (diff)
downloadbcm5719-llvm-2c5a89728d3fd58fb058e0eaa829605b3f50b3ef.tar.gz
bcm5719-llvm-2c5a89728d3fd58fb058e0eaa829605b3f50b3ef.zip
Correction to -mfu=neon-vfpv4 to pass the correct backend feature name
Change-Id: I4dbfe1d97670fc4e626368ef1f91fc008778dfca llvm-svn: 224523
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 1903f3212f3..fcc47418349 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -590,11 +590,11 @@ static void getARMFPUFeatures(const Driver &D, const Arg *A,
} else if (FPU == "neon") {
Features.push_back("+neon");
} else if (FPU == "neon-vfpv3") {
- Features.push_back("+vfpv3");
+ Features.push_back("+vfp3");
Features.push_back("+neon");
} else if (FPU == "neon-vfpv4") {
Features.push_back("+neon");
- Features.push_back("+vfpv4");
+ Features.push_back("+vfp4");
} else if (FPU == "none") {
Features.push_back("-vfp2");
Features.push_back("-vfp3");
OpenPOWER on IntegriCloud