[PATCH] D107994: Making the code compliant to the documentation about Floating Point support default values for C/C++. FPP-MODEL=PRECISE enables FFP-CONTRACT (FMA is enabled).
Andy Kaylor via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 9 17:47:49 PST 2021
andrew.w.kaylor added inline comments.
================
Comment at: clang/test/CodeGen/ffp-model.c:4
+// RUN: | FileCheck %s \
+// RUN: --check-prefixes=CHECK,CHECK-FAST --strict-whitespace
+
----------------
Why did you add the strict-whitespace option?
================
Comment at: clang/test/CodeGen/ffp-model.c:10
+
+// RUN: %clang -S -emit-llvm -ffp-model=strict %s -o - \
+// RUN: | FileCheck %s \
----------------
This is still going to have problems with targets that don't support strictfp unless you add an explicit target to the run line.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107994/new/
https://reviews.llvm.org/D107994
More information about the cfe-commits
mailing list