[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.

llvm-svn: 284243
This commit is contained in:
Sanjay Patel 2016-10-14 15:36:28 +00:00
parent ad0757febb
commit 0b611dcabf
1 changed files with 0 additions and 11 deletions

View File

@ -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