Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit 353d6a98bfdceabd1f08801baf90699148a6c8c3
Author: Yuxuan Chen <ych@fb.com>
Date: Mon Sep 8 14:17:59 2025 -0700

[libc++] Conditionally declare `lgamma_r` as noexcept (#156547)

An older PR https://github.com/llvm/llvm-project/pull/102036 suggested
that LLVM libc declares `lgamma_r` as noexcept and is incompatible with
this redeclaration. However, I recently discovered that glibc also
declares the math functions to be noexcept under C++ mode.

This line usually don't cause issues because both the glibc and this
file are included as "system headers". According to [this
godbolt](https://godbolt.org/z/o7Wd9PP58), both GCC and clang ignore the
different exception specification between multiple declarations if they
are in system headers.

However, this seems not the case for NVCC/EDG, so a fix for this
redeclaration is still desirable. This patch proposes that we should
declare the function as noexcept under known libc integrations to keep
the declared function consistent.
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 551740 2025-12-16T16:40:01 0:00:00
Previous 551647 2025-12-16T16:40:01 0:00:00
Baseline 485288 2025-12-16T16:40:01 0:00:00


Tests Summary

Status Group # # (B)
Performance Regressions 5 0
Performance Improvements 1 0
Added Tests 0 15
Unchanged Tests 69 60
Total Tests 75

Performance Regressions - execution_time Δ Previous Current σ Δ (B) σ (B)
710_omnetpp_r 3.80% 8.439 8.760 - 0.00% -
707_ntest_r 2.75% 17.923 18.416 - 0.00% -
723_llvm_r 2.39% 11.542 11.818 - 0.00% -
753_ns3_r 1.71% 10.334 10.511 - 0.00% -
706_stockfish_r 1.37% 21.985 22.287 - 0.00% -

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
748_flightdm_r -1.17% 8.913 8.809 - 0.00% -

Added Tests - execution_time
706_stockfish_r
707_ntest_r
709_cactus_r
710_omnetpp_r
721_gcc_r
723_llvm_r
727_cppcheck_r
729_abc_r
731_astcenc_r
736_ocio_r
737_gmsh_r
748_flightdm_r
750_sealcrypto_r
753_ns3_r
766_femflow_r


Report Time: 0.08s
Name Current %
706_stockfish_r 22.287 1.37%
707_ntest_r 18.416 2.75%
709_cactus_r 19.750 -
710_omnetpp_r 8.760 3.80%
721_gcc_r 13.018 -
723_llvm_r 11.818 2.39%
727_cppcheck_r 24.154 -
729_abc_r 18.762 -
731_astcenc_r 10.092 -
736_ocio_r 16.332 -
737_gmsh_r 12.992 -
748_flightdm_r 8.809 -1.17%
750_sealcrypto_r 18.465 -
753_ns3_r 10.511 1.71%
766_femflow_r 12.917 -
Geometric Mean 14.387 -