It's follow up for D80908
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
Thanks, a few follow on questions and nits below.
llvm/docs/LangRef.rst | ||
---|---|---|
6855 | nit: s/Then/The/ I assume if it is passed directly to another call and we don't know the accesses within that callee (this is the per-module summary) that it would have a calls entry with offset [0,0]? | |
6858 | nit: "increments or decrements the parameter pointer and passes it.." | |
llvm/include/llvm/IR/ModuleSummaryIndex.h | ||
557 | nit: s/in in/in/ The "by all of the call targets it is passed to" sounds ambiguous to me, as if we already have knowledge of how it is accessed within those callees. I guess this is the situation after the thin link, but not initially. Probably best to be more explicit. I.e., from my understanding reading your LangRef writeup:
|
llvm/docs/LangRef.rst | ||
---|---|---|
6855 |
calls list is only needed when we don't know accesses inside of callee. If we know accesses we can directly apply them to offset of parameter (offset: [5, 5]) | |
llvm/include/llvm/IR/ModuleSummaryIndex.h | ||
557 | I moved this description close to fields. |
nit: s/Then/The/
I assume if it is passed directly to another call and we don't know the accesses within that callee (this is the per-module summary) that it would have a calls entry with offset [0,0]?