[libc-commits] [libc] [libc][MVE] implement MVE accelerated memcmp (PR #224857)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Sep 19 18:52:44 PDT 2026


jhuber6 wrote:

> The codegen is not quite good if I use `cpp::simd` solely, especially when there is no `where` expression at all. However, I can try something like:

Looked at it, and MVE seems to have some poor codegen around vector splats. Why do you need a `where` expression explicitly? That case should be handled by a simple  ternary as far as I know. `where` is only needed to facilitate a C++ way of doing it on an object.

https://github.com/llvm/llvm-project/pull/224857


More information about the libc-commits mailing list