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

           Summary: convert floating point divides by constants into
                    multiplies when possible
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


It should be be possible to turn floating point divides into multiplies by the
reciprocal when the reciprocal can be represented exactly. For example: x/2.
can be converted into x*0.5.

GCC does this optimization and it improves the generated code in qcms.

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