summaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorAmara Emerson <amara.emerson@arm.com>2017-07-13 15:19:56 +0000
committerAmara Emerson <amara.emerson@arm.com>2017-07-13 15:19:56 +0000
commit51a4b73703b5c68572e1573112fb9b5e28cdb108 (patch)
tree45d2172b04ec516edef9ee29517453bed834384f /lib/Support
parent9a71cb8ce5ea535080a29194500466d0a52e8fb4 (diff)
[AArch64] Add an SVE target feature to the backend and TargetParser.
The feature will be used properly once assembler/disassembler support begins to land. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/TargetParser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/TargetParser.cpp b/lib/Support/TargetParser.cpp
index 13bb6f23bc83..e8ef1d2fd8b9 100644
--- a/lib/Support/TargetParser.cpp
+++ b/lib/Support/TargetParser.cpp
@@ -452,6 +452,8 @@ bool llvm::AArch64::getExtensionFeatures(unsigned Extensions,
Features.push_back("+ras");
if (Extensions & AArch64::AEK_LSE)
Features.push_back("+lse");
+ if (Extensions & AArch64::AEK_SVE)
+ Features.push_back("+sve");
return true;
}