TargetInstrInfo::commuteInstruction() doesn't actually return a new instruction
authorCameron Zwarich <zwarich@apple.com>
Sat, 23 Feb 2013 23:13:28 +0000 (23:13 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sat, 23 Feb 2013 23:13:28 +0000 (23:13 +0000)
commit1ea93c79bc8b044935f867b334668623c587f5a8
tree009a8ebbfdfb77d1a31566e13f86a66f1dcc9f3c
parentabafaba4d546352d37f8ccae895b0234b6c735f2
TargetInstrInfo::commuteInstruction() doesn't actually return a new instruction
unless it was requested to with an optional parameter that defaults to false, so
we don't need to handle that case in TwoAddressInstructionPass.

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