[all-commits] [llvm/llvm-project] 7ab803: [clang][cli] Remove -f[no-]trapping-math from -cc1...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Tue Jan 12 01:00:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ab803095ae58445996dc4694acb216e3a32ee64
      https://github.com/llvm/llvm-project/commit/7ab803095ae58445996dc4694acb216e3a32ee64
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CodeGen/fpconstrained.c
    M clang/test/CodeGen/fpconstrained.cpp
    M clang/test/CodeGen/noexceptionsfpmath.c
    M clang/test/CodeGenCUDA/propagate-metadata.cu
    M clang/test/Driver/fast-math.c
    M clang/test/Driver/fp-model.c
    M clang/test/Parser/fp-floatcontrol-syntax.cpp

  Log Message:
  -----------
  [clang][cli] Remove -f[no-]trapping-math from -cc1 command line

This patch removes the -f[no-]trapping-math flags from the -cc1 command line. These flags are ignored in the command line parser and their semantics is fully handled by -ffp-exception-mode.

This patch does not remove -f[no-]trapping-math from the driver command line. The driver flags are being used and do affect compilation.

Reviewed By: dexonsmith, SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D93395




More information about the All-commits mailing list