[libc-commits] [PATCH] D150567: [libc] Add optimized bcmp for RISCV

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon May 15 11:01:31 PDT 2023


sivachandra added inline comments.


================
Comment at: libc/src/string/memory_utils/bcmp_implementations.h:27
   LIBC_LOOP_NOUNROLL
-  for (size_t offset = 0; offset < count; ++offset)
-    if (auto value = generic::Bcmp<1>::block(p1 + offset, p2 + offset))
----------------
sivachandra wrote:
> What was `offset` previously? Was this dead code?
Ignore this comment - I misread this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150567



More information about the libc-commits mailing list