aboutsummaryrefslogtreecommitdiff
path: root/clang/utils
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2024-01-16 10:37:27 +0000
committerSander de Smalen <sander.desmalen@arm.com>2024-01-16 11:20:59 +0000
commit032c832719b5b2c44b78359ed54b91964ef15b79 (patch)
tree495dff25a499e960c2f91f4c3ceadb2c455f0869 /clang/utils
parent076eb4c79ec7e489a041379b82279bf1740f2bb3 (diff)
downloadllvm-032c832719b5b2c44b78359ed54b91964ef15b79.zip
llvm-032c832719b5b2c44b78359ed54b91964ef15b79.tar.gz
llvm-032c832719b5b2c44b78359ed54b91964ef15b79.tar.bz2
[Clang][AArch64] Remove unnecessary and incorrect attributes from arm_sme.h.
These attributes were using the GNU attribute syntax, rather than the new keyword attribute syntax, and they are no longer required as we have code in SemaChecking to verify whether a builtin is compatible with its caller.
Diffstat (limited to 'clang/utils')
-rw-r--r--clang/utils/TableGen/SveEmitter.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/clang/utils/TableGen/SveEmitter.cpp b/clang/utils/TableGen/SveEmitter.cpp
index 060d79a..99b7148 100644
--- a/clang/utils/TableGen/SveEmitter.cpp
+++ b/clang/utils/TableGen/SveEmitter.cpp
@@ -1066,17 +1066,6 @@ void Intrinsic::emitIntrinsic(raw_ostream &OS, SVEEmitter &Emitter,
std::string FullName = mangleName(ClassS);
std::string ProtoName = mangleName(getClassKind());
- std::string SMEAttrs = "";
-
- if (Flags & Emitter.getEnumValueForFlag("IsStreaming"))
- SMEAttrs += ", arm_streaming";
- if (Flags & Emitter.getEnumValueForFlag("IsStreamingCompatible"))
- SMEAttrs += ", arm_streaming_compatible";
- if (Flags & Emitter.getEnumValueForFlag("IsSharedZA"))
- SMEAttrs += ", arm_shared_za";
- if (Flags & Emitter.getEnumValueForFlag("IsPreservesZA"))
- SMEAttrs += ", arm_preserves_za";
-
OS << (IsOverloaded ? "__aio " : "__ai ")
<< "__attribute__((__clang_arm_builtin_alias(";
@@ -1089,8 +1078,6 @@ void Intrinsic::emitIntrinsic(raw_ostream &OS, SVEEmitter &Emitter,
break;
}
- if (!SMEAttrs.empty())
- OS << SMEAttrs;
OS << "))\n";
OS << getTypes()[0].str() << " " << ProtoName << "(";