diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2018-09-26 12:48:21 +0000 |
---|---|---|
committer | Oliver Stannard <oliver.stannard@arm.com> | 2018-09-26 12:48:21 +0000 |
commit | 7c3c4baa3fbae3b4302a989000f5049b6db6c0e0 (patch) | |
tree | c8160a8fd2ff658eb60a8543ed09817af73f75fa /llvm/lib/Support/Triple.cpp | |
parent | e2437689a882ff4f13a1b6201bc2f2f0ed58df14 (diff) | |
download | bcm5719-llvm-7c3c4baa3fbae3b4302a989000f5049b6db6c0e0.tar.gz bcm5719-llvm-7c3c4baa3fbae3b4302a989000f5049b6db6c0e0.zip |
[ARM/AArch64][v8.5A] Add Armv8.5-A target
This patch allows targeting Armv8.5-A, adding the architecture to
tablegen and setting the options to be identical to Armv8.4-A for the
time being. Subsequent patches will add support for the different
features included in the Armv8.5-A Reference Manual.
Patch by Pablo Barrio!
Differential revision: https://reviews.llvm.org/D52470
llvm-svn: 343102
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index b56d1d9eff2..38f72c93bd7 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/lib/Support/Triple.cpp @@ -596,6 +596,8 @@ static Triple::SubArchType parseSubArch(StringRef SubArchName) { return Triple::ARMSubArch_v8_3a; case ARM::ArchKind::ARMV8_4A: return Triple::ARMSubArch_v8_4a; + case ARM::ArchKind::ARMV8_5A: + return Triple::ARMSubArch_v8_5a; case ARM::ArchKind::ARMV8R: return Triple::ARMSubArch_v8r; case ARM::ArchKind::ARMV8MBaseline: |