[LLVMbugs] [Bug 20035] New: Recognize horizontal add patterns.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 13 15:52:51 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20035

            Bug ID: 20035
           Summary: Recognize horizontal add patterns.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: grosbach at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

#include <arm_neon.h>
unsigned hadd(uint32x4_t a) {
  return a[0] + a[1] + a[2] + a[3];
}

Should generate ADDV.4S. Instead we get scalarized code.

-- 
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/20140613/885e1d9a/attachment.html>


More information about the llvm-bugs mailing list