199e1e8
diff -up chromium-120.0.6099.35/build/config/compiler/BUILD.gn.than chromium-120.0.6099.35/build/config/compiler/BUILD.gn
199e1e8
--- chromium-120.0.6099.35/build/config/compiler/BUILD.gn.than	2023-11-26 17:02:25.647022746 +0100
199e1e8
+++ chromium-120.0.6099.35/build/config/compiler/BUILD.gn	2023-11-26 17:15:58.025585358 +0100
199e1e8
@@ -616,24 +616,6 @@ config("compiler") {
199e1e8
       }
199e1e8
     }
199e1e8
 
199e1e8
-    # TODO(crbug.com/1488374): This causes binary size growth and potentially
199e1e8
-    # other problems.
199e1e8
-    # TODO(crbug.com/1491036): This isn't supported by Cronet's mainline llvm version.
199e1e8
-    if (default_toolchain != "//build/toolchain/cros:target" &&
199e1e8
-        !llvm_android_mainline) {
199e1e8
-      cflags += [
199e1e8
-        "-mllvm",
199e1e8
-        "-split-threshold-for-reg-with-hint=0",
199e1e8
-      ]
199e1e8
-      if (use_thin_lto && is_a_target_toolchain) {
199e1e8
-        if (is_win) {
199e1e8
-          ldflags += [ "-mllvm:-split-threshold-for-reg-with-hint=0" ]
199e1e8
-        } else {
199e1e8
-          ldflags += [ "-Wl,-mllvm,-split-threshold-for-reg-with-hint=0" ]
199e1e8
-        }
199e1e8
-      }
199e1e8
-    }
199e1e8
-
199e1e8
     # TODO(crbug.com/1235145): Investigate why/if this should be needed.
199e1e8
     if (is_win) {
199e1e8
       cflags += [ "/clang:-ffp-contract=off" ]