diff options
| author | Necip Fazil Yildiran <necip@google.com> | 2024-04-03 15:20:04 -0700 |
|---|---|---|
| committer | prabhukr <prabhukr@google.com> | 2024-04-03 15:20:04 -0700 |
| commit | 4963b5cf66f47be76d1db52caab0aa83e707538e (patch) | |
| tree | 33586c605ee13c1ace4ee8b66899c558fc3e2aee /llvm/lib/CodeGen/MachineFunction.cpp | |
| parent | 029e1d751503268e3d8b01db769e710835c3010d (diff) | |
[𝘀𝗽𝗿] changes to main this commit is based onusers/Prabhuk/sprmain.asmprintercallgraphsection-emit-call-graph-section
Created using spr 1.3.6-beta.1
[skip ci]
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index ad5321499266..dd0f4e1c66c3 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -878,7 +878,7 @@ MachineFunction::getCallSiteInfo(const MachineInstr *MI) { assert(MI->isCandidateForCallSiteEntry() && "Call site info refers only to call (MI) candidates"); - if (!Target.Options.EmitCallSiteInfo) + if (!Target.Options.EmitCallSiteInfo && !Target.Options.EmitCallGraphSection) return CallSitesInfo.end(); return CallSitesInfo.find(MI); } |
