[compiler-rt] compiler-rt/arm: Check for overflow when adding float denorms (PR #185245)

Keith Packard via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 10:12:27 PDT 2026


================
@@ -0,0 +1,126 @@
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+
+// RUN: %clang_builtins %s %librt -o %t && %run %t
+// REQUIRES: librt_has_addsf3
----------------
keith-packard wrote:

I would think the library would only include addsf3 for soft-float targets? That's my experience with libgcc, perhaps compiler-rt is different though...

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


More information about the llvm-commits mailing list