[PATCH] D74122: [CallSiteInfo] Use the isCandidateForCallSiteEntry() when update the cs info

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 04:39:16 PST 2020


djtodoro created this revision.
djtodoro added reviewers: vsk, aprantl, dstenb.
djtodoro added a project: debug-info.
Herald added subscribers: llvm-commits, hiraditya, qcolombet, MatzeB.
Herald added a project: LLVM.
djtodoro added a child revision: D73700: [CallSiteInfo] Fix the assertions regarding updating the CallSiteInfo.

Use the `isCandidateForCallSiteEntry()`.
This should mostly be an NFC, but there are some parts ensuring the `moveCallSiteInfo` and `copyCallSiteInfo` operate with call site entry candidates (both `Src` and `Dest` should be the call site entry candidates).


https://reviews.llvm.org/D74122

Files:
  llvm/lib/CodeGen/BranchFolding.cpp
  llvm/lib/CodeGen/IfConversion.cpp
  llvm/lib/CodeGen/InlineSpiller.cpp
  llvm/lib/CodeGen/LiveRangeEdit.cpp
  llvm/lib/CodeGen/MachineFunction.cpp
  llvm/lib/CodeGen/MachineOutliner.cpp
  llvm/lib/CodeGen/PeepholeOptimizer.cpp
  llvm/lib/CodeGen/TargetInstrInfo.cpp
  llvm/lib/CodeGen/UnreachableBlockElim.cpp
  llvm/lib/CodeGen/XRayInstrumentation.cpp
  llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
  llvm/lib/Target/X86/X86ExpandPseudo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74122.242871.patch
Type: text/x-patch
Size: 12785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200206/53fe46f9/attachment-0001.bin>


More information about the llvm-commits mailing list