[PATCH] D127461: [SelectionDAG] Use __memcmpeq to replace bcmp and bool usage memcmp
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 15 10:09:48 PDT 2022
goldstein.w.n added a comment.
In D127461#3586033 <https://reviews.llvm.org/D127461#3586033>, @xbolva00 wrote:
> Ideally LLVM should just "enable" memcmpeq if glibc version is > XYZ. Not sure if there is a realiable way to do it. @efriedma ?
Wouldn't that almost definitionally only work if the file was being compiled statically? Otherwise you would
run into the issue that compiling on a system with glibc >= 2.35 produce an executable that wouldn't work
on a system with glibc < 2.35
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127461/new/
https://reviews.llvm.org/D127461
More information about the llvm-commits
mailing list