[llvm-bugs] [Bug 47554] New: Suboptimal partial vectorization

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 16 15:01:03 PDT 2020


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

            Bug ID: 47554
           Summary: Suboptimal partial vectorization
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: david.bolvansky at gmail.com
                CC: llvm-bugs at lists.llvm.org

#define N 16
unsigned int out[N];
unsigned int in[N];

void
main1 (unsigned int x)
{

  for (int i = 0; i < N; ++i)
    out[i] = (in[i] + i) + x;

}

ICC:
Dispatch Width:    6
uOps Per Cycle:    5.87
IPC:               4.70
Block RThroughput: 5.0

Clang:
Dispatch Width:    6
uOps Per Cycle:    4.41
IPC:               3.06
Block RThroughput: 8.0



https://godbolt.org/z/vcEjEa

-- 
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/20200916/85e6cadb/attachment.html>


More information about the llvm-bugs mailing list