[PATCH] D72841: Add support for pragma float_control, to control precision and exception behavior at the source level

Puyan Lotfi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 11 11:18:06 PDT 2020


plotfi added a subscriber: ab.
plotfi added a comment.

@ab @rjmccall @mibintc Posted D79730 <https://reviews.llvm.org/D79730> for consideration.
@mibintc can you produce a version of _this_ diff that works with D79730 <https://reviews.llvm.org/D79730> applied. Currently the following fail, as they do on Apple Master:

  Failing Tests (4):
    Clang :: CodeGen/finite-math.c
    Clang :: CodeGen/fp-floatcontrol-stack.cpp
    Clang :: CodeGenOpenCL/relaxed-fpmath.cl
    Clang :: Frontend/diagnostics-order.c



In D72841#2029309 <https://reviews.llvm.org/D72841#2029309>, @mibintc wrote:

> @rjmccall Uncertain how to proceed, can you recommend?  If I recall correctly, I added the lines in CompilerOptions because there were many failing lit tests, i could have fixed the lit fails by adding the lang options to the lit tests. (of course that change could have other repercussions)





Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72841





More information about the cfe-commits mailing list