[LLVMbugs] [Bug 9587] New: convert floating point divides by constants into multiplies when possible
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Mar 29 21:41:33 PDT 2011
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: unassignedbugs at nondot.org
ReportedBy: jmuizelaar at mozilla.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list