Use CloneMachineInstr to make a new MI in commuteInstruction to make the code toleran...
authorCraig Topper <craig.topper@gmail.com>
Fri, 31 Aug 2012 16:30:05 +0000 (16:30 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 31 Aug 2012 16:30:05 +0000 (16:30 +0000)
commit89b2ff0b5c9383ed574205b1e9a42089ee9e6861
tree8680c8ed46dc7ec173482335637031c121436d9c
parentbf4043768c6726db523f99460645842e5024fc7f
Use CloneMachineInstr to make a new MI in commuteInstruction to make the code tolerant of instructions with more than two input operands.

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