[all-commits] [llvm/llvm-project] b5e93e: [flang] Add -f[no-]honor-nans and -menable-no-nans

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Nov 4 10:25:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5e93e390c06602cb03121ad875e2855253e2937
      https://github.com/llvm/llvm-project/commit/b5e93e390c06602cb03121ad875e2855253e2937
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/LangOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Driver/driver-help.f90
    M flang/test/Driver/flang_fp_opts.f90
    M flang/test/Driver/frontend-forwarding.f90

  Log Message:
  -----------
  [flang] Add -f[no-]honor-nans and -menable-no-nans

Only add the option processing and store the result. No attributes are
added to FIR yet.

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


  Commit: 36b37a1ed561404a32a4b4b6e2bd92d915894a7c
      https://github.com/llvm/llvm-project/commit/36b37a1ed561404a32a4b4b6e2bd92d915894a7c
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/LangOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90
    M flang/test/Driver/flang_fp_opts.f90
    M flang/test/Driver/frontend-forwarding.f90

  Log Message:
  -----------
  [flang] Add -f[no-]approx-func

Only add the option processing and store the result. No attributes are
added to FIR yet.

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


  Commit: b5b8a8cfbe1ee3c2d3684dd62e7f0ddeeeb73273
      https://github.com/llvm/llvm-project/commit/b5b8a8cfbe1ee3c2d3684dd62e7f0ddeeeb73273
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/LangOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90
    M flang/test/Driver/flang_fp_opts.f90
    M flang/test/Driver/frontend-forwarding.f90

  Log Message:
  -----------
  [flang] Add -f[no-]signed-zeros

Only add the option processing and store the result. No attributes are
added to FIR yet.

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


  Commit: c4dc3c029416a25103d631e8dc5422f65c076376
      https://github.com/llvm/llvm-project/commit/c4dc3c029416a25103d631e8dc5422f65c076376
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/LangOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Driver/driver-help.f90
    M flang/test/Driver/flang_fp_opts.f90
    M flang/test/Driver/frontend-forwarding.f90

  Log Message:
  -----------
  [flang] Add -f[no-]associative-math and -mreassociate

Only add the option processing and store the result. No attributes are
added to FIR yet.

Clang only forwards -mreassociate
if (AssociativeMath && !SignedZeros && !TrappingMath)

Flang doesn't have -f[no-]trapping-math, so this part of the condition
has been omitted. !TrappingMath is the default.

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


  Commit: d0d4b635786d510cd919cadbeb7e5e19983242cf
      https://github.com/llvm/llvm-project/commit/d0d4b635786d510cd919cadbeb7e5e19983242cf
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/LangOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90
    M flang/test/Driver/flang_fp_opts.f90
    M flang/test/Driver/frontend-forwarding.f90

  Log Message:
  -----------
  [flang] add -f[no-]reciprocal-math

Only add the option processing and store the result. No attributes are
added to FIR yet.

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


Compare: https://github.com/llvm/llvm-project/compare/a7fa5febaa43...d0d4b635786d


More information about the All-commits mailing list