Fix for PR12090: clear def maps of aliases when visiting a copy. e.g.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 27 Feb 2012 21:46:42 +0000 (21:46 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 27 Feb 2012 21:46:42 +0000 (21:46 +0000)
commitb266cd0e9824db48804c785b2c48b43be0c0f7dd
treec17ccdbf6007c449a2ce5923e0e4303fb45c6465
parent7b25ecf6adbf3c4709c48033acfeb6ebbb4452ab
Fix for PR12090: clear def maps of aliases when visiting a copy. e.g.
%S5<def> = COPY %S0<kill>
First clear def map of Q1, etc.

No small test case available.

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