[llvm] [ThinLTO]Record import type (declaration or definition) in GlobalValueSummary::GVFlags (PR #87597)
Jan Voung via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 5 08:35:16 PDT 2024
================
@@ -251,7 +251,8 @@ template <> struct CustomMappingTraits<GlobalValueSummaryMapTy> {
static_cast<bool>(FSum->flags().NotEligibleToImport),
static_cast<bool>(FSum->flags().Live),
static_cast<bool>(FSum->flags().DSOLocal),
- static_cast<bool>(FSum->flags().CanAutoHide), Refs,
+ static_cast<bool>(FSum->flags().CanAutoHide),
+ static_cast<bool>(FSum->flags().ImportAsDec), Refs,
----------------
jvoung wrote:
Should there be an entry above in "MappingTraits<FunctionSummaryYaml>" too?
https://github.com/llvm/llvm-project/pull/87597
More information about the llvm-commits
mailing list