This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Fix various dependency calculating issues in the scheduler in order to support non-alternative opcodes in the pass.
AbandonedPublic

Authored by dtemirbulatov on Aug 2 2018, 4:35 AM.

Details

Summary

This is part of the change in https://reviews.llvm.org/D28907
During the implementation of new functionality for PR30787, I encountered several issues with dependency calculation is the scheduling algorithm. Here is the fix for the issues. unfortunately, I could not show here any testcase, since I could reproduce those issues only with new functionality.

Diff Detail

Event Timeline

dtemirbulatov created this revision.Aug 2 2018, 4:35 AM

Removed redundant code in calculateDependencies().

dtemirbulatov abandoned this revision.Aug 6 2018, 7:24 AM

Abandon this change after talking to Alexey Bataev offline.