aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-12-23 22:26:34 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-12-23 22:28:09 +0300
commitcb2e5980bae3bead524895f4f36e4f71cd764a1b (patch)
treedb6c3b361a06129b37f2b566bdc9dad4bad05545 /clang/lib/Basic/Module.cpp
parente124844709228a076483d8b6101bbb362caf625f (diff)
downloadllvm-cb2e5980bae3bead524895f4f36e4f71cd764a1b.zip
llvm-cb2e5980bae3bead524895f4f36e4f71cd764a1b.tar.gz
llvm-cb2e5980bae3bead524895f4f36e4f71cd764a1b.tar.bz2
[LoopIdiom] 'left-shift until bittest' idiom: support constant bit mask
The handing of the case where the mask is a constant is trivial, if said constant is a power of two, the bit in question is log2(mask), rest just works. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D91725
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions