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

Sanjay Patel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #7 from Sanjay Patel <[email protected]> ---
This got fixed in the SLP vectorizer / cost-model sometime in the last year:

$ ./clang -v
clang version 3.6.0 (221222)
Target: x86_64-apple-darwin13.4.0
Thread model: posix


$ ./clang -O3 -fomit-frame-pointer -march=corei7-avx vpsad.c -S -o -
    .section    __TEXT,__text,regular,pure_instructions
    .macosx_version_min 10, 9
    .globl    _foo
    .align    4, 0x90
_foo:                                   ## @foo
    .cfi_startproc
## BB#0:                                ## %entry
    vpabsd    (%rdi), %xmm0
    vmovdqu    %xmm0, (%rdi)
    retq

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to