[PATCH] D74122: [CallSiteInfo] Use the isCandidateForCallSiteEntry() when update the cs info
Djordje Todorovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 08:26:05 PDT 2020
djtodoro marked an inline comment as done.
djtodoro added inline comments.
================
Comment at: llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp:1445
+ // Update the call site info.
+ if (MI.isCandidateForCallSiteEntry())
+ MF->moveCallSiteInfo(&MI, &*MIB);
----------------
chill wrote:
> Likewise, isn't this redundant, given we have `TPsoft`/`tTPsoft`, both of which have `isCall = 1`?
I think it is not, since we do not consider all posible calls as ‘call site entry candidates’. The call site info is used for debug entry values feature only (for now).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74122/new/
https://reviews.llvm.org/D74122
More information about the llvm-commits
mailing list