commit | 661e8f4c30003452167834ad6a9c1940bc214ffc | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Sun Sep 11 22:10:42 2016 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Sun Sep 11 22:10:42 2016 +0000 |
tree | 4bcf826ffe73d2f671778bc9769cd22a791da813 | |
parent | dd7c4ea72507c039cb94eeb88524f319deb9d634 [diff] |
[TwoAddressInstruction] When commuting an instruction don't assume that the destination register is operand 0. Pass it from the caller. In practice it probably is 0 so this may not be a functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281180 91177308-0d34-0410-b5e6-96231b3b80d8