This patch builds on top of D106575 in which scalable-vector splats were
supported in ISD::matchBinaryPredicate. It teaches the DAGCombiner how
to perform a variety of the pre-existing saturating add/sub combines on
scalable-vector types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
I was wondering whether now's the time to add yet another function like ISD::isBuildVectorOrSplatVector. Thoughts?