[LLVMbugs] [Bug 5359] Common subexpression reassociation missed
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Dec 31 17:15:33 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5359
Chris Lattner <clattner at apple.com> 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 <clattner at apple.com> 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.
More information about the llvm-bugs
mailing list