[PATCH] D72387: [LoopVectorize][TTI] Add an isLegalMaskedLoadStore method. NFC

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 04:45:26 PST 2020


Ayal accepted this revision.
Ayal added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4582
+        Legal->isConsecutivePtr(Ptr) && TTI.isLegalMaskedLoadStore(I);
+    bool LegalGatherScatter = TTI.isLegalGatherOrScatter(I);
+    return !(LegalLoadStore || LegalGatherScatter);
----------------
(Can use the conventional prefix: [Is]LegalLoadStore, [Is]LegalGatherScatter; or inline everything into the return.)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72387/new/

https://reviews.llvm.org/D72387





More information about the llvm-commits mailing list