[PATCH] D105915: [CallSiteInfo][CallGraphSection] Extend CallSiteInfo for indirect call type ids

Necip Fazil Yildiran via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 22 21:35:43 PDT 2021


necipfazil updated this revision to Diff 361081.
necipfazil marked 2 inline comments as done.
necipfazil added a comment.

MipsISelLowering: Fill `CallSiteInfo::ArgRegPairs` only if `-emit-call-site-info`
`ArgRegPairs` was always filled but the container `CallSiteInfo` instance was only passed to DAG if `-emit-call-site-info`. Now we pass the `CallSiteInfo` instance to DAG when `--call-graph-section` as well. Avoid superfluous `ArgRegPairs` by filling them only when `-emit-call-site-info`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105915/new/

https://reviews.llvm.org/D105915

Files:
  llvm/include/llvm/CodeGen/MachineFunction.h
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/CodeGen/MIRParser/MIRParser.cpp
  llvm/lib/CodeGen/MIRPrinter.cpp
  llvm/lib/CodeGen/MachineFunction.cpp
  llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/Mips/MipsISelLowering.cpp
  llvm/lib/Target/X86/X86FastISel.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105915.361081.patch
Type: text/x-patch
Size: 15827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210723/5c204833/attachment.bin>


More information about the llvm-commits mailing list