[PATCH] D142258: [LV] Ignore runtime checks threshold when vectorization is forced

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 14:07:22 PST 2023


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

LGTM thanks! Please reference the bug in the commit message.



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:1919
     // Hard cutoff to limit compile-time increase in case a very large number of
-    // runtime checks needs to be generated.
+    // runtime checks needs to be generated, unless user forced vectorization.
     // TODO: Skip cutoff if the loop is guaranteed to execute, e.g. due to
----------------
nit: perhaps: unless the user...


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

https://reviews.llvm.org/D142258



More information about the llvm-commits mailing list