https://bugs.llvm.org/show_bug.cgi?id=52168

            Bug ID: 52168
           Summary: Failure to optimize 128-bit division
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

__int128 b(__int128 j)
{
    return j / 5;
}

This can be inlined into a series of operations avoiding the division, but LLVM
just outputs a call to __divti3. GCC does this optimization.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to