commit | d9eb1d77979f10d0237af22d87789803162044fa | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Tue Mar 27 00:44:47 2012 +0000 |
committer | Lang Hames <lhames@gmail.com> | Tue Mar 27 00:44:47 2012 +0000 |
tree | 0eb2e555402eb8abfc25242e57f53e3d274b16bb | |
parent | 7067d4e4de8e0d795fb16c7c10fcf98028ca7577 [diff] |
During MachineCopyPropagation a register may be the source operand of multiple copies being considered for removal. Make sure to track all of the copies, rather than just the most recent encountered, by holding a DenseSet instead of an unsigned in SrcMap. No test case - couldn't reduce something with a sane size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153487 91177308-0d34-0410-b5e6-96231b3b80d8