[LLVMbugs] [Bug 1285] NEW: Fix consistency of FP operators

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Mar 28 10:54:32 PDT 2007


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

           Summary: Fix consistency of FP operators
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


As part of the signless types work, some FP operators were split out from the integer counterparts.  
Because of this, we have fdiv/frem/fcmp, but some FP ops are still overloaded with integer ones (add/sub/
mul).

We should introduce explicit fadd/fsub/fmul operations, as well as a new unary fneg operator.  This will 
be important going forward, because we want to add flags to the various fp operations to support 
"fastmath" and more FP pedantic languages.

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list