| commit | 56a56eb80e516852f87a9aeb147c1443ab4731e1 | [log] [tgz] |
|---|---|---|
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sun Jul 24 20:23:50 2011 +0000 |
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sun Jul 24 20:23:50 2011 +0000 |
| tree | 06064b4b407df574d2666e24c4a2cfef3623ea4d | |
| parent | 5b0bdc204313b6f266a87ee4d95cf69dabf79a83 [diff] |
Correctly handle <undef> tied uses when rewriting after a split. This fixes PR10463. A two-address instruction with an <undef> use operand was incorrectly rewritten so the def and use no longer used the same register, violating the tie constraint. Fix this by always rewriting <undef> operands with the register a def operand would use. llvm-svn: 135885