[PATCH] D124514: [ArgPromotion] Allow pointer promotion if byval adds to many arguments

Pavel Samolysov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 04:37:54 PDT 2022


psamolysov added a comment.

> Might make sense to move the non-byval promotion attempt first and then fall back to byval? I think non-byval promotion is generally better if it's possible.

Let's start from this change. I'm going to update the patch moving the non-byval attempt first.


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