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

Pavel Samolysov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 02:22:30 PDT 2022


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

Use the loop to add types into the `Types` vector for the `areTypesABICompatible` call instead of the `std::transform` algorithm.


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
  llvm/test/Transforms/ArgumentPromotion/dbg.ll
  llvm/test/Transforms/ArgumentPromotion/fp80.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124514.425996.patch
Type: text/x-patch
Size: 10336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220429/bbc5cb97/attachment.bin>


More information about the llvm-commits mailing list