[libc-commits] [PATCH] D74397: [libc] Adding memcpy implementation for x86_64

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Mar 16 10:20:49 PDT 2020


sivachandra added inline comments.


================
Comment at: libc/test/src/string/CMakeLists.txt:32
+  if(can_run)
+    compute_flags(flags MARCH native)
+    add_libc_unittest(
----------------
sivachandra wrote:
> gchatelet wrote:
> > abrachet wrote:
> > > Would you mind explaining this? It seems like ${flags} will just be -march=native, and the work above to find flags gets ignored.
> > Actually there's no need for flags here, the implementation has already been compiled with the correct flags. The test itself doesn't need them.
> Same question for me as well. I left a related comment at a different place above.
Ah, so remove this line then?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74397





More information about the libc-commits mailing list