[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:25 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"
----------------
MaskRay wrote:
If abs2008 is adjacent, just place it after "+nan2008" so that it's clear there is no other option in between.
https://github.com/llvm/llvm-project/pull/71157
More information about the cfe-commits
mailing list