[clang] Align -ffp-model=fast denormal handling with -ffast-math (PR #89477)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 24 15:07:55 PDT 2024
================
@@ -5,12 +5,15 @@
// crtfastmath enables ftz and daz
// RUN: %clang -### -target x86_64-unknown-linux-gnu -ffast-math --sysroot=%S/Inputs/basic_linux_tree -c %s -v 2>&1 | FileCheck -check-prefix=CHECK-PRESERVESIGN %s
+// RUN: %clang -### -target x86_64-unknown-linux-gnu -ffp-model=fast --sysroot=%S/Inputs/basic_linux_tree -c %s -v 2>&1 | FileCheck -check-prefix=CHECK-PRESERVESIGN %s
----------------
MaskRay wrote:
`--target=` for newer tests. `-target ` has been deprecated since Clang 3.4
https://github.com/llvm/llvm-project/pull/89477
More information about the cfe-commits
mailing list