Follow up to Jim's r138278. This fixes commuteInstruction so it handles two-address...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 22 Aug 2011 23:04:56 +0000 (23:04 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 22 Aug 2011 23:04:56 +0000 (23:04 +0000)
commitcb08f18d5b88ffa4ba8efd7cac0b8820d6f0ec71
tree85e4f7a60d842d7d19fdb833ff5e1e294e10fac3
parent10fd9ad8f33815cdbdc0e2db5860f9c5b1954040
Follow up to Jim's r138278. This fixes commuteInstruction so it handles two-address instructions correctly. I'll let Jim add a test case. :-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138289 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInstrInfoImpl.cpp