JonPsson1 wrote: > Note that you need to also have softPromoteHalfType return true to get correct legalization for half operations. Thanks for pointing that out - patch updated. https://github.com/llvm/llvm-project/pull/109164