commit | 5583e30818255281dc3b2122ec7207bf68b449ae | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Mon Feb 27 09:54:35 2012 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Mon Feb 27 09:54:35 2012 +0000 |
tree | 8f83f5458470a348020e57ec6d98d395034fd0e2 | |
parent | 669011f50b8234bb4775d52a2d1e1ba5f6311e62 [diff] |
The value numbering function is recursive, so it is possible for multiple new value numbers to be assigned when calculating any particular value number. Enhance the logic that detects new value numbers to take this into account, for a tiny compile time speedup. Fix a comment typo while there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151522 91177308-0d34-0410-b5e6-96231b3b80d8