1*02650ac0SDavid Sherwood++ SVE CodeGen Warnings ++ 2*02650ac0SDavid Sherwood 3*02650ac0SDavid SherwoodWhen the WARN check lines fail in the SVE codegen tests it most likely means you 4*02650ac0SDavid Sherwoodhave introduced a warning due to: 5*02650ac0SDavid Sherwood1. Adding an invalid call to VectorType::getNumElements() or EVT::getVectorNumElements() 6*02650ac0SDavid Sherwood when the type is a scalable vector. 7*02650ac0SDavid Sherwood2. Relying upon an implicit cast conversion from TypeSize to uint64_t. 8*02650ac0SDavid Sherwood 9*02650ac0SDavid SherwoodFor generic code, please modify your code to work with ElementCount and TypeSize directly. 10*02650ac0SDavid SherwoodFor target-specific code that only deals with fixed-width vectors, use the fixed-size interfaces. 11*02650ac0SDavid SherwoodPlease refer to the code where those functions live for more details. 12