[PATCH] D10679: Internalize: internalize comdat members as a group, and drop comdat on such members.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Jul 16 08:42:52 PDT 2015


> $c = comdat selectany
> @a = external global i32 0, comdat($c)
> @b = alias i32* @a

This is double invalid:

Declaration may not be in a Comdat!
i32* @a
Alias must point to a definition
i32* @b

There are talks of relaxing the second one, but the first will probably stay.

Cheers,
Rafael



More information about the llvm-commits mailing list