Don't inflate register classes used by inline asm.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 1 Jul 2011 01:24:25 +0000 (01:24 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 1 Jul 2011 01:24:25 +0000 (01:24 +0000)
commit5e9ae090d8afd994c8c8e81779dd2c074ecf9369
treeb5fed8f6e04af0e3faa46bb68f7c342017e7907c
parentc4f24eb584f6b4dba3caba2ed766c7c4bf1bf8af
Don't inflate register classes used by inline asm.

The constraints are represented by the register class of the original
virtual register created for the inline asm. If the register class were
included in the operand descriptor, we might be able to do this.

For now, just give up on regclass inflation when inline asm is involved.

No test case, this bug hasn't happened yet.

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