[LLVMbugs] [Bug 2359] New: wrong instcombine float comparison simplification

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 23 19:16:47 PDT 2008


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

           Summary: wrong instcombine float comparison simplification
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


The fcmp is folded to "true" by instcombine.  Reduced by bugpoint
from ACATS c34002a, which recently started failing.

define i1 @f(i8* %x) {
entry:
        %tmp462 = load i8* %x, align 1          ; <i8> [#uses=1]
        %tmp462463 = sitofp i8 %tmp462 to float         ; <float> [#uses=1]
        %tmp464 = fcmp ugt float %tmp462463, 0x47EFFFFFE0000000         ; <i1>
[#uses=1]
        ret i1 %tmp464
}


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