Remove the GlobalValueInfo and change the ModuleSummaryIndex to directly
reference summary objects. The info structure was there to support lazy
parsing of the combined index summary objects, which is no longer
needed and not supported.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks like a good cleanup!
Could we change the references in the bitcode from being "offset based" to be an "id" (simple increment)?
Comment Actions
I think that would be a good idea to make things more consistent between the permodule and combined indexes. I was just looking at that, and it is straightforward, but I'd prefer to do that as a follow on (can do that right after this one goes in). It will mean changing the bitcode format (remove the summary offset from the combined VST entries and adding a value id to the combined summary entries), and I'd prefer to keep this change just to the internal data structures and not mix in bitcode changes in the same patch. Does that sound ok?