summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/combine-srl.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/combine-srl.ll')
-rw-r--r--llvm/test/CodeGen/X86/combine-srl.ll18
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/test/CodeGen/X86/combine-srl.ll b/llvm/test/CodeGen/X86/combine-srl.ll
index 6ae2dc59786..2c99e941f5e 100644
--- a/llvm/test/CodeGen/X86/combine-srl.ll
+++ b/llvm/test/CodeGen/X86/combine-srl.ll
@@ -3,24 +3,6 @@
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefixes=CHECK,AVX,AVX2-SLOW
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2,+fast-variable-shuffle | FileCheck %s --check-prefixes=CHECK,AVX,AVX2-FAST
-; fold (srl undef, x) -> 0
-define i32 @combine_lshr_undef0(i32 %x) {
-; CHECK-LABEL: combine_lshr_undef0:
-; CHECK: # %bb.0:
-; CHECK-NEXT: xorl %eax, %eax
-; CHECK-NEXT: retq
- %1 = lshr i32 undef, %x
- ret i32 %1
-}
-
-define <4 x i32> @combine_vec_lshr_undef0(<4 x i32> %x) {
-; CHECK-LABEL: combine_vec_lshr_undef0:
-; CHECK: # %bb.0:
-; CHECK-NEXT: retq
- %1 = lshr <4 x i32> undef, %x
- ret <4 x i32> %1
-}
-
; fold (srl 0, x) -> 0
define <4 x i32> @combine_vec_lshr_zero(<4 x i32> %x) {
; SSE-LABEL: combine_vec_lshr_zero:
OpenPOWER on IntegriCloud