Jakob Stoklund Olesen d135f14f61 Fix PR6283.
When coalescing with a physreg, remember to add imp-def and imp-kill when
dealing with sub-registers.

Also fix a related bug in VirtRegRewriter where substitutePhysReg may
reallocate the operand list on an instruction and invalidate the reg_iterator.
This can happen when a register is mentioned twice on the same instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96072 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-13 02:06:10 +00:00
..
2010-01-12 18:29:23 +00:00
2010-01-23 01:19:28 +00:00
2010-02-13 02:06:10 +00:00
2010-01-12 04:52:47 +00:00
2010-01-19 21:51:51 +00:00
2010-01-23 01:19:28 +00:00
2010-01-18 21:38:44 +00:00