[llvm-bugs] [Bug 25166] New: [Loop Idiom Recognizer] Missing basic memset support for loops with negative stride
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 13 12:03:20 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25166
Bug ID: 25166
Summary: [Loop Idiom Recognizer] Missing basic memset support
for loops with negative stride
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Loop Optimizer
Assignee: unassignedbugs at nondot.org
Reporter: mcrosier at codeaurora.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
GCC generates a memset for the below loop, while LLVM does not.
void test(int *arr) {
for (int i = 1023; i >= 0; --i)
arr[i] = 0;
}
--
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/20151013/b631c41b/attachment.html>
More information about the llvm-bugs
mailing list