aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-28 19:52:02 +0000
committerChris Lattner <sabre@nondot.org>2005-10-28 19:52:02 +0000
commit32b03ff918d8f21e0435fd4d2e0dfdd26e32089e (patch)
tree56f582cb312b5d3f0ea655a033402a3f69270ac0 /test
parentf02a916d82e35998c52b1eba6601049f8eee4fac (diff)
downloadexternal_llvm-32b03ff918d8f21e0435fd4d2e0dfdd26e32089e.zip
external_llvm-32b03ff918d8f21e0435fd4d2e0dfdd26e32089e.tar.gz
external_llvm-32b03ff918d8f21e0435fd4d2e0dfdd26e32089e.tar.bz2
New testcase. Probably many targets don't support this, so they should probably
add themselves as xfails until they do (at least for the release). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/Generic/isunord.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/isunord.ll b/test/CodeGen/Generic/isunord.ll
new file mode 100644
index 0000000..784c73c
--- /dev/null
+++ b/test/CodeGen/Generic/isunord.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc
+
+declare bool %llvm.isunordered(double, double)
+
+bool %test(double %X, double %Y) {
+ %tmp27 = call bool %llvm.isunordered( double %X, double %Y)
+ ret bool %tmp27
+}