[PATCH] D105806: [LV] Print remark when loop cannot be vectorized due to invalid costs.

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 06:08:06 PDT 2021


thakis added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:6115
+    // Sort/group per instruction
+    llvm::sort(InvalidCosts, [](InstructionVFPair &A, InstructionVFPair &B) {
+      ElementCountComparator ECC;
----------------
…maybe this needs to be a stable_sort() instead?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105806



More information about the llvm-commits mailing list