[libc-commits] [PATCH] D101895: [libc] Simplifies multi implementations and benchmarks

Andre Vieira via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 5 09:18:20 PDT 2021


avieira added a comment.

LGTM otherwise.



================
Comment at: libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake:9
+elseif(${LIBC_TARGET_ARCHITECTURE_IS_AARCH64})
+  set(LIBC_COMPILE_OPTIONS_NATIVE -mtune=native)
 endif()
----------------
I'd really use -mcpu here though, as it will also enable available features. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101895



More information about the libc-commits mailing list