Skip to content

Commit 38f07b1

Browse files
committed
[InstCombine] remove duplicate tests
These got accidentally doubled with rL356191. llvm-svn: 356195
1 parent 72b8e77 commit 38f07b1

File tree

1 file changed

+0
-36
lines changed
  • llvm/test/Transforms/InstCombine

1 file changed

+0
-36
lines changed

llvm/test/Transforms/InstCombine/fsh.ll

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -347,42 +347,6 @@ define <2 x i32> @fshr_constant_shift_amount_modulo_bitwidth_vec(<2 x i32> %x, <
347347
ret <2 x i32> %r
348348
}
349349

350-
define <2 x i31> @fshl_constant_shift_amount_modulo_bitwidth_vec(<2 x i31> %x, <2 x i31> %y) {
351-
; CHECK-LABEL: @fshl_constant_shift_amount_modulo_bitwidth_vec(
352-
; CHECK-NEXT: [[R:%.*]] = call <2 x i31> @llvm.fshl.v2i31(<2 x i31> [[X:%.*]], <2 x i31> [[Y:%.*]], <2 x i31> <i31 34, i31 -1>)
353-
; CHECK-NEXT: ret <2 x i31> [[R]]
354-
;
355-
%r = call <2 x i31> @llvm.fshl.v2i31(<2 x i31> %x, <2 x i31> %y, <2 x i31> <i31 34, i31 -1>)
356-
ret <2 x i31> %r
357-
}
358-
359-
define i32 @fshl_constant_shift_amount_modulo_bitwidth(i32 %x, i32 %y) {
360-
; CHECK-LABEL: @fshl_constant_shift_amount_modulo_bitwidth(
361-
; CHECK-NEXT: [[R:%.*]] = call i32 @llvm.fshl.i32(i32 [[X:%.*]], i32 [[Y:%.*]], i32 33)
362-
; CHECK-NEXT: ret i32 [[R]]
363-
;
364-
%r = call i32 @llvm.fshl.i32(i32 %x, i32 %y, i32 33)
365-
ret i32 %r
366-
}
367-
368-
define i33 @fshr_constant_shift_amount_modulo_bitwidth(i33 %x, i33 %y) {
369-
; CHECK-LABEL: @fshr_constant_shift_amount_modulo_bitwidth(
370-
; CHECK-NEXT: [[R:%.*]] = call i33 @llvm.fshr.i33(i33 [[X:%.*]], i33 [[Y:%.*]], i33 34)
371-
; CHECK-NEXT: ret i33 [[R]]
372-
;
373-
%r = call i33 @llvm.fshr.i33(i33 %x, i33 %y, i33 34)
374-
ret i33 %r
375-
}
376-
377-
define <2 x i32> @fshr_constant_shift_amount_modulo_bitwidth_vec(<2 x i32> %x, <2 x i32> %y) {
378-
; CHECK-LABEL: @fshr_constant_shift_amount_modulo_bitwidth_vec(
379-
; CHECK-NEXT: [[R:%.*]] = call <2 x i32> @llvm.fshr.v2i32(<2 x i32> [[X:%.*]], <2 x i32> [[Y:%.*]], <2 x i32> <i32 34, i32 -1>)
380-
; CHECK-NEXT: ret <2 x i32> [[R]]
381-
;
382-
%r = call <2 x i32> @llvm.fshr.v2i32(<2 x i32> %x, <2 x i32> %y, <2 x i32> <i32 34, i32 -1>)
383-
ret <2 x i32> %r
384-
}
385-
386350
define <2 x i31> @fshl_constant_shift_amount_modulo_bitwidth_vec(<2 x i31> %x, <2 x i31> %y) {
387351
; CHECK-LABEL: @fshl_constant_shift_amount_modulo_bitwidth_vec(
388352
; CHECK-NEXT: [[R:%.*]] = call <2 x i31> @llvm.fshl.v2i31(<2 x i31> [[X:%.*]], <2 x i31> [[Y:%.*]], <2 x i31> <i31 3, i31 1>)

0 commit comments

Comments
 (0)