[LLVMbugs] [Bug 3574] missed opt: ptrtoint(inttoptr (a -> b), c) -> sext

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 22 17:28:21 PST 2010


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

Dan Gohman <gohman at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |gohman at apple.com
         Resolution|                            |FIXED

--- Comment #2 from Dan Gohman <gohman at apple.com> 2010-02-22 19:28:21 CST ---
This is now fixed.  inttoptr/ptrtoint always zero-extend, and the optimizer now
transforms this code to a single zext.

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