From 30f290dac339d621972043be70ae520de128a0d5 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 23 Sep 2009 21:46:36 +0000 Subject: [PATCH] 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 --- test/FrontendC/2005-07-20-SqrtNoErrno.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/FrontendC/2005-07-20-SqrtNoErrno.c b/test/FrontendC/2005-07-20-SqrtNoErrno.c index 3f85f728019..3ca70b9556f 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 float foo(float X) {