commit | 71124f698befddb89309758f4aa171e11b9beff3 | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Tue Sep 01 04:18:40 2009 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Tue Sep 01 04:18:40 2009 +0000 |
tree | bf511efdbeb7cf31489194f414bf344dbb3f9d04 | |
parent | efbb5330b8d383a393c83d2da5d631c98b0bb3fd [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80654 91177308-0d34-0410-b5e6-96231b3b80d8