[PATCH] Fix instruction scheduling live register tracking

Andrew Trick atrick at apple.com
Tue Jun 2 12:48:34 PDT 2015


The copy could be created during InsertCopiesAndMoveSuccs. This could be a much more complicated scenario than I showed in my examples.

At any rate, as long as the height is set an ascending order as each node is scheduled, it seems like it should work out. It's possible that CurrCycle is not being properly updated during backtracking. That might lead to inconsistent heights.  I would add print statements to find out what CurrCycle and the copy's height is at the time of scheduling to determine why the wrong choice is made.


http://reviews.llvm.org/D9993

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list