[LLVMbugs] [Bug 6712] mergefunc work looks not as good as possible with weak_odr

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 27 00:22:34 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6712

Nick Lewycky <nicholas at mxc.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Nick Lewycky <nicholas at mxc.ca> 2010-03-27 02:22:34 CDT ---
The output IR as pasted can't be improved upon. 
@_D5temp216__T9factorialTiZ9factorialFiZi and 
@_D5temp216__T9factorialTkZ9factorialFkZk are weak, so there's nothing more to
do. We can't delete them (since they're externally visible symbols) or merge
them any further since they contain nothing but calls to @0. @0 places calls to
both of the @_D5temp... methods, but since those are weak, we can't turn those
into direct calls of @0 either.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list