diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2019-05-30 14:22:26 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2019-05-30 14:22:26 +0000 |
commit | 24f12711ae27e80291c3bab6097cef99168eb21f (patch) | |
tree | 4afd565aca207f9d22924103f4d966f82d2afd20 /clang/lib | |
parent | 064ae08e864eacd0881cb291f412ff727a5094bb (diff) | |
download | bcm5719-llvm-24f12711ae27e80291c3bab6097cef99168eb21f.tar.gz bcm5719-llvm-24f12711ae27e80291c3bab6097cef99168eb21f.zip |
[ARM] Add CLI support for Armv8.1-M and MVE
Given the existing infrastructure in LLVM side for +fp and +fp.dp,
this is more or less trivial, needing only one tiny source change and
a couple of tests.
Patch by Simon Tatham.
Differential Revision: https://reviews.llvm.org/D60699
llvm-svn: 362096
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Basic/Targets/ARM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets/ARM.cpp b/clang/lib/Basic/Targets/ARM.cpp index 18ad466afe7..b6ad82260c6 100644 --- a/clang/lib/Basic/Targets/ARM.cpp +++ b/clang/lib/Basic/Targets/ARM.cpp @@ -197,6 +197,8 @@ StringRef ARMTargetInfo::getCPUAttr() const { return "8M_MAIN"; case llvm::ARM::ArchKind::ARMV8R: return "8R"; + case llvm::ARM::ArchKind::ARMV8_1MMainline: + return "8_1M_MAIN"; } } |