From e2ba2cb57229ee81242278a092358124d32fc814 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Fri, 14 Oct 2016 15:36:28 +0000 Subject: [PATCH] [InstCombine] remove redundant test This test was apparently checking for 2 independent folds, but we have plenty of tests for those individual folds already. We are lacking vector tests, however, because we don't have the shift folds for vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284243 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/sub.ll | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll index 68f766c54d9..540bdc980d8 100644 --- a/test/Transforms/InstCombine/sub.ll +++ b/test/Transforms/InstCombine/sub.ll @@ -152,17 +152,6 @@ define i32 @test13(i32 %A) { ret i32 %C } -define i32 @test14(i32 %A) { -; CHECK-LABEL: @test14( -; CHECK-NEXT: [[D:%.*]] = ashr i32 %A, 31 -; CHECK-NEXT: ret i32 [[D]] -; - %B = lshr i32 %A, 31 - %C = bitcast i32 %B to i32 - %D = sub i32 0, %C - ret i32 %D -} - define i32 @test15(i32 %A, i32 %B) { ; CHECK-LABEL: @test15( ; CHECK-NEXT: [[C:%.*]] = sub i32 0, %A -- 2.11.0