aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/cmp0.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-10-08 05:04:58 +0000
committerChris Lattner <sabre@nondot.org>2010-10-08 05:04:58 +0000
commitcd52a42bddb9e3b7881cfbc6de2d08964fd64ffb (patch)
tree8b4b8420f2d9147cbbcd3986fa912da1b1428839 /test/CodeGen/X86/cmp0.ll
parent4409c82a21d1b0e562b5bbb97ad9062c3cb2438b (diff)
downloadexternal_llvm-cd52a42bddb9e3b7881cfbc6de2d08964fd64ffb.zip
external_llvm-cd52a42bddb9e3b7881cfbc6de2d08964fd64ffb.tar.gz
external_llvm-cd52a42bddb9e3b7881cfbc6de2d08964fd64ffb.tar.bz2
merge tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/cmp0.ll')
-rw-r--r--test/CodeGen/X86/cmp0.ll24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/CodeGen/X86/cmp0.ll b/test/CodeGen/X86/cmp0.ll
deleted file mode 100644
index 48784488..0000000
--- a/test/CodeGen/X86/cmp0.ll
+++ /dev/null
@@ -1,24 +0,0 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
-
-define i64 @test0(i64 %x) nounwind {
- %t = icmp eq i64 %x, 0
- %r = zext i1 %t to i64
- ret i64 %r
-; CHECK: test0:
-; CHECK: testq %rdi, %rdi
-; CHECK: sete %al
-; CHECK: movzbl %al, %eax
-; CHECK: ret
-}
-
-define i64 @test1(i64 %x) nounwind {
- %t = icmp slt i64 %x, 1
- %r = zext i1 %t to i64
- ret i64 %r
-; CHECK: test1:
-; CHECK: testq %rdi, %rdi
-; CHECK: setle %al
-; CHECK: movzbl %al, %eax
-; CHECK: ret
-}
-