[libc-commits] [PATCH] D123615: [libc] Automatically add -mfma flag for architectures supporting FMA.

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Apr 12 12:26:17 PDT 2022


michaelrj added inline comments.


================
Comment at: libc/cmake/modules/LLVMLibCObjectRules.cmake:25
 #       <target_name>
+#       FMA_OPT [optional] enable FMA if target supports.
 #       HDRS <list of header files>
----------------
would it be possible to make this a more generic option than just FMA? Perhaps there's a way to use generator expressions?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123615



More information about the libc-commits mailing list