aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorSimon Tatham <simon.tatham@arm.com>2021-02-11 11:11:55 +0000
committerTomas Matheson <tomas.matheson@arm.com>2021-12-31 16:43:53 +0000
commitd50072f74e3ee50b750a618fcdf05739dec9542d (patch)
treef36d6fbfdc0cebbb239df631edb879744ae5754c /llvm/lib/Support/Triple.cpp
parentb8db44251371afd71d17f2a34a85766188c4b0a8 (diff)
downloadllvm-d50072f74e3ee50b750a618fcdf05739dec9542d.zip
llvm-d50072f74e3ee50b750a618fcdf05739dec9542d.tar.gz
llvm-d50072f74e3ee50b750a618fcdf05739dec9542d.tar.bz2
[ARM] Introduce an empty "armv8.8-a" architecture.
This is the first commit in a series that implements support for "armv8.8-a" architecture. This should contain all the necessary boilerplate to make the 8.8-A architecture exist from LLVM and Clang's point of view: it adds the new arch as a subtarget feature, a definition in TargetParser, a name on the command line, an appropriate set of predefined macros, and adds appropriate tests. The new architecture name is supported in both AArch32 and AArch64. However, in this commit, no actual _functionality_ is added as part of the new architecture. If you specify -march=armv8.8a, the compiler will accept it and set the right predefines, but generate no code any differently. Differential Revision: https://reviews.llvm.org/D115694
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r--llvm/lib/Support/Triple.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index 2819dc0..dca3971 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -663,6 +663,8 @@ static Triple::SubArchType parseSubArch(StringRef SubArchName) {
return Triple::ARMSubArch_v8_6a;
case ARM::ArchKind::ARMV8_7A:
return Triple::ARMSubArch_v8_7a;
+ case ARM::ArchKind::ARMV8_8A:
+ return Triple::ARMSubArch_v8_8a;
case ARM::ArchKind::ARMV9A:
return Triple::ARMSubArch_v9;
case ARM::ArchKind::ARMV9_1A: