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


Chris Lattner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|new bugs                    |Scalar Optimizations
            Product|new-bugs                    |libraries
         Resolution|                            |FIXED
            Summary|Common subexpression and    |Common subexpression
                   |loop with integer incs      |reassociation missed




--- Comment #3 from Chris Lattner <[email protected]>  2009-12-31 19:15:32 ---
With r92381, we now compile the first example into:

_foo:                                                       ## @foo
        subl    %esi, %edi
        leal    (%rdi,%rdi,2), %eax
        ret

which is optimal.  The second example is a known problem with the loop
optimizer, which is tracked elsewhere.  Closing this as fixed.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to