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: unassignedclangb...@nondot.org
Reporter: peter.ford...@gmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs