[LLVMbugs] [Bug 970] NEW: Should audit LLVM for incorrect uses of isFloatingPoint()

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Oct 26 11:30:47 PDT 2006


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

           Summary: Should audit LLVM for incorrect uses of
                    isFloatingPoint()
           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


A lot of code uses X->getType()->isFloatingPoint() to disable transformations that are unsafe on FP math.  
We should audit these and change them to call Ty->isFPOrFPVector() if they are also unsafe for vectors of 
floats (which is probably most of them).

Of course, it would be far better to just have FADD/FMUL/etc instructions separate from ADD/MUL, etc, 
but that will take time.

-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