[LLVMbugs] [Bug 9490] llc requires a 64-bit induction var to optimize "fourinarow"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 18 10:03:06 PDT 2011


Andrew Trick <atrick at apple.com> changed:

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

--- Comment #2 from Andrew Trick <atrick at apple.com> 2011-03-18 12:03:06 CDT ---
The original patch is incomplete because the SCEV expander may ask for a
canonical IV for a non-native type even though we never forced that IV to be
created prior to expansion. As a result, we can have multiple IV's of different
types for the same recurrence. For some reason, LSR is not always able to clean
up. Dan proposed an alternative design in which we avoid considering non-native
IVUsers. That covers both canonical IV creation and SCEV expansion. 

Fixed in r127884.

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