Fixed the vector type issue that where we used getVectorNumElements() should be replaced by getVectorElementCount() when lowering these intrinsics. This is similar to D94149
Signed-off-by: Eric Tang <email@example.com>
[TargetLowering][RISCV] Fixed a scalable vector issue when lowering [s|u]mul.overflow intrinsics
tangxingxin1008 on Sep 15 2021, 12:19 AM.Authored by
Yes, I test it on AArch64 sve.