[clang][FPEnv] Clang floatng point model ffp-model=precise enables ffp-contract=on
authorMelanie Blower <melanie.blower@intel.com>
Sat, 19 Jun 2021 10:49:27 +0000 (06:49 -0400)
committerMelanie Blower <melanie.blower@intel.com>
Sat, 19 Jun 2021 10:49:27 +0000 (06:49 -0400)
commita1449a10dbcfcf353f4f761281c4e572b4ce9308
tree6b097c1718f755a6e0f0ffe84b57052459cf7654
parent876de062f94650f9ded56a22b062236f711fcd18
[clang][FPEnv] Clang floatng point model ffp-model=precise enables ffp-contract=on

This patch changes 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

Differential Revision: https://reviews.llvm.org/D74436
clang/docs/UsersManual.rst
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/CodeGen/ffp-contract-option.c
clang/test/CodeGen/ppc-emmintrin.c
clang/test/CodeGen/ppc-xmmintrin.c
clang/test/Driver/fp-model.c