lukel97 wrote: I've updated this PR to decouple it from EVL tail folding, so it now has a dedicated TTI hook. In future if AArch64 wants to support this with a non-VP llvm.masked.div intrinsic we can replace it. https://github.com/llvm/llvm-project/pull/154076