Interfaces changed to return ElementCount:
- LoopVectorizationCostModel::computeMaxVF
- LoopVectorizationCostModel::computeFeasibleMaxVF
This is NFC for fixed-width vectors.
Differential D90880
[LoopVectorizer] NFC: Return ElementCount from compute[Feasible]MaxVF sdesmalen on Nov 5 2020, 1:40 PM. Authored by
Details Interfaces changed to return ElementCount:
This is NFC for fixed-width vectors.
Diff Detail
Event TimelineComment Actions Is expected to make anything work yet for scalable vectors, or is it just updating interfaces? (i.e. will the code be checked somehow to make sure it will work for scalable vectors).
Comment Actions Added assert
Comment Actions
For this patch, it is just a matter of updating the interfaces. It will be up to follow-up patches to make the code actually work for scalable vectors (such as D91077). |