[libc-commits] [libc] [libc][gpu] Add fixed point compile options to GPUs' loaders. (PR #81820)

Jan Patrick Lehr via libc-commits libc-commits at lists.llvm.org
Thu Feb 15 00:53:14 PST 2024


================
@@ -4,6 +4,9 @@ add_dependencies(nvptx_loader libc.src.__support.RPC.rpc)
 if(NOT LLVM_ENABLE_RTTI)
   target_compile_options(nvptx_loader PRIVATE -fno-rtti)
 endif()
+if(LIBC_COMPILER_HAS_FIXED_POINT)
+  target_compile_options(amdhsa_loader PRIVATE "-ffixed-point")
----------------
jplehr wrote:

That should probably be `nvptx_loader`

https://github.com/llvm/llvm-project/pull/81820


More information about the libc-commits mailing list