[PATCH] D74436: Change clang option -ffp-model=precise to select ffp-contract=on

Jinsong Ji via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 13 14:51:07 PST 2020


jsji added a comment.

This is also breaking test-suites in our internal buildbots ..

This change is actually changing the default behavior: if user does NOT supply `-ffp-contract`, it becomes `-ffp-contract=on`.

So this means any code without explicitly add `-ffp-contract=off` will have `-ffp-contract=on`.
eg: -O0 will also generate FMA.

Is this intended behavior change?   @mibintc @andrew.w.kaylor


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74436/new/

https://reviews.llvm.org/D74436





More information about the cfe-commits mailing list