[PATCH] D109033: [InlineCost] Introduce attributes to override InlineCost for inliner testing

Daniil Suchkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 1 14:11:16 PDT 2021


DaniilSuchkov updated this revision to Diff 370055.
DaniilSuchkov added a comment.

Addressed the comments:

1. Got rid of CallBase::getFnAttr change, moved that part into a local helper function.
2. stringAttrAsInt isn't a template now.


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

https://reviews.llvm.org/D109033

Files:
  llvm/lib/Analysis/InlineCost.cpp
  llvm/test/Transforms/Inline/inline-call-penalty-option.ll
  llvm/test/Transforms/Inline/inline-cold-callee.ll
  llvm/test/Transforms/Inline/inline-cold-callsite-pgo.ll
  llvm/test/Transforms/Inline/inline-cold-callsite.ll
  llvm/test/Transforms/Inline/inline-cold.ll
  llvm/test/Transforms/Inline/inline-cost-attributes.ll
  llvm/test/Transforms/Inline/inline-threshold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109033.370055.patch
Type: text/x-patch
Size: 17435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210901/29cb5b9a/attachment.bin>


More information about the llvm-commits mailing list