Also update MRI use lists when changing a use to a def and vice versa.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 10 Aug 2012 00:21:26 +0000 (00:21 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 10 Aug 2012 00:21:26 +0000 (00:21 +0000)
commitd6397eba2389e8a24d37aa56e049187c1ee75f4f
treeca2c932487d42c194121867f4960ce4f98f4a0ef
parent249d670dd0f6f151858195701df64fbd005615e7
Also update MRI use lists when changing a use to a def and vice versa.

This was the cause of the buildbot failures.

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