[LLVMbugs] [Bug 1865] GEPs aren't amenable to further analysis

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 18 09:06:58 PST 2007


Chris Lattner <sabre at nondot.org> changed:

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

--- Comment #1 from Chris Lattner <sabre at nondot.org>  2007-12-18 11:06:57 ---
That wouldn't be legal:

%tmp19 = GEP %dst, 1

Would produce a constant offset from dst for every iteration of the loop.  What
you really want is get dst, ((iv << 2) + 1) instead of |1.  I don't think this
is a useful simplification.

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