Added assertion in getVRegDef of MachineRegisterInfo to make sure the virtual
authorManman Ren <mren@apple.com>
Mon, 2 Jul 2012 18:55:36 +0000 (18:55 +0000)
committerManman Ren <mren@apple.com>
Mon, 2 Jul 2012 18:55:36 +0000 (18:55 +0000)
commit5f917cd3fada4507c0f4b718dd6af24b5e7086f1
tree1c7130312ce7a92744826c2208d8247345edf990
parent49589f0d0e35f643e697ab7ae8a51a530d38b0d8
Added assertion in getVRegDef of MachineRegisterInfo to make sure the virtual
register does not have multiple definitions. Modified TwoAddressInstructionPass
to use getUniqueVRegDef instead of getVRegDef.

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