[llvm-bugs] [Bug 22484] Attempt to use AVX2 intrinsic crashes clang on macOS X

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 15 20:06:03 PDT 2015


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

Eric Christopher <echristo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Eric Christopher <echristo at gmail.com> ---
We now correctly warn in ToT:

dzur:~/tmp> ~/builds/build-llvm/Debug+Asserts/bin/clang -c foo.c
foo.c:13:10: error: '__builtin_ia32_pshufb256' needs target feature avx2
  return __builtin_ia32_pshufb256(v, key32);
         ^
1 error generated.

-- 
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/20151016/ce4b3e13/attachment.html>


More information about the llvm-bugs mailing list