As an intermediate step, some TLI functions can be converted to using
LLT instead of MVT. Move this somewhere out of GlobalISel so DAG
functions can use these.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Can you add a comment noting the deficiencies of these conversions?
In particular:
- MVT can't distinguish pointers from integers, and LLT cannot distinguish floating-point from integers. Therefore, only integer scalars and vectors will result from these conversions.
- LLT cannot represent scalable vector types (yet?), so getLLTForMVT will assert if provided such an MVT.