[llvm-commits] [llvm] r73222 - /llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp

Frits van Bommel fvbommel at wxs.nl
Fri Jun 12 04:03:14 PDT 2009


Duncan Sands wrote:
> Hi Nick,
> 
>> Emit thunks.
> 
> is this a workaround for not all targets supporting
> aliases?

It's a workaround to make sure "(void*)&F == (void*)&G" doesn't break; if this 
wasn't done F and G couldn't be merged because it would change the value of that 
expression.




More information about the llvm-commits mailing list