https://bugs.llvm.org/show_bug.cgi?id=24413
Florian Hahn <florian_h...@apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |florian_h...@apple.com
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Florian Hahn <florian_h...@apple.com> ---
This seems fixed in current trunk. On X86 we generate the following
vector.body. We use a scalar add to increment the induction variable. Please
feel free to re-open, if your issue still persists.
LBB0_4: ## %vector.body
## =>This Inner Loop Header: Depth=1
movq (%rdi,%rax,2), %xmm3 ## xmm3 = mem[0],zero
punpcklwd %xmm0, %xmm3 ## xmm3 =
xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
movq 8(%rdi,%rax,2), %xmm4 ## xmm4 = mem[0],zero
punpcklwd %xmm0, %xmm4 ## xmm4 =
xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
pand %xmm2, %xmm3
paddd %xmm3, %xmm0
pand %xmm2, %xmm4
paddd %xmm4, %xmm1
addq $8, %rax
cmpq %rax, %rsi
jne LBB0_4
## %bb.5:
--
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