This is an archive of the discontinued LLVM Phabricator instance.

[AntiDepBreaker] Revert r299124 and add a test.
ClosedPublic

Authored by timshen on May 30 2017, 3:04 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

timshen created this revision.May 30 2017, 3:04 PM
MatzeB accepted this revision.May 30 2017, 3:08 PM

LGTM. The test feels like a longer more complicated version of livephysregs.mir to me now (as it just checks for livein lists as well), but keep it if you think it helps.

This revision is now accepted and ready to land.May 30 2017, 3:08 PM

LGTM. The test feels like a longer more complicated version of livephysregs.mir to me now (as it just checks for livein lists as well), but keep it if you think it helps.

Oh I didn't realize that you already have a more reduced test case from it - I'll remove mine, in the hope to reduce maintenance burden (e.g. names like bb.2.if.then) in the future.

timshen edited the summary of this revision. (Show Details)May 30 2017, 3:26 PM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.cpp