diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-24 20:23:50 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-24 20:23:50 +0000 |
commit | 56a56eb80e516852f87a9aeb147c1443ab4731e1 (patch) | |
tree | 06064b4b407df574d2666e24c4a2cfef3623ea4d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 5b0bdc204313b6f266a87ee4d95cf69dabf79a83 (diff) | |
download | bcm5719-llvm-56a56eb80e516852f87a9aeb147c1443ab4731e1.tar.gz bcm5719-llvm-56a56eb80e516852f87a9aeb147c1443ab4731e1.zip |
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions