[all-commits] [llvm/llvm-project] 48ad44: [clang][fpenv][patch] Change clang option -ffp-mod...

Melanie Blower via All-commits all-commits at lists.llvm.org
Tue Jul 27 10:56:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48ad446a0fb2c9b98cb7047e4daf8a84c29cef8f
      https://github.com/llvm/llvm-project/commit/48ad446a0fb2c9b98cb7047e4daf8a84c29cef8f
  Author: Melanie Blower <melanie.blower at intel.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CodeGen/ffp-contract-option.c
    M clang/test/CodeGen/ppc-emmintrin.c
    M clang/test/CodeGen/ppc-xmmintrin.c
    M clang/test/Driver/fp-model.c

  Log Message:
  -----------
  [clang][fpenv][patch] Change clang option -ffp-model=precise to select ffp-contract=on

Change the ffp-model=precise to enables -ffp-contract=on (previously
-ffp-model=precise enabled -ffp-contract=fast). This is a follow-up
to Andy Kaylor's comments in the llvm-dev discussion "Floating Point
semantic modes". From the same email thread, I put Andy's distillation
of floating point options and floating point modes into UsersManual.rst
Also fixes bugs.llvm.org/show_bug.cgi?id=50222

I had to revert this a few times because of failures on the x86-64
buildbot but I think we finally have that fixed by LNT/79f2b03c51.

Reviewed By: rjmccall, andrew.kaylor

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




More information about the All-commits mailing list