Fixes a coalescer bug that caused llc to crash on 2009-11-30-LiveVariablesBug.ll
authorEvan Cheng <evan.cheng@apple.com>
Thu, 6 May 2010 06:23:31 +0000 (06:23 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 6 May 2010 06:23:31 +0000 (06:23 +0000)
commit62bb2f63f92fa00e0a89e4dabef030a5b441905c
treece5e1eaee8dd5c2570305626c0875921d69a94d6
parent44ed2c31a5b3233fd11575346d2bd3551578f631
Fixes a coalescer bug that caused llc to crash on 2009-11-30-LiveVariablesBug.ll
with the fix in 103157.

%reg1039:1<def> = VMOVS %S1<kill>, pred:14, pred:%reg0
is not coalescable since none of the super-registers of S1 are in reg1039's
register class: DPR_VFP2. But it is still a legal copy instruction so it should
not assert.

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