aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2023-03-02 11:46:10 +0000
committerSander de Smalen <sander.desmalen@arm.com>2023-03-02 12:07:41 +0000
commit170e7a0ec2e6d29cb642ece0bf34f395453d5e68 (patch)
tree15e822aef5e066ad5484bfa67065f48b3e365d70 /llvm/utils/TableGen/CodeGenTarget.cpp
parentb4d9ac8b453e20e4223b5935c700698608a6425c (diff)
downloadllvm-170e7a0ec2e6d29cb642ece0bf34f395453d5e68.zip
llvm-170e7a0ec2e6d29cb642ece0bf34f395453d5e68.tar.gz
llvm-170e7a0ec2e6d29cb642ece0bf34f395453d5e68.tar.bz2
[AArch64][SME2] Add CodeGen support for target("aarch64.svcount").
This patch adds AArch64 CodeGen support such that the type can be passed and returned to/from functions, and also adds support to use this type in load/store operations and PHI nodes. Reviewed By: paulwalker-arm Differential Revision: https://reviews.llvm.org/D136862
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index f500d30..672728a 100644
--- a/llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/llvm/utils/TableGen/CodeGenTarget.cpp
@@ -82,6 +82,7 @@ StringRef llvm::getEnumName(MVT::SimpleValueType T) {
case MVT::ppcf128: return "MVT::ppcf128";
case MVT::x86mmx: return "MVT::x86mmx";
case MVT::x86amx: return "MVT::x86amx";
+ case MVT::aarch64svcount: return "MVT::aarch64svcount";
case MVT::i64x8: return "MVT::i64x8";
case MVT::Glue: return "MVT::Glue";
case MVT::isVoid: return "MVT::isVoid";