Proper fix for PR1037: to determine is a VR is a modref, check 1) whether it is
authorEvan Cheng <evan.cheng@apple.com>
Fri, 8 Dec 2006 08:02:34 +0000 (08:02 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 8 Dec 2006 08:02:34 +0000 (08:02 +0000)
commit5c2a46052b3fa69dbdae483870ebe1b9e50386b5
treece7fd5eb9aa019cbc8b85db3369efdb42aeb9eb1
parent7814ad0bf38047628eb3165e1b73e44da7e8b825
Proper fix for PR1037: to determine is a VR is a modref, check 1) whether it is
tied to another oeprand, 2) whether is is being tied to by another operand. So
the destination operand of a two-address MI can be correctly identified.

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