summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll')
-rw-r--r--test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll b/test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll
new file mode 100644
index 0000000..cfbf7fc
--- /dev/null
+++ b/test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=alpha
+
+define i1 @a(float %x) {
+ %r = fcmp ult float %x, 1.0
+ ret i1 %r
+}
OpenPOWER on IntegriCloud