llvm.org GIT mirror llvm / 8f75264
[Reassociate] remove bogus tests; NFC I was trying to provide test coverage for D53533 with rL344964, but these don't do it...and I don't think they add any value, so deleting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344969 91177308-0d34-0410-b5e6-96231b3b80d8 Sanjay Patel 10 months ago
1 changed file(s) with 0 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
4444 ret <2 x i32> %f
4545 }
4646
47 define i32 @not_not(i32 %a, i32 %b, i32 %z) {
48 ; CHECK-LABEL: @not_not(
49 ; CHECK-NEXT: [[D:%.*]] = and i32 [[Z:%.*]], 40
50 ; CHECK-NEXT: [[A_NOT:%.*]] = xor i32 [[A:%.*]], -1
51 ; CHECK-NEXT: [[F:%.*]] = and i32 [[D]], [[A_NOT]]
52 ; CHECK-NEXT: ret i32 [[F]]
53 ;
54 %d = and i32 %z, 40
55 %c = xor i32 -1, %d
56 %e = or i32 %a, %c
57 %f = xor i32 -1, %e
58 ret i32 %f
59 }
60
61 define <2 x i32> @not_vec_undefs(<2 x i32> %a, <2 x i32> %b, <2 x i32> %z) {
62 ; CHECK-LABEL: @not_vec_undefs(
63 ; CHECK-NEXT: [[D:%.*]] = or <2 x i32> [[Z:%.*]],
64 ; CHECK-NEXT: [[A_NOT:%.*]] = xor <2 x i32> [[A:%.*]],
65 ; CHECK-NEXT: [[F:%.*]] = or <2 x i32> [[D]], [[A_NOT]]
66 ; CHECK-NEXT: ret <2 x i32> [[F]]
67 ;
68 %d = or <2 x i32> %z,
69 %c = xor <2 x i32> , %d
70 %e = and <2 x i32> %a, %c
71 %f = xor <2 x i32> , %e
72 ret <2 x i32> %f
73 }
74