[llvm-commits] [llvm] r73222 - /llvm/trunk/lib/Transforms/IPO/MergeFunctions.cpp
Duncan Sands
baldrick at free.fr
Fri Jun 12 05:32:01 PDT 2009
Hi,
>>> 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.
if F and G are now the same, is there something wrong with changing the
value of the expression? Also, why not make use of an alias?
Ciao,
Duncan.
More information about the llvm-commits
mailing list