summaryrefslogtreecommitdiff
path: root/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/TargetParser.cpp')
-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;
}