llvm-6502/test/Transforms/GlobalDCE
Rafael Espindola f907a26bc2 Change the .ll syntax for comdats and add a syntactic sugar.
In order to make comdats always explicit in the IR, we decided to make
the syntax a bit more compact for the case of a GlobalObject in a
comdat with the same name.

Just dropping the $name causes problems for

@foo = globabl i32 0, comdat
$bar = comdat ...

and

declare void @foo() comdat
$bar = comdat ...

So the syntax is changed to

@g1 = globabl i32 0, comdat($c1)
@g2 = globabl i32 0, comdat

and

declare void @foo() comdat($c1)
declare void @foo() comdat

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225302 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-06 22:55:16 +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
pr20981.ll Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00