llvm-6502/test/Transforms/GlobalDCE
Bruno Cardoso Lopes ff69509f94 Remove dangling initializers in GlobalDCE
GlobalDCE deletes global vars and updates their initializers to nullptr
while leaving underlying constants to be cleaned up later by its uses.
The clean up may never happen, fix this by forcing it every time it's
safe to destroy constants.

Final patch by Rafael Espindola
http://reviews.llvm.org/D4931

<rdar://problem/17523868>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216390 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-25 17:51:14 +00:00
..
2002-07-17-CastRef.ll
2002-07-17-ConstantRef.ll
2002-08-17-FunctionDGE.ll
2002-08-17-WorkListTest.ll
2002-09-12-Redeletion.ll
2003-07-01-SelfReference.ll
2003-10-09-PreserveWeakGlobals.ll
2009-01-05-DeadAliases.ll Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
2009-02-17-AliasUsesAliasee.ll Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
basicvariabletest.ll
complex-constantexpr.ll Revert 179826. Tests were worthless. 2013-04-19 09:32:30 +00:00
deadblockaddr.ll Remove dangling initializers in GlobalDCE 2014-08-25 17:51:14 +00:00
externally_available.ll Revert "GlobalDCE: Delete available_externally initializers if it allows removing the value the initializer is referring to." 2014-07-08 17:06:03 +00:00
global_ctors_integration.ll Teach GlobalDCE how to remove empty global_ctor entries. 2014-05-02 18:35:25 +00:00
global_ctors.ll Teach GlobalDCE how to remove empty global_ctor entries. 2014-05-02 18:35:25 +00:00
indirectbr.ll GlobalDCE: Fix an oversight in my last commit that could lead to crashes. 2013-04-13 16:11:14 +00:00