[PATCH] D124178: [ArgPromotion] Change the condition to check the promotion limit

Pavel Samolysov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 05:39:40 PDT 2022


psamolysov added a comment.

@nikic Thank you, good idea. I've adjusted the default value to `2`. The LIT test was also updated to cover both cases: if there are 2 parts, the arguments can be promoted but if there are 3 parts, they cannot.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124178



More information about the llvm-commits mailing list