TwoAddressInstructionPass::tryInstructionTransform() only potentially returns
authorCameron Zwarich <zwarich@apple.com>
Sun, 24 Feb 2013 00:27:29 +0000 (00:27 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sun, 24 Feb 2013 00:27:29 +0000 (00:27 +0000)
commit6868f386c7711c409b2bedf881efcebc692e88b6
treefba998c1735164ed2ea295f17dc91f8dfdfc59be
parentf05c0cbb2098261cce0ec469486173bc6adee2e1
TwoAddressInstructionPass::tryInstructionTransform() only potentially returns
true when shouldOnlyCommute is false, so we can remove code that checks
otherwise.

llvm-svn: 175980
llvm/lib/CodeGen/TwoAddressInstructionPass.cpp