[all-commits] [llvm/llvm-project] f254ae: [libc] Add FENV_ACCESS pragma with CMake compiler ...
Marcos Ramirez Joos via All-commits
all-commits at lists.llvm.org
Mon Jun 1 14:36:50 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f254ae6f7f12042d3822c64d4467fe3d385f992c
https://github.com/llvm/llvm-project/commit/f254ae6f7f12042d3822c64d4467fe3d385f992c
Author: Marcos Ramirez Joos <mramirezjoos.oss at proton.me>
Date: 2026-06-01 (Mon, 01 Jun 2026)
Changed paths:
M libc/cmake/modules/CheckCompilerFeatures.cmake
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
M libc/cmake/modules/LLVMLibCTestRules.cmake
A libc/cmake/modules/compiler_features/check_stdc_fenv_access.cpp
M libc/src/__support/FPUtil/FEnvImpl.h
Log Message:
-----------
[libc] Add FENV_ACCESS pragma with CMake compiler feature detection (#200268)
Related to https://github.com/llvm/llvm-project/pull/199009
Added compiler feature detection for _STDC FENV_ACCESS_ pragma. It is
used to conditionally add function-scoped `#pragma STDC FENV_ACCESS ON`
to `libc/src/__support/FPUtil/FEnvAccess.h`, whenever functions from the
`<fenv.h>` header are called and the target supports the pragma.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list