summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine')
-rw-r--r--llvm/test/Transforms/InstCombine/and.ll11
-rw-r--r--llvm/test/Transforms/InstCombine/and2.ll10
2 files changed, 0 insertions, 21 deletions
diff --git a/llvm/test/Transforms/InstCombine/and.ll b/llvm/test/Transforms/InstCombine/and.ll
index f46480f4d74..43b80e3f91c 100644
--- a/llvm/test/Transforms/InstCombine/and.ll
+++ b/llvm/test/Transforms/InstCombine/and.ll
@@ -228,17 +228,6 @@ define i8 @test20(i8 %A) {
ret i8 %D
}
-define i1 @test22(i32 %A) {
-; CHECK-LABEL: @test22(
-; CHECK-NEXT: ret i1 false
-;
- %B = icmp eq i32 %A, 1
- %C = icmp sge i32 %A, 3
- ;; false
- %D = and i1 %B, %C
- ret i1 %D
-}
-
define i1 @test23(i32 %A) {
; CHECK-LABEL: @test23(
; CHECK-NEXT: [[TMP1:%.*]] = icmp eq i32 %A, 2
diff --git a/llvm/test/Transforms/InstCombine/and2.ll b/llvm/test/Transforms/InstCombine/and2.ll
index 4ae9a35d0c0..49ce3842137 100644
--- a/llvm/test/Transforms/InstCombine/and2.ll
+++ b/llvm/test/Transforms/InstCombine/and2.ll
@@ -33,16 +33,6 @@ define i32 @test3(i32 %X, i32 %Y) {
ret i32 %b
}
-define i1 @test4(i32 %X) {
-; CHECK-LABEL: @test4(
-; CHECK-NEXT: ret i1 false
-;
- %a = icmp ult i32 %X, 31
- %b = icmp slt i32 %X, 0
- %c = and i1 %a, %b
- ret i1 %c
-}
-
; Make sure we don't go into an infinite loop with this test
define <4 x i32> @test5(<4 x i32> %A) {
; CHECK-LABEL: @test5(
OpenPOWER on IntegriCloud