[llvm] [VectorUtils] Trivially vectorize ldexp, [l]lround (PR #145545)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 29 06:50:29 PDT 2025


artagnon wrote:

> > I would expect the costs to be something like 10 for a libcall, and 10*4+scalarization_overhead for the vector. They might need to be overriden on AArch64 as they are marked custom, but I don't see them in BasicTTIImplBase::getTypeBasedIntrinsicInstrCost.
> 
> Will investigate.

Thanks, I think this was indeed the issue. ldexp cost has now been fixed.

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


More information about the llvm-commits mailing list