For now I have changed SimplifyDemandedBits and it's various callers
to assume we know nothing for scalable vectors and to ignore the
demanded bits completely. I have also done something similar for
SimplifyDemandedVectorElts. These changes fix up lots of warnings
due to calls to EVT::getVectorNumElements() for types with scalable
vectors. These functions are all used for optimisations, rather than
functional requirements. In future we can revisit this code if
there is a need to improve code quality for SVE.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
- Added some unit tests for NEON and SVE that demonstrate the different behaviour.
- Added checks for no warnings in some tests due to this patch removing the last warnings in those files.