[compiler-rt] 43ef833 - [Darwin] Mark scalbn tests unsupported on macOS 26.4 (#208858)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 18:40:07 PDT 2026


Author: Andrew Haberlandt
Date: 2026-07-10T18:40:02-07:00
New Revision: 43ef833f39af617eea9850a1818d74ac376296ae

URL: https://github.com/llvm/llvm-project/commit/43ef833f39af617eea9850a1818d74ac376296ae
DIFF: https://github.com/llvm/llvm-project/commit/43ef833f39af617eea9850a1818d74ac376296ae.diff

LOG: [Darwin] Mark scalbn tests unsupported on macOS 26.4 (#208858)

Added: 
    

Modified: 
    compiler-rt/test/builtins/Unit/compiler_rt_scalbn_test.c
    compiler-rt/test/builtins/Unit/compiler_rt_scalbnf_test.c
    compiler-rt/test/lit.common.cfg.py

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/builtins/Unit/compiler_rt_scalbn_test.c b/compiler-rt/test/builtins/Unit/compiler_rt_scalbn_test.c
index 9124601c0bb2e..357e1391b5538 100644
--- a/compiler-rt/test/builtins/Unit/compiler_rt_scalbn_test.c
+++ b/compiler-rt/test/builtins/Unit/compiler_rt_scalbn_test.c
@@ -1,4 +1,5 @@
 // RUN: %clang_builtins %s %librt -o %t && %run %t
+// UNSUPPORTED: osx-broken-scalbn-rounding
 
 #define DOUBLE_PRECISION
 #include <fenv.h>

diff  --git a/compiler-rt/test/builtins/Unit/compiler_rt_scalbnf_test.c b/compiler-rt/test/builtins/Unit/compiler_rt_scalbnf_test.c
index 3ffdde6aed3f2..62a35b23c305a 100644
--- a/compiler-rt/test/builtins/Unit/compiler_rt_scalbnf_test.c
+++ b/compiler-rt/test/builtins/Unit/compiler_rt_scalbnf_test.c
@@ -1,4 +1,5 @@
 // RUN: %clang_builtins %s %librt -o %t && %run %t
+// UNSUPPORTED: osx-broken-scalbn-rounding
 
 #define SINGLE_PRECISION
 #include <fenv.h>

diff  --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index 12446b4708d20..27feda69dc1d9 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -594,6 +594,8 @@ def get_ios_commands_dir():
         config.available_features.add("osx-ld64-live_support")
     if darwin_os_version >= (13, 1):
         config.available_features.add("jit-compatible-osx-swift-runtime")
+    if darwin_os_version >= (26, 4) and darwin_os_version < (27, 0):
+        config.available_features.add("osx-broken-scalbn-rounding")
 
     config.darwin_os_version = darwin_os_version
 


        


More information about the llvm-commits mailing list