HomePhabricator

[CSInfo] Use isCandidateForCallSiteEntry() when updating the CSInfo

Authored by djtodoro on Feb 10 2020, 12:49 AM.

Description

[CSInfo] Use isCandidateForCallSiteEntry() when updating the CSInfo

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).

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