[PATCH] D53157: Teach the IRBuilder about constrained fadd and friends

Kevin P. Neal via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 8 11:46:05 PST 2018

kpn added a comment.

In https://reviews.llvm.org/D53157#1291978, @cameron.mcinally wrote:

> In https://reviews.llvm.org/D53157#1291964, @kpn wrote:
> > I don't expect anyone would need to switch between constrained and regular floating point at an instruction level of granularity.
> The Standard allows for this (to some degree). E.g. FENV_ACCESS can be toggled between nested compound statements.

Yes, but I'm not worried about what sort of code is input to a compiler. I'm worried about what is right for the compiler itself. Also, since we're in LLVM here, we have to think about all languages that use LLVM as a backend.


More information about the cfe-commits mailing list