[llvm] [InstCombine][RISCV] Convert VPIntrinsics with splat operands to splats (PR #65706)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 8 12:38:54 PDT 2023
michaelmaitland wrote:
> Would it make sense to do this in VectorCombine::scalarizeBinopOrCmp? It seems to have some cost modelling in there which I'd imagine would be good to take advantage of
It isn't quite similar enough to fit right into VectorCombine::scalarizeBinopOrCmp, but I've put it in right around that same area. Having the cost model from VectorCombine there is a great idea.
https://github.com/llvm/llvm-project/pull/65706
More information about the llvm-commits
mailing list