[PATCH] D126364: Fix interaction of pragma FENV_ACCESS with other pragmas
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 26 11:07:42 PDT 2022
efriedma added a comment.
For FENV_ROUND, I think we should try to stick to the standard as closely as possible in Sema; since the standard models FENV_ROUND as a separate state, Sema should also model it as a separate state. If CodeGen decides it needs to modify the FP environment to actually implement the standard's rules, it can change the way it generates code to match. (The example in 7.6.2p5 is just pseudo-code; any internal state changes should be transparent to the user.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126364/new/
https://reviews.llvm.org/D126364
More information about the cfe-commits
mailing list