[PATCH] D78940: [llvm][NFC] Use CallBase instead of Instruction in ProfileSummaryInfo
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 27 09:39:28 PDT 2020
mtrofin created this revision.
mtrofin added reviewers: dblaikie, craig.topper, wmi.
Herald added subscribers: llvm-commits, hiraditya, eraman.
Herald added a project: LLVM.
getProfileCount requires the parameter be a valid CallBase, and its uses
reflect that.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78940
Files:
llvm/include/llvm/Analysis/ProfileSummaryInfo.h
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
llvm/lib/Analysis/ProfileSummaryInfo.cpp
llvm/lib/Transforms/Utils/InlineFunction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78940.260354.patch
Type: text/x-patch
Size: 5986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200427/ab508a93/attachment.bin>
More information about the llvm-commits
mailing list