[LLVMbugs] [Bug 1646] Weak alias assumed to be non-null results in wrong code for unwind-dw2.c

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Sep 10 16:48:18 PDT 2007


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


Chris Lattner <sabre at nondot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal
             Status|NEW                         |RESOLVED
          Component|new bugs                    |Core LLVM classes
            Product|new-bugs                    |libraries
         Resolution|                            |FIXED
   Target Milestone|---                         |2.1
            Version|unspecified                 |2.0




--- Comment #12 from Chris Lattner <sabre at nondot.org>  2007-09-10 18:48:18 ---
The fix is to tell the constant folding pass to back off from aliases.  We
expect the linker to resolve them as aggressively as possible, so this
shouldn't cause poor codegen.  The code you found in instcombine is actually
dead, as it is only reached if the operands are not both constants.

Both issues are fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070910/053371.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070910/053372.html

-Chris


-- 
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