mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 14:12:11 +00:00
[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
This commit is contained in:
parent
e6ec388ee9
commit
e2ba2cb572
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user