[clang] [Driver] Clean up fp-contract handling in clang driver (PR #91271)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri May 10 10:32:23 PDT 2024


================
@@ -238,3 +238,17 @@
 // RUN: %clang -### -fno-unsafe-math-optimizations -funsafe-math-optimizations \
 // RUN: -ffp-contract=off -c %s 2>&1 | FileCheck --check-prefix=CHECK-FPC-OFF %s
 
+// RUN: %clang -### -funsafe-math-optimizations -ffp-contract=off -c %s 2>&1 \
----------------
MaskRay wrote:

L161 has similar `-funsafe-math-optimizations -ffp-contract=off` checks. The test can be folded there.

https://github.com/llvm/llvm-project/pull/91271


More information about the cfe-commits mailing list