[PATCH] D82756: Port some floating point options to new option marshalling infrastructure

Daniel Grumberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 04:17:17 PDT 2020


dang created this revision.
dang added a reviewer: Bigcheese.
Herald added subscribers: llvm-commits, cfe-commits, sstefan1, dexonsmith.
Herald added a reviewer: jdoerfert.
Herald added projects: clang, LLVM.
dang added a parent revision: D82574: Merge TableGen files used for clang options.

This changes cc1 semantics for some options such as `-cl-fast-relaxed-math` that implied other options. Now the driver always emits all the implied options, and each option maps to one key path in `CompilerInvocation` so that the new option parsing system can be used.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82756

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/complex-math.c
  clang/test/CodeGen/fast-math.c
  clang/test/CodeGen/finite-math.c
  clang/test/CodeGen/fp-floatcontrol-stack.cpp
  clang/test/CodeGen/fp-function-attrs.cpp
  clang/test/CodeGen/fp-options-to-fast-math-flags.c
  clang/test/CodeGen/fpconstrained.c
  clang/test/CodeGen/fpconstrained.cpp
  clang/test/CodeGen/libcalls.c
  clang/test/CodeGenOpenCL/no-signed-zeros.cl
  clang/test/CodeGenOpenCL/relaxed-fpmath.cl
  clang/test/Driver/opencl.cl
  clang/test/Headers/nvptx_device_math_sin.c
  clang/test/Headers/nvptx_device_math_sin.cpp
  llvm/utils/TableGen/OptParserEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82756.274048.patch
Type: text/x-patch
Size: 41603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200629/cc168de7/attachment-0001.bin>


More information about the llvm-commits mailing list