[llvm-dev] Not to consolidate two structs with the same data types (but different names) in configure/make tool chain (original) (raw)

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 6 19🔞43 PST 2019


LTO has to merge the modules from different translation units. Those modules very likely have duplicate types in them so LTO merges them to avoid wasting memory on duplicates.

But I am checking the *.preopt.bc. Since it is before any optimization, I'd expect such merging should not occur.

-- Regards, Peng



More information about the llvm-dev mailing list