We should be using getVectorElementCount() to assert that two types
have the same numbers of elements. I encountered the warnings while
compiling this test:
CodeGen/AArch64/sve-intrinsics-ld1.ll
|  Differential  D80616  
[CodeGen] Fix warnings in getZeroExtendInReg Authored by david-arm on May 27 2020, 2:55 AM. 
Details We should be using getVectorElementCount() to assert that two types CodeGen/AArch64/sve-intrinsics-ld1.ll 
Diff Detail 
 |