aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileCheck.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-07-15 18:56:56 +0000
committerNico Weber <nicolasweber@gmx.de>2019-07-15 18:56:56 +0000
commitac6375d99d19e2c8c53dc72caa457833f6fa6641 (patch)
treef9b5015534f1fe7e17cba1ca56ef407d399d5800 /llvm/lib/Support/FileCheck.cpp
parentdc56995c57451368b4049738d4a56fa042db7a6e (diff)
downloadllvm-ac6375d99d19e2c8c53dc72caa457833f6fa6641.zip
llvm-ac6375d99d19e2c8c53dc72caa457833f6fa6641.tar.gz
llvm-ac6375d99d19e2c8c53dc72caa457833f6fa6641.tar.bz2
Expand comment about how StringsToBuckets was computed, and add more entries
The construction was explained in https://reviews.llvm.org/D44810?id=139526#inline-391999 but reading the code shouldn't require hunting down old reviews to understand it. The precomputed list was missing an entry for the empty list case, and one entry at the very end. (The current last entry is the last one where 3 * BucketCount fits in a signed int, but the reference implementation uses unsigneds as far as I can tell, so there's room for one more entry.) No behavior change for inputs seen in practice. Differential Revision: https://reviews.llvm.org/D64738 llvm-svn: 366107
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions