aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorHaowei <haowei@google.com>2025-07-23 15:45:43 -0700
committerGitHub <noreply@github.com>2025-07-23 15:45:43 -0700
commit05e08cdb3e576cc0887d1507ebd2f756460c7db7 (patch)
tree8000d19ffbb51f0b730d3e0160293bbdd7357c27 /llvm/lib/CodeGen/MachineFunction.cpp
parent11d97b3b58687bf4db978d3ba3c15fd6177549fa (diff)
downloadllvm-05e08cdb3e576cc0887d1507ebd2f756460c7db7.zip
llvm-05e08cdb3e576cc0887d1507ebd2f756460c7db7.tar.gz
llvm-05e08cdb3e576cc0887d1507ebd2f756460c7db7.tar.bz2
Revert "[llvm] Add CalleeTypeIds field to CallSiteInfo" (#150335)
Reverts llvm/llvm-project#87574, which breaks LLVM :: CodeGen/MIR/X86/call-site-info-ambiguous-indirect-call-typeid.mir tests on linux-arm64 builders.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 468849c7..429a17a 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -920,7 +920,7 @@ MachineFunction::getCallSiteInfo(const MachineInstr *MI) {
assert(MI->isCandidateForAdditionalCallInfo() &&
"Call site info refers only to call (MI) candidates");
- if (!Target.Options.EmitCallSiteInfo && !Target.Options.EmitCallGraphSection)
+ if (!Target.Options.EmitCallSiteInfo)
return CallSitesInfo.end();
return CallSitesInfo.find(MI);
}