[PATCH] Fix instruction scheduling live register tracking

Andrew Trick atrick at apple.com
Tue Jun 23 11:39:41 PDT 2015


Right, on some target the LiveRegGens vector could be in the thousands. Only 1-2 regs are probably relevant here. Any sparse data type would be better. e.g. Instead you could keep track of only the registers that were changed via SmallSet. You can also reuse the memory be defining it in the class and clearing it before each use.


http://reviews.llvm.org/D9993

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






More information about the llvm-commits mailing list