Here's a patch to lower SDIV for vectors of i32/i64 to scalable vectors.
And a couple follow-up questions:
- v2i32 and v4i64 do not have NEON support, so I mapped those to scalable vectors. Is that the correct thing to do?
- How do we want to handle i8/i16 vectors? Shall we sign extend to i32 vectors, then truncate the result?
Did you mean to add udiv testcases?