search for: getvectornumelementsrecursive

Displaying 2 results from an estimated 2 matches for "getvectornumelementsrecursive".

2019 Feb 08
5
[RFC] Vector Predication
...pe ...>>>> as a <scalable I x <(J * K * L * ...) x type>> for everything but result type. We could have methods on Type that return the next level down vector type, the scalar type under the vector type nest (probably getScalarType), and the number of total scalar elements (getVectorNumElementsRecursive) assuming VL is the first valid non-zero integer: so <scalable I x <J x <K x <L x ... type ...>>>> returns I * J * K * L * ... We will probably want to cache the innermost scalar type and the number of total scalar elements. Since we want to avoid adding another field to Typ...
2019 Feb 07
2
[RFC] Vector Predication
Jacob Lifshay <programmerjake at gmail.com> writes: > So it would be handy for the vector length on evl intrinsics to be in > units of the mask length so we don't have to pattern match a division > in the backend. We could have 2 variants of the vector length > argument, one in terms of the data vector and one in terms of the mask > vector. we could legalize the mask