[llvm] Use llvm::bit_ceil (NFC)
If X is nonzero, NextPowerOf2(X - 1) is equivalent to llvm::bit_ceil(X). In this patch, std::max guarantees that X is nonzero.
parent
0de61934
Please register or sign in to comment
If X is nonzero, NextPowerOf2(X - 1) is equivalent to llvm::bit_ceil(X). In this patch, std::max guarantees that X is nonzero.