[PATCH] D69272: Restricted variant of '#pragma STDC FENV_ACCESS'

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 20 08:39:28 PST 2019


sepavloff added a comment.

In D69272#1792877 <https://reviews.llvm.org/D69272#1792877>, @kpn wrote:

> My understanding of this patch is that it only allows the #pragma at the top of each function. It doesn't allow it in blocks inside the function. So if a function has a block inside it that uses strict FP the patch doesn't change the rest of the function to use constrained FP with the settings like you said. And my question was asking if there was a way forward with this patch to a full implementation.


@hfinkel proposed to use outlining to extract a block with the #pragma to separate function. It could be a basis for a full implementation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69272/new/

https://reviews.llvm.org/D69272





More information about the cfe-commits mailing list