mi-sched: improve the generic register pressure comparison.
authorAndrew Trick <atrick@apple.com>
Fri, 30 Aug 2013 04:27:29 +0000 (04:27 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 30 Aug 2013 04:27:29 +0000 (04:27 +0000)
commitda6fc15f0fb26ebbe42ab96e0d066bbd5bdbb72e
tree90204955d891351885977e4682ad1d413a421117
parent4c60b8a78d811a5b16ae45f6957933fb479bab58
 mi-sched: improve the generic register pressure comparison.

Only compare pressure within the same set. When multiple sets are
affected, we prioritize the most constrained set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189641 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/RegisterPressure.h
lib/CodeGen/MachineScheduler.cpp
test/CodeGen/X86/misched-balance.ll
test/CodeGen/X86/misched-matmul.ll
test/CodeGen/X86/misched-matrix.ll