[PATCH] D31164: [IR] Add AllowContract to FastMathFlags

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 20:25:59 PDT 2017


arsenm added a comment.

Needs assembler and bitcode compatibility tests



================
Comment at: docs/LangRef.rst:2197-2200
+``contract``
+   Allow floating-point contraction (e.g. fusing a multiply followed by an
+   addition into a fused multiply-and-add).
+
----------------
Should we also have an unsafe algebra that preserves signed zeros/nans etc?


https://reviews.llvm.org/D31164





More information about the llvm-commits mailing list