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

           Summary: Optimize add and unsigned compare to add-with-overflow
           Product: libraries
           Version: trunk
          Platform: PC
               URL: http://codepad.org/BqJOSpv6
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


This is a forwarded complaint by "bearophile" on LLVM IRC, who unfortunately
never files bugs.

The URL contains the original test case.

llvm-gcc: gcc version 4.2.1 (Based on Apple Inc. build 5636) (LLVM build)

The following should be optimized to an add-with-overflow:

%c = add iN %a, $b
%d = icmp ult iN %c, %a


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