[llvm-commits] [llvm] r93052 - /llvm/trunk/lib/Linker/LinkModules.cpp

Duncan Sands baldrick at free.fr
Sun Jan 10 00:45:19 PST 2010


Hi David,

> Linking modules containing aliases to GEPs is still not quite right.  GEPs that are equivalent to bitcasts will be replaced by bitcasts, GEPs that are not will just break.  Aliases to GEPs that are not equivalent to bitcasts are horribly broken anyway (it might be worth adding an assert when creating the alias to prevent these being created; they just cause problems later).

I thought GEPS that are not equivalent to bitcasts are not allowed in aliases?

Ciao,

Duncan.



More information about the llvm-commits mailing list