[PATCH] D149768: [ArgumentPromotion] Bail if any callers are minsize and more instructions are added than removed

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 16:27:56 PDT 2023


aeubanks updated this revision to Diff 520510.
aeubanks retitled this revision from "[ArgumentPromotion] Bail if any callers are minsize" to "[ArgumentPromotion] Bail if any callers are minsize and more instructions are added than removed".
aeubanks edited the summary of this revision.
aeubanks added a comment.

check number of instructions added/removed to decide when to bail


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149768

Files:
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/test/Transforms/ArgumentPromotion/minsize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149768.520510.patch
Type: text/x-patch
Size: 5939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230508/0ade2155/attachment.bin>


More information about the llvm-commits mailing list