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 9bd4ab7 commit 8a63133Copy full SHA for 8a63133
llvm/lib/Transforms/Utils/MetaRenamer.cpp
@@ -159,7 +159,7 @@ void MetaRename(Module &M,
159
auto ExcludeLibFuncs = [&](Function &F) {
160
LibFunc Tmp;
161
StringRef Name = F.getName();
162
- return Name.starts_with("llvm.") || (!Name.empty() && Name[0] == 1) ||
+ return F.isIntrinsic() || (!Name.empty() && Name[0] == 1) ||
163
GetTLI(F).getLibFunc(F, Tmp) ||
164
IsNameExcluded(Name, ExcludedFuncPrefixes);
165
};
0 commit comments