[all-commits] [llvm/llvm-project] 2371d0: [DebugInfo] Only call upgradeCULocals() at module ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Oct 16 00:55:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2371d0ab263c164be820f961095cc22076566d12
https://github.com/llvm/llvm-project/commit/2371d0ab263c164be820f961095cc22076566d12
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
Log Message:
-----------
[DebugInfo] Only call upgradeCULocals() at module level (#68965)
Loading a 2GB bitcode file, I noticed that we spend minutes just running
upgradeCULocals(). Apparently it gets invoked every time a metadata
block is loaded, which will be once at the module level and then once
per function. However, the relevant metadata only exists at the module
level, so running this upgrade per function is unnecessary.
More information about the All-commits
mailing list