[all-commits] [llvm/llvm-project] cb56e9: [llvm][NFC] Use CallBase instead of Instruction in...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Apr 27 20:48:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cb56e9b923367266a9affdfaf106f4648ad16275
      https://github.com/llvm/llvm-project/commit/cb56e9b923367266a9affdfaf106f4648ad16275
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/ProfileSummaryInfo.h
    M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
    M llvm/lib/Analysis/ProfileSummaryInfo.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp

  Log Message:
  -----------
  [llvm][NFC] Use CallBase instead of Instruction in ProfileSummaryInfo

Summary:
getProfileCount requires the parameter be a valid CallBase, and its uses
reflect that.

Reviewers: dblaikie, craig.topper, wmi

Subscribers: eraman, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78940




More information about the All-commits mailing list