aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyLibCalls
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-23 05:56:34 +0000
committerChris Lattner <sabre@nondot.org>2006-01-23 05:56:34 +0000
commite7ed39d2e9dbfe42c61e808aa1093c9cc52e3531 (patch)
tree9d2123ee71848d3630d97da70559b4c320659582 /test/Transforms/SimplifyLibCalls
parent39a17dd31ddc4af6067940cb31e2c7d380773478 (diff)
downloadexternal_llvm-e7ed39d2e9dbfe42c61e808aa1093c9cc52e3531.zip
external_llvm-e7ed39d2e9dbfe42c61e808aa1093c9cc52e3531.tar.gz
external_llvm-e7ed39d2e9dbfe42c61e808aa1093c9cc52e3531.tar.bz2
Make sure this tests the right thing, xfail on solaris, which doesn't have floorf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyLibCalls')
-rw-r--r--test/Transforms/SimplifyLibCalls/floor.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Transforms/SimplifyLibCalls/floor.ll b/test/Transforms/SimplifyLibCalls/floor.ll
index 542ff57..b9eba10 100644
--- a/test/Transforms/SimplifyLibCalls/floor.ll
+++ b/test/Transforms/SimplifyLibCalls/floor.ll
@@ -1,4 +1,7 @@
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*floor('
+; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*floor(' &&
+; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep 'call.*floorf('
+
+; XFAIL: sparc
declare double %floor(double)