diff options
author | Alon Zakai <azakai@google.com> | 2020-08-06 16:15:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 16:15:55 -0700 |
commit | 449e7a410bdaee17e139c8121cdf125d82a73dff (patch) | |
tree | c2ac7a91a688a5e3bccced280c2814dec81115dd /third_party/llvm-project/include/llvm/Support/Unicode.h | |
parent | e89b40149ff6327df9dcc47043528b0ddef6c377 (diff) | |
download | binaryen-449e7a410bdaee17e139c8121cdf125d82a73dff.tar.gz binaryen-449e7a410bdaee17e139c8121cdf125d82a73dff.tar.bz2 binaryen-449e7a410bdaee17e139c8121cdf125d82a73dff.zip |
Fix CountLeadingZeroes on MSVC (#3028)
We just had the logic there wrong - MSVC's intrinsic returns the bit
index, not the number of leading zeros. That's identical when scanning
forward but not in reverse...
Fixes #2942
Diffstat (limited to 'third_party/llvm-project/include/llvm/Support/Unicode.h')
0 files changed, 0 insertions, 0 deletions