[llvm-bugs] [Bug 46082] New: Consequtive calls to memset with adjacent ranges aren't merged.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 26 11:51:54 PDT 2020


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

            Bug ID: 46082
           Summary: Consequtive calls to memset with adjacent ranges
                    aren't merged.
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: peter.fordham at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

In this example metset is called twice with consequtive calls to directly
adjacent ememory locations. This could be reduced to a single call to memset.
https://godbolt.org/z/zjHf2i

-- 
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/20200526/d0762bc6/attachment-0001.html>


More information about the llvm-bugs mailing list