[all-commits] [llvm/llvm-project] 0d0ef3: [MachineInstr] Add isCandidateForCallSiteEntry pre...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Fri Feb 7 10:10:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d0ef315cb2004c70ab27482dc41dd046a372d1e
      https://github.com/llvm/llvm-project/commit/0d0ef315cb2004c70ab27482dc41dd046a372d1e
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
    M llvm/test/CodeGen/AArch64/arm64-anyregcc.ll
    M llvm/test/CodeGen/AArch64/arm64-patchpoint.ll
    M llvm/test/CodeGen/X86/statepoint-allocas.ll
    M llvm/test/CodeGen/X86/xray-custom-log.ll
    M llvm/test/CodeGen/X86/xray-typed-event-log.ll

  Log Message:
  -----------
  [MachineInstr] Add isCandidateForCallSiteEntry predicate

Add the isCandidateForCallSiteEntry predicate to MachineInstr to
determine whether a DWARF call site entry should be created for an
instruction.

For now, it's enough to have any call instruction that doesn't belong to
a blacklisted set of opcodes. For these opcodes, a call site entry isn't
meaningful.

Differential Revision: https://reviews.llvm.org/D74159




More information about the All-commits mailing list