[Reassociate] remove bogus tests; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 22 Oct 2018 22:50:27 +0000 (22:50 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 22 Oct 2018 22:50:27 +0000 (22:50 +0000)
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.

llvm-svn: 344969

llvm/test/Transforms/Reassociate/negation.ll

index e1f9a421a9c0050346e3c296ee79428831a4e5a6..59b7b5dca1db5d8512ab652cb72f7c4d9110b9cb 100644 (file)
@@ -45,31 +45,3 @@ define <2 x i32> @negate_vec_undefs(<2 x i32> %a, <2 x i32> %b, <2 x i32> %z) {
   ret <2 x i32> %f
 }
 
-define i32 @not_not(i32 %a, i32 %b, i32 %z) {
-; CHECK-LABEL: @not_not(
-; CHECK-NEXT:    [[D:%.*]] = and i32 [[Z:%.*]], 40
-; CHECK-NEXT:    [[A_NOT:%.*]] = xor i32 [[A:%.*]], -1
-; CHECK-NEXT:    [[F:%.*]] = and i32 [[D]], [[A_NOT]]
-; CHECK-NEXT:    ret i32 [[F]]
-;
-  %d = and i32 %z, 40
-  %c = xor i32 -1, %d
-  %e = or i32 %a, %c
-  %f = xor i32 -1, %e
-  ret i32 %f
-}
-
-define <2 x i32> @not_vec_undefs(<2 x i32> %a, <2 x i32> %b, <2 x i32> %z) {
-; CHECK-LABEL: @not_vec_undefs(
-; CHECK-NEXT:    [[D:%.*]] = or <2 x i32> [[Z:%.*]], <i32 40, i32 40>
-; CHECK-NEXT:    [[A_NOT:%.*]] = xor <2 x i32> [[A:%.*]], <i32 -1, i32 -1>
-; CHECK-NEXT:    [[F:%.*]] = or <2 x i32> [[D]], [[A_NOT]]
-; CHECK-NEXT:    ret <2 x i32> [[F]]
-;
-  %d = or <2 x i32> %z, <i32 40, i32 40>
-  %c = xor <2 x i32> <i32 undef, i32 -1>, %d
-  %e = and <2 x i32> %a, %c
-  %f = xor <2 x i32> <i32 undef, i32 -1>, %e
-  ret <2 x i32> %f
-}
-