• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1++ SVE CodeGen Warnings ++
2
3When the WARN check lines fail in the SVE codegen tests it most likely means you
4have introduced a warning due to:
51. Adding an invalid call to VectorType::getNumElements() or EVT::getVectorNumElements()
6   when the type is a scalable vector.
72. Relying upon an implicit cast conversion from TypeSize to uint64_t.
8
9For generic code, please modify your code to work with ElementCount and TypeSize directly.
10For target-specific code that only deals with fixed-width vectors, use the fixed-size interfaces.
11Please refer to the code where those functions live for more details.
12