[PATCH] D33697: [AntiDepBreaker] Revert r299124 and add a test.
Tim Shen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 15:04:33 PDT 2017
timshen created this revision.
Herald added a subscriber: nemanjai.
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 (https://reviews.llvm.org/D32464), we can revert this change.
I didn't use a mir test case, because -stop-before=if-converter +
-run-pass=if-converter doesn't produce the same result as
-stop-after=if-converter, and I'm not sure why.
https://reviews.llvm.org/D33697
Files:
llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp
llvm/test/CodeGen/PowerPC/if-converter-split-liveins.ll
llvm/test/CodeGen/PowerPC/pristine-and-livein.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33697.100785.patch
Type: text/x-patch
Size: 19865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170530/e645ddeb/attachment.bin>
More information about the llvm-commits
mailing list