diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-09-01 04:18:40 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-09-01 04:18:40 +0000 |
commit | 33b408a10f0c5fb0909975fb7da7b82c13fa2ffb (patch) | |
tree | f8d44e24735bbc5615b805cdc93e7d0f6a05032b /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 4fa0595b949a9a6ff491840c02bc1ef53787329d (diff) | |
download | llvm-33b408a10f0c5fb0909975fb7da7b82c13fa2ffb.zip llvm-33b408a10f0c5fb0909975fb7da7b82c13fa2ffb.tar.gz llvm-33b408a10f0c5fb0909975fb7da7b82c13fa2ffb.tar.bz2 |
Fix pr4843: When an instruction has multiple destination registers that are
tied to different source registers, the TwoAddressInstructionPass needs to
be smarter. Change it to check before replacing a source register whether
that source register is tied to a different destination register, and if so,
defer handling it until a subsequent iteration.
llvm-svn: 80654
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions