huntergr-arm wrote: Rebased on top of the cost model change, and I removed the extra select recipe in favor of the broadcast approach. We can change that to the scalar condition later. https://github.com/llvm/llvm-project/pull/158088