Jakob Stoklund Olesen 0a65533a38 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.

llvm-svn: 96072
2010-02-13 02:06:10 +00:00
..
2010-02-13 02:06:10 +00:00
2010-02-01 22:46:05 +00:00
2010-02-12 07:48:46 +00:00
2010-02-08 23:27:46 +00:00
2010-02-12 02:35:03 +00:00
2009-10-24 20:32:36 +00:00
2009-08-25 15:38:29 +00:00