[llvm-bugs] [Bug 45147] New: ExpandMemCmp improvements

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 9 03:29:18 PDT 2020


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

            Bug ID: 45147
           Summary: ExpandMemCmp improvements
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: clement.courbet at gmail.com
                CC: llvm-bugs at lists.llvm.org

- We are generating specialized code for "memcmp(p, q, 4) == 0" but not
"memcmp(p, q, 4) < 0".
 - Non-equality compares could also use overlapping loads:
https://godbolt.org/z/ZXRIZZ

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200309/9ad18cbc/attachment.html>


More information about the llvm-bugs mailing list