nikic wrote: One thing this makes me wonder is why we're not preferring libcall legalization for scalar fmaximum. The generated code is quite complex and probably not better than using a libcall. https://github.com/llvm/llvm-project/pull/142170