summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Alpha/cmov.ll
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-04-14 13:54:10 +0000
committerdim <dim@FreeBSD.org>2012-04-14 13:54:10 +0000
commit1fc08f5e9ef733ef1ce6f363fecedc2260e78974 (patch)
tree19c69a04768629f2d440944b71cbe90adae0b615 /test/CodeGen/Alpha/cmov.ll
parent07637c87f826cdf411f0673595e9bc92ebd793f2 (diff)
downloadFreeBSD-src-1fc08f5e9ef733ef1ce6f363fecedc2260e78974.zip
FreeBSD-src-1fc08f5e9ef733ef1ce6f363fecedc2260e78974.tar.gz
Vendor import of llvm trunk r154661:
http://llvm.org/svn/llvm-project/llvm/trunk@r154661
Diffstat (limited to 'test/CodeGen/Alpha/cmov.ll')
-rw-r--r--test/CodeGen/Alpha/cmov.ll23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/CodeGen/Alpha/cmov.ll b/test/CodeGen/Alpha/cmov.ll
deleted file mode 100644
index 9b655f0..0000000
--- a/test/CodeGen/Alpha/cmov.ll
+++ /dev/null
@@ -1,23 +0,0 @@
-; RUN: llc < %s -march=alpha | not grep cmovlt
-; RUN: llc < %s -march=alpha | grep cmoveq
-
-define i64 @cmov_lt(i64 %a, i64 %c) {
-entry:
- %tmp.1 = icmp slt i64 %c, 0 ; <i1> [#uses=1]
- %retval = select i1 %tmp.1, i64 %a, i64 10 ; <i64> [#uses=1]
- ret i64 %retval
-}
-
-define i64 @cmov_const(i64 %a, i64 %b, i64 %c) {
-entry:
- %tmp.1 = icmp slt i64 %a, %b ; <i1> [#uses=1]
- %retval = select i1 %tmp.1, i64 %c, i64 10 ; <i64> [#uses=1]
- ret i64 %retval
-}
-
-define i64 @cmov_lt2(i64 %a, i64 %c) {
-entry:
- %tmp.1 = icmp sgt i64 %c, 0 ; <i1> [#uses=1]
- %retval = select i1 %tmp.1, i64 10, i64 %a ; <i64> [#uses=1]
- ret i64 %retval
-}
OpenPOWER on IntegriCloud