diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-10-22 22:50:27 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-10-22 22:50:27 +0000 |
commit | 767625400d2dafce663dfad420d4ad8d03426584 (patch) | |
tree | f9285766abba7bb842a9dff60e5c3574dad5181f | |
parent | 38bffd6a0fb6c81b812c5c15f411d355603dc7ef (diff) | |
download | bcm5719-llvm-767625400d2dafce663dfad420d4ad8d03426584.tar.gz bcm5719-llvm-767625400d2dafce663dfad420d4ad8d03426584.zip |
[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.
llvm-svn: 344969
-rw-r--r-- | llvm/test/Transforms/Reassociate/negation.ll | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/Transforms/Reassociate/negation.ll b/llvm/test/Transforms/Reassociate/negation.ll index e1f9a421a9c..59b7b5dca1d 100644 --- a/llvm/test/Transforms/Reassociate/negation.ll +++ b/llvm/test/Transforms/Reassociate/negation.ll @@ -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 -} - |