As with isLegalGatherScatter added in D71919, this adds a isLegalMaskedLoadStore method to TTI to remove the need for a similar functionality in the vectorizer.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks!
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | ||
---|---|---|
4582 | (Can use the conventional prefix: [Is]LegalLoadStore, [Is]LegalGatherScatter; or inline everything into the return.) |
(Can use the conventional prefix: [Is]LegalLoadStore, [Is]LegalGatherScatter; or inline everything into the return.)