Skip to content

Commit db909c2

Browse files
committed
Revert "Check prefix"
This reverts commit 1da81a0.
1 parent 1da81a0 commit db909c2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ SMEAttrs::SMEAttrs(const AttributeList &Attrs) {
8181

8282
void SMEAttrs::addKnownFunctionAttrs(StringRef FuncName,
8383
const TargetLowering &TLI) {
84-
// Skip functions that do not appear to be builtins (starting with "__").
85-
if (!FuncName.starts_with('_'))
86-
return;
87-
8884
struct SMERoutineAttr {
8985
RTLIB::Libcall LC{RTLIB::UNKNOWN_LIBCALL};
9086
unsigned Attrs{SMEAttrs::Normal};

0 commit comments

Comments
 (0)