diff options
author | Richard Barton <richard.barton@arm.com> | 2014-11-28 20:39:59 +0000 |
---|---|---|
committer | Richard Barton <richard.barton@arm.com> | 2014-11-28 20:39:59 +0000 |
commit | 3b0dcc160a92930c8fecc51a057a838f7e3fafef (patch) | |
tree | a002914050ca4aa4f6b0c868bee7754d61b254dd /clang/lib/Driver/Tools.cpp | |
parent | 09b60b2a63e664b3feec6c6abfa3502cf1a57f7d (diff) | |
download | llvm-3b0dcc160a92930c8fecc51a057a838f7e3fafef.zip llvm-3b0dcc160a92930c8fecc51a057a838f7e3fafef.tar.gz llvm-3b0dcc160a92930c8fecc51a057a838f7e3fafef.tar.bz2 |
Add additional arguments for -mfpu options
Add neon-vfpv3 to allow specifying both at the same time. This is not an
option that GCC supports, but follows the same track and should be
non-controversial.
Change-Id: Id9ec157c835937d7d11ad0f49dbe5171fac17658
llvm-svn: 222933
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 96a4b43a..067efe6 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -589,6 +589,9 @@ static void getARMFPUFeatures(const Driver &D, const Arg *A, Features.push_back("+crypto"); } else if (FPU == "neon") { Features.push_back("+neon"); + } else if (FPU == "neon-vfpv3") { + Features.push_back("+vfpv3"); + Features.push_back("+neon"); } else if (FPU == "neon-vfpv4") { Features.push_back("+neon"); Features.push_back("+vfpv4"); |