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

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon May 9 08:45:18 PDT 2022


lntue marked an inline comment as done.
lntue 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>
----------------
michaelrj wrote:
> would it be possible to make this a more generic option than just FMA? Perhaps there's a way to use generator expressions?
A more general option is now added with https://reviews.llvm.org/D125174.


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