Ignore PHI-defs for -new-coalescer interference checks.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 20 Sep 2012 23:08:42 +0000 (23:08 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 20 Sep 2012 23:08:42 +0000 (23:08 +0000)
commite6e2d8cd90ceb5190aa646dc06584027f7d492d0
tree3b2ef353ba0c2496c50f8f96aa6e9fc0659cf6b6
parent2df8ac84ae8317b6a96f19bbc984d2bd02cff087
Ignore PHI-defs for -new-coalescer interference checks.

A PHI can't create interference on its own. If two live ranges interfere
at a PHI, they must also interfere when leaving one of the PHI
predecessors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp
test/CodeGen/ARM/coalesce-subregs.ll