1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/Transforms/GlobalDCE
Bruno Cardoso Lopes 0d2047fa29 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>

llvm-svn: 216390
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