Move the check whether it's worth remating to caller.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 27 Aug 2008 20:58:54 +0000 (20:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 27 Aug 2008 20:58:54 +0000 (20:58 +0000)
commit8763c1c54413c9cd0b56e2860edb5856151a69fc
tree976c100a2feb2395b6f7e5c5b0a83ad00b509cad
parent18bb2788a0edc0ec1c373465429743892c8d5fbe
Move the check whether it's worth remating to caller.

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