diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-09 05:52:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-09 05:52:15 +0000 |
commit | 317293b504e5ef3e65e3dacc645fa465359adc26 (patch) | |
tree | 27d25532e40dc00a0dc4213183a4970879fda188 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6f884e07c57809d8a3af4f6374797fbfaf019382 (diff) | |
download | bcm5719-llvm-317293b504e5ef3e65e3dacc645fa465359adc26.tar.gz bcm5719-llvm-317293b504e5ef3e65e3dacc645fa465359adc26.zip |
Make the code generator rip of dead constant expr uses before deciding
whether a global is dead or not. This should fix PR3749 - linker adds
spurious use to appending globals. I can't reasonably add a testcase
for this, because the bc writer/reader strip dead constant users.
llvm-svn: 66404
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions