[PATCH] D109294: [Inline] Introduce Constant::hasOneLiveUse, use it instead of hasOneUse in inline cost model (PR51667)

Erik Desjardins via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 5 07:17:48 PDT 2021


erikdesjardins updated this revision to Diff 377231.
erikdesjardins added a comment.

clang-format


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109294

Files:
  llvm/include/llvm/IR/Constant.h
  llvm/lib/Analysis/InlineCost.cpp
  llvm/lib/IR/Constants.cpp
  llvm/test/Transforms/Inline/inline-cost-dead-users.ll
  llvm/test/Transforms/Inline/last-callsite.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109294.377231.patch
Type: text/x-patch
Size: 6580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211005/9d25e661/attachment.bin>


More information about the llvm-commits mailing list