diff options
author | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-05-07 16:16:07 +0000 |
---|---|---|
committer | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-05-07 16:16:07 +0000 |
commit | 602bff3184d5870167ee1a1e345f420a8b093c05 (patch) | |
tree | f709884807b76fb5be45b2ead01e9417fe79ac93 /clang/test/Driver/mips-features.c | |
parent | 7c093732e8b260e4656e31759e09b81f2b1056ed (diff) | |
download | bcm5719-llvm-602bff3184d5870167ee1a1e345f420a8b093c05.tar.gz bcm5719-llvm-602bff3184d5870167ee1a1e345f420a8b093c05.zip |
[mips] Pass nan2008 info to the back-end.
Summary: The initial support for NaN2008 was added to the back-end in r206396.
Reviewers: atanasyan
Reviewed By: atanasyan
Differential Revision: http://reviews.llvm.org/D3448
llvm-svn: 208220
Diffstat (limited to 'clang/test/Driver/mips-features.c')
-rw-r--r-- | clang/test/Driver/mips-features.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/Driver/mips-features.c b/clang/test/Driver/mips-features.c index d663e6651e5..c21e9750b9c 100644 --- a/clang/test/Driver/mips-features.c +++ b/clang/test/Driver/mips-features.c @@ -72,6 +72,18 @@ // RUN: | FileCheck --check-prefix=CHECK-NOMFP64 %s // CHECK-NOMFP64: "-target-feature" "-fp64" // +// -mnan=2008 +// RUN: %clang -target mips-linux-gnu -### -c %s \ +// RUN: -mnan=legacy -mnan=2008 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-NAN2008 %s +// CHECK-NAN2008: "-target-feature" "+nan2008" +// +// -mnan=legacy +// RUN: %clang -target mips-linux-gnu -### -c %s \ +// RUN: -mnan=2008 -mnan=legacy 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-NANLEGACY %s +// CHECK-NANLEGACY: "-target-feature" "-nan2008" +// // -mxgot // RUN: %clang -target mips-linux-gnu -### -c %s \ // RUN: -mno-xgot -mxgot 2>&1 \ |