[all-commits] [llvm/llvm-project] 1a1a68: [StripDeadDebugInfo] Drop dead CUs for const globa...
Alexey Bader via All-commits
all-commits at lists.llvm.org
Mon Jul 31 16:00:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a1a68411dcb2c2390e28d1943864885684d4ba0
https://github.com/llvm/llvm-project/commit/1a1a68411dcb2c2390e28d1943864885684d4ba0
Author: Alexey Bader <alexey.bader at intel.com>
Date: 2023-07-31 (Mon, 31 Jul 2023)
Changed paths:
M llvm/lib/Transforms/IPO/StripSymbols.cpp
A llvm/test/Transforms/StripSymbols/strip-cu-with-const-gve.ll
Log Message:
-----------
[StripDeadDebugInfo] Drop dead CUs for const global expression
Compile units are not left explicitly if they have const global
expression. They should be left if that const global is used in a
function that is contained in extracted module.
Signed-off-by: Mikhail Lychkov <mikhail.lychkov at intel.com>
Differential Revision: https://reviews.llvm.org/D131179
More information about the All-commits
mailing list