diff options
author | Vedant Kumar <vsk@apple.com> | 2017-04-26 15:39:53 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-04-26 15:39:53 +0000 |
commit | 7f5b3d6fc83e4f4c2aa64967ba9f45a361b67502 (patch) | |
tree | 27e4857cb5957b980186f39075da24590aeef5f1 /llvm/lib/Analysis/AssumptionCache.cpp | |
parent | c7d35a0d6a3be388cc0be22b39c21fea9a3b6731 (diff) | |
download | llvm-7f5b3d6fc83e4f4c2aa64967ba9f45a361b67502.zip llvm-7f5b3d6fc83e4f4c2aa64967ba9f45a361b67502.tar.gz llvm-7f5b3d6fc83e4f4c2aa64967ba9f45a361b67502.tar.bz2 |
[sampleprof] Drop test dependency on the string hash func (NFC)
The SampleProfWriter emits function information in an order determined
by the string hash function. The situation is a bit brittle, because
changing the hash function can break the tests.
Instead of sorting the function samples to get a relaible ordering (that
might be too expensive), make the tests not depend on a particular
ordering of function samples.
Differential Revision: https://reviews.llvm.org/D32516
llvm-svn: 301419
Diffstat (limited to 'llvm/lib/Analysis/AssumptionCache.cpp')
0 files changed, 0 insertions, 0 deletions