mi-sched: Suppress register pressure tracking when the scheduling window is too small.
authorAndrew Trick <atrick@apple.com>
Wed, 4 Sep 2013 21:00:11 +0000 (21:00 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 4 Sep 2013 21:00:11 +0000 (21:00 +0000)
commit66c3dfbf8c137ae51afe29fce817b9b071dde1c9
tree26a59d25b0e76e4c3851061f871589ab3ce4a783
parenta6e877707f19e32c078552f43e22ac18ef3a1e8c
mi-sched: Suppress register pressure tracking when the scheduling window is too small.

If the instruction window is < NumRegs/2, pressure tracking is not
likely to be effective. The scheduler has to process a very large
number of tiny blocks. We want this to be fast.

llvm-svn: 189991
llvm/include/llvm/CodeGen/MachineScheduler.h
llvm/lib/CodeGen/MachineScheduler.cpp