[LLVMbugs] [Bug 1301] [LSR/IndVars] Ada array traversal with a non-word index type optimizations

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon May 11 19:36:48 PDT 2009


Dan Gohman <gohman at apple.com> changed:

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

--- Comment #13 from Dan Gohman <gohman at apple.com>  2009-05-11 21:36:47 ---
After a long series of patches, culminating with this patch:
all of these loops are now optimized down to four instructions: store, inc,
cmp, jne. All
the arithmetic is now done at "word" size.

There are a few more minor opportunities remaining; the cmp could be eliminated
making the loop count to zero instead of from zero, and the loop could be made
to use
one register instead of two via full strength reduction, however all the issues
specific to
non-"word" index types are now addressed.

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