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: unassignedb...@nondot.org
Reporter: david.bolvan...@gmail.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs