From: Sanjay Patel Date: Thu, 14 Mar 2019 19:41:21 +0000 (+0000) Subject: [InstCombine] remove duplicate tests X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8324661573d880417cfd2faefb4f14420e85d6b;p=llvm [InstCombine] remove duplicate tests These got accidentally doubled with rL356191. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356195 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/fsh.ll b/test/Transforms/InstCombine/fsh.ll index b913a3d614b..2a1f87af50a 100644 --- a/test/Transforms/InstCombine/fsh.ll +++ b/test/Transforms/InstCombine/fsh.ll @@ -347,42 +347,6 @@ define <2 x i32> @fshr_constant_shift_amount_modulo_bitwidth_vec(<2 x i32> %x, < ret <2 x i32> %r } -define <2 x i31> @fshl_constant_shift_amount_modulo_bitwidth_vec(<2 x i31> %x, <2 x i31> %y) { -; CHECK-LABEL: @fshl_constant_shift_amount_modulo_bitwidth_vec( -; CHECK-NEXT: [[R:%.*]] = call <2 x i31> @llvm.fshl.v2i31(<2 x i31> [[X:%.*]], <2 x i31> [[Y:%.*]], <2 x i31> ) -; CHECK-NEXT: ret <2 x i31> [[R]] -; - %r = call <2 x i31> @llvm.fshl.v2i31(<2 x i31> %x, <2 x i31> %y, <2 x i31> ) - ret <2 x i31> %r -} - -define i32 @fshl_constant_shift_amount_modulo_bitwidth(i32 %x, i32 %y) { -; CHECK-LABEL: @fshl_constant_shift_amount_modulo_bitwidth( -; CHECK-NEXT: [[R:%.*]] = call i32 @llvm.fshl.i32(i32 [[X:%.*]], i32 [[Y:%.*]], i32 33) -; CHECK-NEXT: ret i32 [[R]] -; - %r = call i32 @llvm.fshl.i32(i32 %x, i32 %y, i32 33) - ret i32 %r -} - -define i33 @fshr_constant_shift_amount_modulo_bitwidth(i33 %x, i33 %y) { -; CHECK-LABEL: @fshr_constant_shift_amount_modulo_bitwidth( -; CHECK-NEXT: [[R:%.*]] = call i33 @llvm.fshr.i33(i33 [[X:%.*]], i33 [[Y:%.*]], i33 34) -; CHECK-NEXT: ret i33 [[R]] -; - %r = call i33 @llvm.fshr.i33(i33 %x, i33 %y, i33 34) - ret i33 %r -} - -define <2 x i32> @fshr_constant_shift_amount_modulo_bitwidth_vec(<2 x i32> %x, <2 x i32> %y) { -; CHECK-LABEL: @fshr_constant_shift_amount_modulo_bitwidth_vec( -; CHECK-NEXT: [[R:%.*]] = call <2 x i32> @llvm.fshr.v2i32(<2 x i32> [[X:%.*]], <2 x i32> [[Y:%.*]], <2 x i32> ) -; CHECK-NEXT: ret <2 x i32> [[R]] -; - %r = call <2 x i32> @llvm.fshr.v2i32(<2 x i32> %x, <2 x i32> %y, <2 x i32> ) - ret <2 x i32> %r -} - define <2 x i31> @fshl_constant_shift_amount_modulo_bitwidth_vec(<2 x i31> %x, <2 x i31> %y) { ; CHECK-LABEL: @fshl_constant_shift_amount_modulo_bitwidth_vec( ; CHECK-NEXT: [[R:%.*]] = call <2 x i31> @llvm.fshl.v2i31(<2 x i31> [[X:%.*]], <2 x i31> [[Y:%.*]], <2 x i31> )