When deleting a phi cycle after looking through copies, constrain the register
authorCameron Zwarich <zwarich@apple.com>
Mon, 17 Oct 2011 21:54:46 +0000 (21:54 +0000)
committerCameron Zwarich <zwarich@apple.com>
Mon, 17 Oct 2011 21:54:46 +0000 (21:54 +0000)
commit419eb3668b5cec965a1764f626084d647462a9c6
tree097dd9e72eaef2a4073e8a55dad20e107f981251
parentf2ddbcdcb9f3ad8b6e0f68792325449e90563bd4
When deleting a phi cycle after looking through copies, constrain the register
to match its final use.

With this change, all of test-suite compiles for Thumb2 with -verify-coalescing
enabled.

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