addGlobalValueSummary can check newly added FunctionSummary
and set HasParamAccess to mark that generateParamAccessSummary
is needed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
lgtm with a possible change below.
llvm/include/llvm/IR/ModuleSummaryIndex.h | ||
---|---|---|
1292 | Minor suggestion - since the common case is !HasParamAccess, I wonder if it would be a little bit more efficient to remove the check and simply HasParamAccess |= ... below. |
Minor suggestion - since the common case is !HasParamAccess, I wonder if it would be a little bit more efficient to remove the check and simply HasParamAccess |= ... below.