[PATCH] D123516: Fix SLP score for out of order contiguous loads

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 08:36:06 PDT 2022


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:1199
         // loads/gathers.
-        if (std::abs(*Dist) > NumLanes / 2)
           return VLOperands::ScoreAltOpcodes;
----------------
Actually, this code is part of non-power-of-2 vectorization support in SLP, the problem should disappear once it is fully landed. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123516



More information about the llvm-commits mailing list