[PATCH] D124514: [ArgPromotion] Make a non-byval promotion attempt first

Pavel Samolysov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 10:32:49 PDT 2022


psamolysov added a comment.

@aeubanks Hm... thank you for the explanation why my first attempt to run two passes didn't work. I used two passes instead of just run `argpromotion` on an optimized IR because I saw examples of such approach in the tests, `llvm\test\Transforms\ArgumentPromotion\2008-09-07-CGUpdate.ll` for example runs `inline` before `argpromotion`. I've updated the test to run the `argpromotion` pass only.


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