[PATCH] D104187: [DAGCombine] reduceBuildVecToShuffle(): sort input vectors by decreasing size
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 14 06:40:06 PDT 2021
lebedev.ri marked an inline comment as done.
lebedev.ri added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:19277
+ // FIXME: promote to STLExtras.
+ auto getFirstIndexOf = [](auto &&Range, const auto &Val) {
+ auto I = find(Range, Val);
----------------
jpienaar wrote:
> Seems to be failing to build for some compiler configs: https://lab.llvm.org/buildbot/#/builders/13/builds/8869/steps/6/logs/stdio
Yes, already fixed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104187/new/
https://reviews.llvm.org/D104187
More information about the llvm-commits
mailing list