[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
Wed Apr 27 04:09:09 PDT 2022


psamolysov updated this revision to Diff 425475.
psamolysov added a comment.

Change the test to use the legacy pass manager, unfortunately the buildbot doesn't accept tests with arguments for the `opt` tool in the following format: `-passes=function(sroa),cgscc(argpromotion)`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124514

Files:
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/test/Transforms/ArgumentPromotion/byval-through-pointer-promotion.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124514.425475.patch
Type: text/x-patch
Size: 4832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220427/010b9109/attachment.bin>


More information about the llvm-commits mailing list