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

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 08:33:47 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG11c8efd4db0f: [Inline] Introduce Constant::hasOneLiveUse, use it instead of hasOneUse in… (authored by erikdesjardins, committed by mtrofin).

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.377868.patch
Type: text/x-patch
Size: 7188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211007/cee65396/attachment.bin>


More information about the llvm-commits mailing list