commit | b09701db9e74298912164d988ddf40bb1b5ec19b | [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 | 1c65cf745cfb57ce5c07981c3c942ae5e6251fd0 | |
parent | f6275309994dea2ec852c1f539875ae643646ec5 [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135885 91177308-0d34-0410-b5e6-96231b3b80d8