Fix a logic error. An instruction that has a live physical register def cannot be...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 3 Mar 2010 23:59:08 +0000 (23:59 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 3 Mar 2010 23:59:08 +0000 (23:59 +0000)
commit67bda7215b4bc1b3cc9dd80ef5785ac6dd26fb8c
tree1074fe43ff167092570a881ebd662b997988f500
parenta92dced4a186c03f06a1e9156ca00d997ef0a972
Fix a logic error. An instruction that has a live physical register def cannot be CSE'ed, but it *can* be used to replace a common subexpression.

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