dtemirbulatov wrote: > This is just a thought, but SVE2 also has NBSL which is essentially just NOT(BSL). Is there any value in adding new patterns for this too? yes, I think I could do it in the follow-up patch. https://github.com/llvm/llvm-project/pull/88413