[PATCH] D25479: Guard flag –fdenormal-fp-math with –fno-fast-math

Renato Golin via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 12 03:18:09 PDT 2016


rengolin added inline comments.


================
Comment at: test/Driver/denormal-fp-math.c:4
 // RUN: %clang -### -target arm-unknown-linux-gnu -c %s -fdenormal-fp-math=positive-zero -v 2>&1 | FileCheck -check-prefix=CHECK-PZ %s
+// RUN: %clang -### -target arm-unknown-linux-gnu -c %s -fdenormal-fp-math=ieee -fno-fast-math -v 2>&1 | FileCheck -check-prefix=CHECK-NO-UNSAFE %s
 // RUN: not %clang -target arm-unknown-linux-gnu -c %s -fdenormal-fp-math=foo -v 2>&1 | FileCheck -check-prefix=CHECK-INVALID %s
----------------
Please add all tests that the change is covering.


https://reviews.llvm.org/D25479





More information about the cfe-commits mailing list