commit | d135f14f614ff0272b4653877abe09a2914a0227 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sat Feb 13 02:06:10 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sat Feb 13 02:06:10 2010 +0000 |
tree | f66367285040e50707fe44f64ab3294b93813360 | |
parent | 9214b82c5446791b280821bbd892dca633130f80 [diff] |
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