summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/select_const.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/select_const.ll')
-rw-r--r--test/CodeGen/X86/select_const.ll16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/CodeGen/X86/select_const.ll b/test/CodeGen/X86/select_const.ll
deleted file mode 100644
index 5b2409d239..0000000000
--- a/test/CodeGen/X86/select_const.ll
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -mcpu=corei7 | FileCheck %s
-
-define i64 @test1(i64 %x) nounwind {
-entry:
- %cmp = icmp eq i64 %x, 2
- %add = add i64 %x, 1
- %retval.0 = select i1 %cmp, i64 2, i64 %add
- ret i64 %retval.0
-
-; CHECK: test1:
-; CHECK: leaq 1(%rdi), %rax
-; CHECK: cmpq $2, %rdi
-; CHECK: cmoveq %rdi, %rax
-; CHECK: ret
-
-}