diff options
author | Wei Mi <wmi@google.com> | 2018-08-07 18:13:10 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2018-08-07 18:13:10 +0000 |
commit | b1ef2cc53d057123e20b55f806bf2c82861b5967 (patch) | |
tree | e20991118b5bde0459848312d4ccdb28cdb52c82 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 9ba51579fb331697c09441fdb1f77f267ff82c77 (diff) | |
download | llvm-b1ef2cc53d057123e20b55f806bf2c82861b5967.zip llvm-b1ef2cc53d057123e20b55f806bf2c82861b5967.tar.gz llvm-b1ef2cc53d057123e20b55f806bf2c82861b5967.tar.bz2 |
[SampleFDO] Fix a bug in getOrCompHotCountThreshold/getOrCompColdCountThreshold
getOrCompHotCountThreshold/getOrCompColdCountThreshold introduced in
https://reviews.llvm.org/D45377 contain a bad mistake and will only return 1 or 0
instead of the true hot/cold cutoff value. The patch fixes the mistake. But the
mistake seems not causing big performance difference according to internal server
benchmarks testing.
Differential Revision: https://reviews.llvm.org/D50370
llvm-svn: 339162
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions