summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/select_const.ll
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-10-11 02:02:05 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-10-11 02:02:05 +0000
commite0297196edbe6539e7d3269fa19f84e04dd0a9cd (patch)
tree80b98b4a883f15c19b118c78dca752890f9c2d61 /test/CodeGen/X86/select_const.ll
parentcea9264f6bcc00e5e9b696f5c098719a1461ec58 (diff)
Revert r165661, "Patch by Shuxin Yang <shuxin.llvm@gmail.com>."
It broke stage2 clang and test-suite/MultiSource/Benchmarks/mediabench/g721/g721encode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165692 91177308-0d34-0410-b5e6-96231b3b80d8
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 5b2409d2396..00000000000
--- 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
-
-}