[PATCH] D155168: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX
Pavel Kosov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 14 02:30:49 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa7a6ef3b8091: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX (authored by kpdev42).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155168/new/
https://reviews.llvm.org/D155168
Files:
llvm/lib/Analysis/TargetLibraryInfo.cpp
Index: llvm/lib/Analysis/TargetLibraryInfo.cpp
===================================================================
--- llvm/lib/Analysis/TargetLibraryInfo.cpp
+++ llvm/lib/Analysis/TargetLibraryInfo.cpp
@@ -203,6 +203,7 @@
TLI.setAvailable(LibFunc_getchar_unlocked);
TLI.setAvailable(LibFunc_putc_unlocked);
TLI.setAvailable(LibFunc_putchar_unlocked);
+ TLI.setUnavailable(LibFunc_memrchr);
if (T.isMacOSXVersionLT(10, 5)) {
TLI.setUnavailable(LibFunc_memset_pattern4);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155168.549841.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/de2c979a/attachment.bin>
More information about the llvm-commits
mailing list