Constrain register classes in TailDup.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 20 May 2012 18:42:51 +0000 (18:42 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 20 May 2012 18:42:51 +0000 (18:42 +0000)
commit0fda545c2c164dc607f48f4b77f54c35bcafa413
treeb84ef704194fb186aeefb5f9aa89a3f6699857ac
parent92d63ccfc7d86d39bc0b806bf7e9fac13dd2d7b5
Constrain register classes in TailDup.

When rewriting operands, make sure the new registers have a compatible
register class.

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