Fix another register coalescer crash: forgot to check if the instruction being update...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 22 Jun 2009 20:49:32 +0000 (20:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 22 Jun 2009 20:49:32 +0000 (20:49 +0000)
commit81909b74231b816e9c3ae589b8e112377be30cd0
tree1a3e27162ab15075182231100c097a33ee019ab1
parentc236a345c754aa27c95a037ad517271ac73d2456
Fix another register coalescer crash: forgot to check if the instruction being updated has already been coalesced.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73898 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
test/CodeGen/ARM/2009-06-22-CoalescerBug.ll [new file with mode: 0644]