[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


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:


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