[PowerPC] Remove allow-deprecated-dag-overlap and fix broken tests
authorJinsong Ji <jji@us.ibm.com>
Tue, 12 Nov 2019 15:00:09 +0000 (15:00 +0000)
committerJinsong Ji <jji@us.ibm.com>
Tue, 12 Nov 2019 15:18:54 +0000 (15:18 +0000)
commit228dd96c6fddad6d070c29a6830c7bd161982e3a
tree54e94230e18db91710675a9cee2508e08e8ae80e
parent41c3f76dcd0daeec60eddfcb56008a31ad6e8738
[PowerPC] Remove allow-deprecated-dag-overlap and fix broken tests

Summary:
This is found during review of https://reviews.llvm.org/D67088.

CHECK-DAG is non-overlapping after https://reviews.llvm.org/D47106.
-allow-deprecated-dag-overlap was introduced to temporary accept old
behavior.

But it actually hide some broken tests, eg: `test/CodeGen/PowerPC/swaps-le-1.ll`
The codegen has changed, but the CHECK-DAG still PASS due to allowing `overlap`.

This patch remove the deprecated options, and fix the broken tests.

Reviewers: #powerpc, hfinkel, nemanjai, steven.zhang, shchenz

Reviewed By: shchenz

Subscribers: shchenz, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69733
llvm/test/CodeGen/PowerPC/build-vector-tests.ll
llvm/test/CodeGen/PowerPC/machine-combiner.ll
llvm/test/CodeGen/PowerPC/memcpy-vec.ll
llvm/test/CodeGen/PowerPC/swaps-le-1.ll
llvm/test/CodeGen/PowerPC/uint-to-fp-v4i32.ll