[clang] Clang/MIPS: Use -mnan value for -mabs if not specified (PR #71157)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 2 05:29:24 PST 2024
================
@@ -214,6 +214,14 @@
// RUN: -mnan=legacy -mnan=2008 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-NAN2008 %s
// CHECK-NAN2008: "-target-feature" "+nan2008"
+// CHECK-NAN2008: "-target-feature" "+abs2008"
+//
+// -mnan=2008 -mabs=legacy
+// RUN: %clang -target mips-linux-gnu -march=mips32r3 -### -c %s \
----------------
MaskRay wrote:
`--target=`
https://github.com/llvm/llvm-project/pull/71157
More information about the cfe-commits
mailing list