summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/combine-or.ll
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-10-30 18:19:35 +0000
committerSanjay Patel <spatel@rotateright.com>2016-10-30 18:19:35 +0000
commit339a51ac137d74513636ab32daab36979a6f25bd (patch)
tree8c32549dec6743a6649c8131b261f1e0b41fb883 /llvm/test/CodeGen/X86/combine-or.ll
parent13aee345cae5ba7016d32c23685910607698c404 (diff)
downloadbcm5719-llvm-339a51ac137d74513636ab32daab36979a6f25bd.tar.gz
bcm5719-llvm-339a51ac137d74513636ab32daab36979a6f25bd.zip
[DAG] x | x --> x
llvm-svn: 285522
Diffstat (limited to 'llvm/test/CodeGen/X86/combine-or.ll')
-rw-r--r--llvm/test/CodeGen/X86/combine-or.ll2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/combine-or.ll b/llvm/test/CodeGen/X86/combine-or.ll
index bc439de9cf0..60825d2bc72 100644
--- a/llvm/test/CodeGen/X86/combine-or.ll
+++ b/llvm/test/CodeGen/X86/combine-or.ll
@@ -4,7 +4,6 @@
define i32 @or_self(i32 %x) {
; CHECK-LABEL: or_self:
; CHECK: # BB#0:
-; CHECK-NEXT: orl %edi, %edi
; CHECK-NEXT: movl %edi, %eax
; CHECK-NEXT: retq
%or = or i32 %x, %x
@@ -14,7 +13,6 @@ define i32 @or_self(i32 %x) {
define <4 x i32> @or_self_vec(<4 x i32> %x) {
; CHECK-LABEL: or_self_vec:
; CHECK: # BB#0:
-; CHECK-NEXT: orps %xmm0, %xmm0
; CHECK-NEXT: retq
%or = or <4 x i32> %x, %x
ret <4 x i32> %or
OpenPOWER on IntegriCloud