[PATCH] Fix instruction scheduling live register tracking
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.
More information about the llvm-commits