summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2014-12-03 21:55:44 +0000
committerhselasky <hselasky@FreeBSD.org>2014-12-03 21:55:44 +0000
commitd8f59440302d44629a62a2be1220491168b15df2 (patch)
tree3e2e8cc50708ec45363a1b60799e807820a8e6fd /contrib/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
parentc73f4ce42809ce3f0247f14821247e0817a849d7 (diff)
downloadFreeBSD-src-d8f59440302d44629a62a2be1220491168b15df2.zip
FreeBSD-src-d8f59440302d44629a62a2be1220491168b15df2.tar.gz
Optimise the bit searching loops, by quickly skipping the 16 first set
bits if all the 16 first bits are set. This way the worst case searching time is reduced from 32 to 16 cycles.
Diffstat (limited to 'contrib/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud