[libc-commits] [PATCH] D152507: Directly return 0 in memcmp/bcmp when input pointers point to same memory location

xiongji90 via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jun 9 02:10:45 PDT 2023


xiongji90 added a comment.

Hi, @gchatelet 
This patch handles a corner case when memcmp/bcmp is trying to compare same pointers. Could you help review it?
Thanks very much!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152507



More information about the libc-commits mailing list