[LLVMbugs] [Bug 12461] clang does not optimize some recursive function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 5 04:31:10 PDT 2012


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

Chandler Carruth <chandlerc at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |chandlerc at gmail.com
         Resolution|                            |INVALID

--- Comment #1 from Chandler Carruth <chandlerc at gmail.com> 2012-04-05 06:31:10 CDT ---
There is already a FIXME in the new inliner to start handling cases like this
where the result is a constant.

The case of rotating a recursive function to a loop is probably interesting,
but we don't usually track missed optimizations in bugzilla unless they are
responsible for severe performance problems somewhere, or regressions. This
would be better added to the target README as a missed optimization.

-- 
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