Refactor some code; check if commuteInstruction is able to commute the instruction.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 16 Feb 2008 02:32:17 +0000 (02:32 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 16 Feb 2008 02:32:17 +0000 (02:32 +0000)
commit559f4224d634579aa2ca7ec6a59e67db14038c9d
treeea88d0b211460b0335d3beac2f4d467073182953
parent22c5c1b2dfcb1da6a7ebfebea903401fc77d56e6
Refactor some code; check if commuteInstruction is able to commute the instruction.

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