[PATCH] D124514: [ArgPromotion] Make a non-byval promotion attempt first
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 10:07:17 PDT 2022
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:842
+ std::back_inserter(Types),
+ [](const auto &Pair) { return Pair.second.Ty; });
+
----------------
This std::transform makes the code both longer and harder to read.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124514/new/
https://reviews.llvm.org/D124514
More information about the llvm-commits
mailing list