[PATCH] D78827: Add support for #pragma clang fp allow_reassociation(on|off) -- floating point control of associative math transformations

Melanie Blower via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 11:17:47 PDT 2020


mibintc updated this revision to Diff 260381.
mibintc retitled this revision from "Add support for #pragma clang fp reassoc(on|off) -- floating point control of associative math transformations" to "Add support for #pragma clang fp allow_reassociation(on|off) -- floating point control of associative math transformations".
mibintc added a reviewer: erichkeane.
mibintc added a comment.

Add user documentation, rename the pragma to be more user-friendly #pragma clang fp allow_reassociation


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78827

Files:
  clang/docs/LanguageExtensions.rst
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Basic/LangOptions.h
  clang/include/clang/Sema/Sema.h
  clang/lib/CodeGen/BackendUtil.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Parse/ParsePragma.cpp
  clang/lib/Sema/SemaAttr.cpp
  clang/test/CodeGen/fp-reassoc-pragma-fails.cpp
  clang/test/CodeGen/fp-reassoc-pragma.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78827.260381.patch
Type: text/x-patch
Size: 21035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200427/f7271b94/attachment-0001.bin>


More information about the cfe-commits mailing list