[LLVMbugs] [Bug 8883] constant folding doesn't simplify constantexpr gep to constantint

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 5 22:20:39 PST 2011


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

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|instcombine doesn't         |constant folding doesn't
                   |simplify constantexpr       |simplify constantexpr gep
                   |operands                    |to constantint

--- Comment #5 from Chris Lattner <clattner at apple.com> 2011-01-06 00:20:39 CST ---
Inliner is doing the right thing, constantfolding.cpp just didn't know how to
handle this case.  Simple enough, implemented in r122950.  Thanks for tracking
down what the root issue is Dan!

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