[libc-commits] [libc] [libc] Fix linking of AMDGPU device runtime control constants for math (PR #65676)

Siva Chandra via libc-commits libc-commits at lists.llvm.org
Thu Sep 14 08:00:26 PDT 2023


================
@@ -19,96 +21,106 @@ namespace __llvm_libc {
 extern "C" {
 
 // Disable unsafe math optimizations in the implementation.
-extern const uint8_t __oclc_unsafe_math_opt = 0;
+extern const LIBC_INLINE uint8_t __oclc_unsafe_math_opt = 0;
----------------
sivachandra wrote:

`LIBC_INLINE_VAR`

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


More information about the libc-commits mailing list