huntergr-arm wrote: Rebased on the vecops-expansion-based lowering from #118810. I implemented basic SVE isel pattern matching for the new ISD node, then added a couple new dag combines to fold to lastb, then clastb. https://github.com/llvm/llvm-project/pull/112738