[PATCH] D46236: [Driver, CodeGen] rename options to disable an FP cast optimization

Sanjay Patel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 29 08:28:31 PDT 2018


spatel created this revision.
spatel added reviewers: rsmith, chandlerc, scanon, hans, echristo, jgorbe, lebedev.ri.
Herald added a subscriber: mcrosier.

As suggested in the post-commit thread for https://reviews.llvm.org/rL331056, we should match these clang options with the established vocabulary of the corresponding sanitizer option. Also, the use of 'strict' is well-known for these kinds of knobs, and we can improve the descriptive text in the docs.

So this intends to match the logic of https://reviews.llvm.org/D46135 but only change the words. I'll post the matching LLVM patch next and link it to this.


https://reviews.llvm.org/D46236

Files:
  docs/ReleaseNotes.rst
  docs/UsersManual.rst
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/CGCall.cpp
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/no-junk-ftrunc.c
  test/Driver/fast-math.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46236.144480.patch
Type: text/x-patch
Size: 9574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180429/4a32306b/attachment.bin>


More information about the cfe-commits mailing list