We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc90c3d commit 80b7661Copy full SHA for 80b7661
llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp
@@ -81,6 +81,10 @@ SMEAttrs::SMEAttrs(const AttributeList &Attrs) {
81
82
void SMEAttrs::addKnownFunctionAttrs(StringRef FuncName,
83
const TargetLowering &TLI) {
84
+ // Skip functions that do not appear to be builtins (starting with "__").
85
+ if (!FuncName.starts_with('_'))
86
+ return;
87
+
88
struct SMERoutineAttr {
89
RTLIB::Libcall LC{RTLIB::UNKNOWN_LIBCALL};
90
unsigned Attrs{SMEAttrs::Normal};
0 commit comments