Mostly keep the existing functions on scalars, but add versions which
also operate based on the vector element size.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
My preference here would be to have a separate set of mutations for vector elements, @dsanders @aditya_nandakumar what do you think?
Comment Actions
What about having 3 versions for each of these? e.g. minScalar, minElement, minScalarOrElement?
Comment Actions
I still think having scalar and scalarOrElt versions of the various LegalizeRuleSet functions would be useful. I think there are legitimate uses for clamping the vector and scalar element sizes separately, and wanting both to match would also be common. Also if I just change the behavior of all of these now, I'm going to have to update all of the targets with new, untested legalization behavior for all of the vector types. I'll try to produce the full set of these and see what it looks like.