This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] duplicate the tryCandidate from base to PowerPC scheduler
AbandonedPublic

Authored by steven.zhang on Aug 26 2020, 10:59 PM.

Details

Reviewers
jsji
qiucf
Group Reviewers
Restricted Project
Summary

We didn't handle the scheduling heuristic for PowerPC well which might hit assertion when scheduler verifying is enabled. That because the tryCandidate have sideeffect(change the reason in Cand) and it is unable to undo the sideeffect inside powerpc scheduler.

So, we have to duplicate the tryCandidate from base and then, add the target specific heuristic. This is not a good idea and easy to be out of sync. And there is a follow up rework patch to fix this. D86684

Diff Detail

Event Timeline

steven.zhang created this revision.Aug 26 2020, 10:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 26 2020, 10:59 PM
steven.zhang requested review of this revision.Aug 26 2020, 10:59 PM
asbirlea removed a subscriber: asbirlea.Aug 27 2020, 1:56 PM
steven.zhang retitled this revision from [PowerPC] Fix the incorrect handling on scheduling heuristic to [PowerPC] duplicate the tryCandidate from base to PowerPC scheduler.
steven.zhang edited the summary of this revision. (Show Details)

Confirm that no bmk deg found. Gentle ping ...

steven.zhang abandoned this revision.Sep 4 2020, 4:43 AM

Abandon this PR as I want to merge this patch into the refactor patch.