[libc-commits] [libc] Revert "Reland "[libc] Enable baremetal float printf using modular format"" (PR #203377)

Prabhu Rajasekaran via libc-commits libc-commits at lists.llvm.org
Thu Jun 11 12:57:53 PDT 2026


https://github.com/Prabhuk created https://github.com/llvm/llvm-project/pull/203377

Reverts llvm/llvm-project#199758

We are seeing float_impl.cpp.obj getting pulled into the final binary in our code where it wasn't before this change. While we investigate this, reverting to address the binary bloat issue.

>From af1a68cd780116c16c6cca631f0a4569db7c1950 Mon Sep 17 00:00:00 2001
From: Prabhu Rajasekaran <prabhukrllvm at gmail.com>
Date: Thu, 11 Jun 2026 12:25:14 -0700
Subject: [PATCH] =?UTF-8?q?Revert=20"Reland=20"[libc]=20Enable=20baremetal?=
 =?UTF-8?q?=20float=20printf=20using=20modular=20format"=20(#=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit a14d084bbb1a7261d8a71c56120159abb6af330b.
---
 libc/config/baremetal/config.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libc/config/baremetal/config.json b/libc/config/baremetal/config.json
index 0254dc5a98867..1c52cd0093e1c 100644
--- a/libc/config/baremetal/config.json
+++ b/libc/config/baremetal/config.json
@@ -13,6 +13,9 @@
     "LIBC_CONF_PRINTF_DISABLE_FIXED_POINT": {
       "value": true
     },
+    "LIBC_CONF_PRINTF_DISABLE_FLOAT": {
+      "value": true
+    },
     "LIBC_CONF_PRINTF_DISABLE_INDEX_MODE": {
       "value": true
     },
@@ -30,9 +33,6 @@
     },
     "LIBC_COPT_PRINTF_DISABLE_BITINT": {
       "value": true
-    },
-    "LIBC_CONF_PRINTF_MODULAR": {
-      "value": true
     }
   },
   "scanf": {



More information about the libc-commits mailing list