[llvm] SimplifyLibCalls: Don't require ldexp to emit intrinsic in exp2 combine (PR #92707)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 13:16:23 PDT 2024


efriedma-quic wrote:

> > On Windows specifically, we have ldexp; the issue is just that we don't have ldexpf.
> 
> Can we handle this by just promoting float to double in codegen?

Yes, that's fine; the Windows math.h does exactly the same thing.

https://github.com/llvm/llvm-project/pull/92707


More information about the llvm-commits mailing list