[Support] Remove Log2 workaround for Android API level < 18
authorFangrui Song <i@maskray.me>
Thu, 11 Aug 2022 17:39:41 +0000 (17:39 +0000)
committerFangrui Song <i@maskray.me>
Thu, 11 Aug 2022 17:39:41 +0000 (17:39 +0000)
commit57f334d81764ff0f46e5f8b29799e369b68a7918
treea4c2dab1d2c56d96b4aed3ce8043e40f95c6fc47
parent1ca5fee2285de6e81d52a38de5cfdbe3a7a79f74
[Support] Remove Log2 workaround for Android API level < 18

The function added by D9467 is unneeded.
https://github.com/android/ndk/wiki/Changelog-r24 shows that the NDK has
moved forward to at least a minimum target API of 19.

Reviewed By: srhines

Differential Revision: https://reviews.llvm.org/D131656
llvm/include/llvm/Support/MathExtras.h
llvm/lib/Analysis/ConstantFolding.cpp