[PATCH] D128863: Add switch to use "source_file_name" instead of Module ID for globally promoted local
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 29 16:48:00 PDT 2022
tejohnson added a comment.
> During LTO a local promoted to a global gets a unique suffix based partially on the Module's ID.
The hash is actually a hash of the full module IR, computed when we write out the bitcode before the ThinLTO link, saved in the bitcode file, then read into a table indexed by module Id.
> This has a problem, because the Module ID is not the same as the original Module ID.
Can you clarify what the different module IDs you are comparing here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128863/new/
https://reviews.llvm.org/D128863
More information about the llvm-commits
mailing list