[llvm-bugs] [Bug 25165] New: [Loop Idiom Recognizer] Missing basic memmov support

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 13 11:54:46 PDT 2015


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

            Bug ID: 25165
           Summary: [Loop Idiom Recognizer] Missing basic memmov support
           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 is able to generate a memmov from the following loop, while LLVM is unable
to produce either a memset or memmov.

void test(int *a) {
  for (int i = 0; i < 1023; ++i)
    a[i] = a[i+1];
}

Benjamin added an implementation in r166875, but it was reverted.  The pass was
then totally revamped and a new implementation may be required.

-- 
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/8b527ca2/attachment.html>


More information about the llvm-bugs mailing list