[LLVMbugs] [Bug 6833] Combination of GVN, ScalarRepl, and other passes misoptimizes code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 14 13:31:31 PDT 2010


John T. Criswell <criswell at uiuc.edu> changed:

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

--- Comment #3 from John T. Criswell <criswell at uiuc.edu> 2010-04-14 15:31:31 CDT ---
I believe you are correct in that the two GEPs exhibit equivalent behavior on a
64-bit target (the result pointer is 8 bytes less than the source pointer). 
Furthermore, each GEP indexes the pointer out of the bounds of a valid memory
object, so both are equally incorrect.

I'm marking the bug resolved and invalid.


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