[all-commits] [llvm/llvm-project] 0ace96: [SCCP][FuncSpec] Poison unreachable constant globa...
XChy via All-commits
all-commits at lists.llvm.org
Thu Aug 28 04:13:48 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0ace96cca79c03c668b260dd01996e3d693e3f4f
https://github.com/llvm/llvm-project/commit/0ace96cca79c03c668b260dd01996e3d693e3f4f
Author: XChy <xxs_chy at outlook.com>
Date: 2025-08-28 (Thu, 28 Aug 2025)
Changed paths:
M llvm/lib/Transforms/IPO/SCCP.cpp
A llvm/test/Transforms/FunctionSpecialization/dead-gv-load.ll
Log Message:
-----------
[SCCP][FuncSpec] Poison unreachable constant global variable user (#155753)
Fixes #155738.
The original assumption "we already replaced its users with a constant"
for the global variable becomes incorrect after #154668. The users in
the dead function are not simplified, in fact.
This patch poisons all the unsimplified constant global variable users.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list