This adds a separate file for the fp denormal regression tests. NFC.

I forgot to svn add the new file in my previous commit.

llvm-svn: 283110
This commit is contained in:
Sjoerd Meijer 2016-10-03 13:13:50 +00:00
parent a5d3fd4780
commit d98493414b
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// RUN: %clang -### -target arm-unknown-linux-gnu -c %s -fdenormal-fp-math=ieee -v 2>&1 | FileCheck -check-prefix=CHECK-IEEE %s
// RUN: %clang -### -target arm-unknown-linux-gnu -c %s -fdenormal-fp-math=preserve-sign -v 2>&1 | FileCheck -check-prefix=CHECK-PS %s
// RUN: %clang -### -target arm-unknown-linux-gnu -c %s -fdenormal-fp-math=positive-zero -v 2>&1 | FileCheck -check-prefix=CHECK-PZ %s
// RUN: not %clang -target arm-unknown-linux-gnu -c %s -fdenormal-fp-math=foo -v 2>&1 | FileCheck -check-prefix=CHECK-INVALID %s
// CHECK-IEEE: "-fdenormal-fp-math=ieee"
// CHECK-PS: "-fdenormal-fp-math=preserve-sign"
// CHECK-PZ: "-fdenormal-fp-math=positive-zero"
// CHECK-INVALID: error: invalid value 'foo' in '-fdenormal-fp-math=foo'