Argument-register pairs in CallSiteInfo is only needed when EmitCallSiteInfo
is on. Currently, the pairs are always pushed to the vector but only used
when EmitCallSiteInfo is on.
Don't fill the CallSiteInfo vector unless used.
| Paths 
 |  Differential  D107108  
[MIPS][CallSiteInfo][NFC] Fill CallSiteInfo only when needed AcceptedPublic Authored by Prabhuk on Jul 29 2021, 2:41 PM. 
Details Summary Argument-register pairs in CallSiteInfo is only needed when EmitCallSiteInfo Don't fill the CallSiteInfo vector unless used. 
Diff Detail 
 Event TimelineHerald added subscribers: atanasyan, jrtc27, hiraditya and 2 others.  ·  View Herald TranscriptJul 29 2021, 2:41 PM necipfazil added a child revision: D107109: [CallSiteInfo][NFC] CallSiteInfo -> CallSiteInfo.ArgRegPairs.Jul 29 2021, 2:44 PM This revision is now accepted and ready to land.Jul 29 2021, 3:53 PM 
 
Revision Contents 
 
 
 
Diff 558153 llvm/include/llvm/CodeGen/AsmPrinter.h
 llvm/include/llvm/MC/MCObjectFileInfo.h
 llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 llvm/lib/MC/MCObjectFileInfo.cpp
 llvm/test/CodeGen/call-graph-section.ll
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||