yiguolei commented on PR #12936:
URL: https://github.com/apache/doris/pull/12936#issuecomment-1256844469

   In lastes clang-14, our memcpy_overflow will be replaced by memcpy...
   
   void my_memcpy(char * __restrict dst, const char * __restrict src, ssize_t n)
   {
       while (n > 0)
       {
           _mm_storeu_si128(reinterpret_cast<__m128i *>(dst),
               _mm_loadu_si128(reinterpret_cast<const __m128i *>(src)));
           dst += 16;
           src += 16;
           n -= 16;
       }
   }
   
   You can find detail in this discussion: 
https://github.com/llvm/llvm-project/issues/56467


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to