Cross-class joining is winning.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 25 Apr 2012 16:17:47 +0000 (16:17 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 25 Apr 2012 16:17:47 +0000 (16:17 +0000)
commita2404e3458ca7d570802ca296240733f2aa41098
tree08b02b8aff27a373ae625233f3e5eef53a4a1362
parent8030e1a0df630ec6ed1cd5ec673f6472558a4dbe
Cross-class joining is winning.

Remove the heuristic for disabling cross-class joins. The greedy
register allocator can handle the narrow register classes, and when it
splits a live range, it can pick a larger register class.

Benchmarks were unaffected by this change.

<rdar://problem/11302212>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155551 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp