summaryrefslogtreecommitdiff
path: root/third_party/llvm-project/include/llvm/Support/Unicode.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-08-06 16:15:55 -0700
committerGitHub <noreply@github.com>2020-08-06 16:15:55 -0700
commit449e7a410bdaee17e139c8121cdf125d82a73dff (patch)
treec2ac7a91a688a5e3bccced280c2814dec81115dd /third_party/llvm-project/include/llvm/Support/Unicode.h
parente89b40149ff6327df9dcc47043528b0ddef6c377 (diff)
downloadbinaryen-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