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)
commit16bb45c5c8e918efa732fd7d0b31c0f31dc2a979
tree0f6895cd75b8fcf0653b00ede2da3171b8db98e4
parentd1d0d37a198df718b0fd1f838b7d9593b1636299
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189991 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineScheduler.h
lib/CodeGen/MachineScheduler.cpp