llvm-project
0ace96cc - [SCCP][FuncSpec] Poison unreachable constant global variable user (#155753)

Commit
14 days ago
[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.
Author
Parents
Loading