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 | f231c07228deb75b6cd5ae7c9c057bc8303c6998 (patch) | |
tree | 7e6fdb7e1eff41dc8add05c95a963a3da673e3c6 /include/llvm/Config | |
parent | 319e63234a32b502919874042712cd0457876d59 (diff) | |
download | external_llvm-f231c07228deb75b6cd5ae7c9c057bc8303c6998.zip external_llvm-f231c07228deb75b6cd5ae7c9c057bc8303c6998.tar.gz external_llvm-f231c07228deb75b6cd5ae7c9c057bc8303c6998.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
0 files changed, 0 insertions, 0 deletions