aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-09-23 21:46:36 +0000
committerDale Johannesen <dalej@apple.com>2009-09-23 21:46:36 +0000
commit7b4f81c688a6b32d799f7e0b95f6fe131d7ffb24 (patch)
tree19062481b20fb7fa526f13ea682c95270d2cb12f
parent78caa12a415bbd16db04088be6378398d4909b6f (diff)
downloadexternal_llvm-7b4f81c688a6b32d799f7e0b95f6fe131d7ffb24.zip
external_llvm-7b4f81c688a6b32d799f7e0b95f6fe131d7ffb24.tar.gz
external_llvm-7b4f81c688a6b32d799f7e0b95f6fe131d7ffb24.tar.bz2
Disable test; what it's testing for is wrong.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82658 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/FrontendC/2005-07-20-SqrtNoErrno.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/FrontendC/2005-07-20-SqrtNoErrno.c b/test/FrontendC/2005-07-20-SqrtNoErrno.c
index 3f85f72..3ca70b9 100644
--- a/test/FrontendC/2005-07-20-SqrtNoErrno.c
+++ b/test/FrontendC/2005-07-20-SqrtNoErrno.c
@@ -1,4 +1,7 @@
// RUN: %llvmgcc %s -S -o - -fno-math-errno | grep llvm.sqrt
+// llvm.sqrt has undefined behavior on negative inputs, so it is
+// inappropriate to translate C/C++ sqrt to this.
+// XFAIL: *
#include <math.h>
float foo(float X) {