summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Blackfin/cmp-small-imm.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Blackfin/cmp-small-imm.ll')
-rw-r--r--test/CodeGen/Blackfin/cmp-small-imm.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/Blackfin/cmp-small-imm.ll b/test/CodeGen/Blackfin/cmp-small-imm.ll
new file mode 100644
index 0000000..e1732a8
--- /dev/null
+++ b/test/CodeGen/Blackfin/cmp-small-imm.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=bfin > %t
+
+define i1 @cmp3(i32 %A) {
+ %R = icmp uge i32 %A, 2
+ ret i1 %R
+}
OpenPOWER on IntegriCloud