commit | c3b6ffc431bbf01f615c6695a0dc1b9368102cad | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Feb 12 18:17:23 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Feb 12 18:17:23 2010 +0000 |
tree | 35c30443f188f65f61d9345ee9ff82309370790a | |
parent | 4b2657a404b58e193f84ae7c38ea6ba705d5071d [diff] |
1. modernize the constantmerge pass, using densemap/smallvector. 2. don't bother trying to merge globals in non-default sections, doing so is quite dubious at best anyway. 3. fix a bug reported by Arnaud de Grandmaison where we'd try to merge two globals in different address spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95995 91177308-0d34-0410-b5e6-96231b3b80d8