[llvm] Refactoring changes to support emitting call graph section (PR #83176)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 14:16:57 PST 2024
================
@@ -888,8 +888,10 @@ EmitSchedule(MachineBasicBlock::iterator &InsertPos) {
}
if (MI->isCandidateForCallSiteEntry() &&
- DAG->getTarget().Options.EmitCallSiteInfo)
- MF.addCallArgsForwardingRegs(MI, DAG->getCallSiteInfo(Node));
+ DAG->getTarget().Options.EmitCallSiteInfo) {
+ // MF.addCallArgsForwardingRegs(MI, DAG->getCallSiteInfo(Node));
+ MF.addCallSiteInfo(MI, DAG->getCallSiteInfo(Node));
+ }
----------------
ilovepi wrote:
nit: you don't need the braces. It will be clear if you just remove the commented out line.
https://github.com/llvm/llvm-project/pull/83176
More information about the llvm-commits
mailing list