[PATCH] D115750: [SLP]Further improvement of the cost model for scalars used in buildvectors.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 08:45:12 PDT 2022
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6583
+ "insertelement users.\n";
+ if (TEs.front()) TEs.front()->dump(); TEs.back()->dump();
+ dbgs() << "SLP: Current total cost = " << Cost << "\n");
----------------
ABataev wrote:
> RKSimon wrote:
> > Is this correct - not sure if you want braces here or just a newline
> Want to dump TreeEntries here, if possible, helps to get more info about the graph, rather than just an instruction.
Ah, did not understand the question. Everything is ok here, just the first element might be a `nullptr`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115750/new/
https://reviews.llvm.org/D115750
More information about the llvm-commits
mailing list