[PATCH] D122126: [LoopVectorize] Don't interleave when the number of runtime checks exceeds the threshold

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 16 00:40:57 PDT 2022


fhahn accepted this revision.
fhahn added a comment.

Still LGTM, thanks! The remaining suggestion can be addressed directly before committing the patch.



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h:324
+  /// Check if the number of runtime checks exceeds the threshold.
+  bool requiresTooManyRuntimeChecks();
+
----------------
nit: could be turned  into `const` if possible.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122126



More information about the cfe-commits mailing list