[libc-commits] [libc] [llvm] [libc] Add bare-metal Hexagon port (PR #217528)

via libc-commits libc-commits at lists.llvm.org
Mon Sep 28 22:58:58 PDT 2026


================
@@ -18,7 +18,7 @@ using LIBC_NAMESPACE::fputil::Float128;
 TEST(LlvmLibcSharedMathTest, AllFloat16) {
   using FPBits = LIBC_NAMESPACE::fputil::FPBits<float16>;
 
-  int exponent;
+  int exponent = 0;
----------------
quic-k wrote:

libc/cmake/caches/baremetal_common.cmake: `set(LLVM_ENABLE_WERROR ON CACHE BOOL "")`

this cmake file for baremetal enables -Werror, no other targets seem to be use -Werror
this hexagon port seems to be the first baremetal target running tests, at least in upstream
thats why we uncover this issue

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


More information about the libc-commits mailing list