[PATCH] D33694: [PartialInlining] : Partial inlining Overhead reduction: eliminate unnecessary live-out(s)
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 31 16:22:49 PDT 2017
davide added a comment.
An alternative, which I find slightly more readable is using `llvm::all_of` to make sure all the operands are the same of the first, and in that case return the first and `nullptr` otherwise.
That would remove the need for the loop.
https://reviews.llvm.org/D33694
More information about the llvm-commits
mailing list