[PATCH] D155168: [OSX][TargetLibraryInfo] Mark memrchr as unavailable on OSX

Pavel Kosov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 03:43:48 PDT 2023


kpdev42 marked an inline comment as done.
kpdev42 added a comment.

In D155168#4496699 <https://reviews.llvm.org/D155168#4496699>, @nikic wrote:

>> Tests for this feature also cannot be easily added: https://reviews.llvm.org/D134134#3801747
>
> You should be able to test that InstCombine does not perform the strrchr -> memrchr fold if a macos triple is given.

Ok, will add it


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155168/new/

https://reviews.llvm.org/D155168



More information about the llvm-commits mailing list