[llvm] [offload] support arbitrary memoryFill pattern sizes in L0 plugin (PR #209724)

Ɓukasz Plewa via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 06:24:28 PDT 2026


================

----------------
lplewa wrote:

memcmp(ptr, ptr + 1, size -1); Assuming that  size >=2

didn't look into find_first_not_of implementation, but I'm pretty sure that memcmp will be faster.  Just add good comment as someone who do not seen this trick might be confused(but TBH string pattern searching confused me too) 

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


More information about the llvm-commits mailing list