[PATCH] D151834: Include math-errno with fast-math
Zahira Ammarguellat via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 31 13:12:19 PDT 2023
zahiraam created this revision.
zahiraam added reviewers: andrew.w.kaylor, jcranmer-intel.
Herald added a project: All.
zahiraam requested review of this revision.
Herald added a project: clang.
MSVC includes math-errno with #pragma float_control(precise,on) at O2 <https://reviews.llvm.org/owners/package/2/>.
At fast-math math-errno should also be included with optnone and the pragma.
https://github.com/llvm/llvm-project/issues/62098
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151834
Files:
clang/include/clang/Basic/FPOptions.def
clang/include/clang/Basic/LangOptions.h
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/test/CodeGen/math-errno.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151834.527177.patch
Type: text/x-patch
Size: 5185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230531/f85f65db/attachment.bin>
More information about the cfe-commits
mailing list