aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic')
-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
+}