[PATCH] D137497: [ArgumentPromotion] Allow the frontend to specify the maximum number of elements to promote on a per-function basis via metadata.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 5 13:40:22 PDT 2022


nikic added a comment.

Could you please share some of the motivating (unreduced) IR samples? Allowing to configure this via metadata sounds sensible in principle, but I'm not sure your overall plan ("The frontend will tag destructor functions with !argpromotion set to some high value, perhaps 8 or 16") is viable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137497/new/

https://reviews.llvm.org/D137497



More information about the llvm-commits mailing list