<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Cannot select: intrinsic %llvm.x86.avx.vbroadcastf128.pd.256"
href="https://llvm.org/bugs/show_bug.cgi?id=28657">28657</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot select: intrinsic %llvm.x86.avx.vbroadcastf128.pd.256
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>krasin@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=16788" name="attach_16788" title="reproducer; the C part">attachment 16788</a> <a href="attachment.cgi?id=16788&action=edit" title="reproducer; the C part">[details]</a></span>
reproducer; the C part
As of r276352, Clang crashes while trying to compile libvpx:
<a href="https://build.chromium.org/p/chromium.fyi/builders/ClangToTLinux/builds/5826/steps/compile/logs/stdio">https://build.chromium.org/p/chromium.fyi/builders/ClangToTLinux/builds/5826/steps/compile/logs/stdio</a>
[6498/36195] CC obj/third_party/libvpx/libvpx_intrinsics_avx2/loopfilter_avx2.o
FAILED: obj/third_party/libvpx/libvpx_intrinsics_avx2/loopfilter_avx2.o
../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF
obj/third_party/libvpx/libvpx_intrinsics_avx2/loopfilter_avx2.o.d
-DV8_DEPRECATION_WARNINGS -DENABLE_MDNS=1 -DENABLE_NOTIFICATIONS
-DENABLE_PEPPER_CDMS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DENABLE_PRINTING=1
-DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1
-DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1
-DUSE_CAIRO=1 -DUSE_CLIPBOARD_AURAX11=1 -DUSE_DEFAULT_RENDER_THEME=1
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DENABLE_WEBRTC=1
-DENABLE_EXTENSIONS=1 -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SESSION_SERVICE=1
-DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD
-DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=276352
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCOMPONENT_BUILD -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../..
-Igen -I../../third_party/libvpx/source/config
-I../../third_party/libvpx/source/config/linux/x64
-I../../third_party/libvpx/source/libvpx -Igen/third_party/libvpx -mavx2
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-funwind-tables -fPIC -pipe -B../../third_party/binutils/Linux_x64/Release/bin
-fcolor-diagnostics -fdebug-prefix-map=/b/c/b/ClangToTLinux/src=. -pthread -m64
-march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -g2
--sysroot=../../build/linux/debian_wheezy_amd64-sysroot -fvisibility=hidden
-Wheader-hygiene -Wstring-conversion -Werror -Wall -Wno-unused-variable
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-covered-switch-default -Wno-deprecated-register
-Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override
-Wno-shift-negative-value -Wno-undefined-var-template
-Wno-nonportable-include-path -Wno-conversion -Wno-parentheses-equality
-Wno-unused-function -c
../../third_party/libvpx/source/libvpx/vpx_dsp/x86/loopfilter_avx2.c -o
obj/third_party/libvpx/libvpx_intrinsics_avx2/loopfilter_avx2.o
fatal error: error in backend: Cannot select: intrinsic
%llvm.x86.avx.vbroadcastf128.pd.256
clang-4.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 4.0.0 (trunk 276352)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/b/c/b/ClangToTLinux/src/out/Release/../../third_party/llvm-build/Release+Asserts/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-4.0: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-4.0: note: diagnostic msg: /tmp/loopfilter_avx2-fcc9b0.c
clang-4.0: note: diagnostic msg: /tmp/loopfilter_avx2-fcc9b0.sh
clang-4.0: note: diagnostic msg:
The reproducer is attached to the bug.
Suspected revision is r276281: <a href="https://reviews.llvm.org/D22460">https://reviews.llvm.org/D22460</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>