[PATCH] D31276: Add #pragma clang fast_math

Adam Nemet via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 28 17:29:20 PDT 2017


anemet updated this revision to Diff 93325.
anemet retitled this revision from "Add #pragma clang fp" to "Add #pragma clang fast_math".
anemet edited the summary of this revision.
anemet added a comment.

Rename pragma from #pragma clang fast_math contract_fast(on/off) -> #pragma clang fp contract(on/fast/off)

No other functional change.


https://reviews.llvm.org/D31276

Files:
  docs/LanguageExtensions.rst
  include/clang/Basic/DiagnosticParseKinds.td
  include/clang/Basic/TokenKinds.def
  include/clang/Parse/Parser.h
  include/clang/Sema/Sema.h
  lib/Parse/ParsePragma.cpp
  lib/Parse/ParseStmt.cpp
  lib/Parse/Parser.cpp
  lib/Sema/SemaAttr.cpp
  test/CodeGen/fp-contract-fast-pragma.cpp
  test/CodeGen/fp-contract-on-pragma.cpp
  test/Parser/cxx11-stmt-attributes.cpp
  test/Parser/pragma-fp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31276.93325.patch
Type: text/x-patch
Size: 19460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170329/f886db15/attachment-0001.bin>


More information about the cfe-commits mailing list