summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-09 23:29:14 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-09 23:29:14 +0000
commitccf11c2f9f8182943ba72352d5d19be989f816b1 (patch)
tree596d8215edfcd54ab0fc360f47fd5ae977811f24 /llvm/lib/Support/Triple.cpp
parentd57282791d912f18cf363a324a1c8a5c72814152 (diff)
downloadbcm5719-llvm-ccf11c2f9f8182943ba72352d5d19be989f816b1.tar.gz
bcm5719-llvm-ccf11c2f9f8182943ba72352d5d19be989f816b1.zip
[ARM] Add support for armv7ve triple in llvm (PR31358).
Gcc supports target armv7ve which is armv7-a with virtualization extensions. This change adds support for this in llvm for gcc compatibility. Also remove redundant FeatureHWDiv, FeatureHWDivARM for a few models as this is specified automatically by FeatureVirtualization. Patch by Manoj Gupta. Differential Revision: https://reviews.llvm.org/D29472 llvm-svn: 294661
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 808c6dc406c..5c37dfc5ae2 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -551,6 +551,8 @@ static Triple::SubArchType parseSubArch(StringRef SubArchName) {
case ARM::AK_ARMV7A:
case ARM::AK_ARMV7R:
return Triple::ARMSubArch_v7;
+ case ARM::AK_ARMV7VE:
+ return Triple::ARMSubArch_v7ve;
case ARM::AK_ARMV7K:
return Triple::ARMSubArch_v7k;
case ARM::AK_ARMV7M:
OpenPOWER on IntegriCloud