Details
Details
- Reviewers
gchatelet
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
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!
Comment Actions
Hi @xiongji90 !
We explicitly don't handle this use case because it is in the critical path and we care more about latency in general than rarely occurring calls.
If p1 == p2 is expected to occur it should be handled on the client side.
Thx for the patch though.