aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-09-01 04:18:40 +0000
committerBob Wilson <bob.wilson@apple.com>2009-09-01 04:18:40 +0000
commit33b408a10f0c5fb0909975fb7da7b82c13fa2ffb (patch)
treef8d44e24735bbc5615b805cdc93e7d0f6a05032b /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent4fa0595b949a9a6ff491840c02bc1ef53787329d (diff)
downloadllvm-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