[PATCH] Use llvm intrinsics for native_log and native_log2