[PATCH] D113839: [NFC] Use Optional<ProfileCount> to model invalid counts

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 14 08:02:56 PST 2021


mtrofin updated this revision to Diff 387093.
mtrofin marked 2 inline comments as done.
mtrofin added a comment.

Removed const from the fields of ProfileCount


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113839

Files:
  llvm/include/llvm/IR/Function.h
  llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp
  llvm/lib/Analysis/InlineCost.cpp
  llvm/lib/Analysis/ProfileSummaryInfo.cpp
  llvm/lib/CodeGen/MachineSizeOpts.cpp
  llvm/lib/IR/Function.cpp
  llvm/lib/Transforms/IPO/PartialInlining.cpp
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/lib/Transforms/Utils/InlineFunction.cpp
  llvm/unittests/IR/MetadataTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113839.387093.patch
Type: text/x-patch
Size: 13086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211114/301b8f13/attachment.bin>


More information about the llvm-commits mailing list