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: unassignedb...@nondot.org
          Reporter: mcros...@codeaurora.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to