commit | f53458f693fcf813b4c6c785034141017bf35893 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Sep 28 22:07:19 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Sep 28 22:07:19 2010 +0000 |
tree | d7a74d1b2b56d3cc6ca21048ef8c44a6f7517e44 | |
parent | 654d5440a477b1f6c89b051107e041a331f78e27 [diff] |
When an MDNode changes to become identical to another MDNode, delete the MDNode that changed, rather than the other MDNode. This is less work, because it doesn't require the changed node to be re-inserted into the uniquing map and it doesn't require the is-function-local flag to be recomputed. Also, it avoids trouble when the existing node is part of a complicated data structure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114996 91177308-0d34-0410-b5e6-96231b3b80d8