diff options
| author | Necip Fazil Yildiran <necip@google.com> | 2024-04-03 15:28:17 -0700 |
|---|---|---|
| committer | prabhukr <prabhukr@google.com> | 2024-04-03 15:28:17 -0700 |
| commit | 32cfd9e529da973802dd94e32d3958e4fc869732 (patch) | |
| tree | 9ebc98309a3b662205acadd38b306447e6bd4e37 /llvm/lib/CodeGen/MIRPrinter.cpp | |
| parent | 029e1d751503268e3d8b01db769e710835c3010d (diff) | |
| parent | 61a5a2278fb2f0b50ef7a44aa042ddc590f44998 (diff) | |
[𝘀𝗽𝗿] initial versionusers/Prabhuk/sprasmprintercallgraphsection-emit-call-graph-section-1
Created using spr 1.3.6-beta.1
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MIRPrinter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index bbc6d39d17fc..e0479ba70021 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -546,6 +546,9 @@ void MIRPrinter::convertCallSiteObjects(yaml::MachineFunction &YMF, printRegMIR(ArgReg.Reg, YmlArgReg.Reg, TRI); YmlCS.ArgForwardingRegs.emplace_back(YmlArgReg); } + // Get type id. + if (CSInfo.second.TypeId) + YmlCS.TypeId = CSInfo.second.TypeId->getZExtValue(); YMF.CallSitesInfo.push_back(YmlCS); } |
