[AntiDepBreaker] Revert r299124 and add a test.
authorTim Shen <timshen91@gmail.com>
Tue, 30 May 2017 22:26:52 +0000 (22:26 +0000)
committerTim Shen <timshen91@gmail.com>
Tue, 30 May 2017 22:26:52 +0000 (22:26 +0000)
commit0bd0aa8f0742eec2c263095d3f7b459372364041
tree3b404006698efbe1a50574126112a6a557a91041
parentd276d85309f373f4482dbf8996f734d9f2f496c3
[AntiDepBreaker] Revert r299124 and add a test.

Summary:
AntiDepBreaker intends to add all live-outs, including the implicit
CSRs, in StartBlock. r299124 was done without understanding that
intention.

Now with the live-ins propagated correctly (D32464), we can revert this change.

Reviewers: MatzeB, qcolombet

Subscribers: nemanjai, llvm-commits

Differential Revision: https://reviews.llvm.org/D33697

llvm-svn: 304251
llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp
llvm/test/CodeGen/PowerPC/pristine-and-livein.mir [deleted file]