<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - fatal error: error in backend: Cannot select: 0x56101c6eb3c0: v16i8 = X86ISD::PSHUFB 0x56101c6eac70, 0x56101c6eaee0t:"
href="https://bugs.llvm.org/show_bug.cgi?id=36301">36301</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fatal error: error in backend: Cannot select: 0x56101c6eb3c0: v16i8 = X86ISD::PSHUFB 0x56101c6eac70, 0x56101c6eaee0t:
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>omicronns@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Building bearssl (<a href="https://bearssl.org/">https://bearssl.org/</a>) with -O0 flag (specifically
ghash_pclmul.c) results with error from summary.
Reproducing:
<span class="quote">> (git clone <a href="https://www.bearssl.org/git/BearSSL">https://www.bearssl.org/git/BearSSL</a> && cd BearSSL && clang -O0 -Isrc -Iinc -c -o src/hash/ghash_pclmul.o src/hash/ghash_pclmul.c)</span >
Resulting error:
<span class="quote">> fatal error: error in backend: Cannot select: 0x563cd9168ba0: v16i8 = X86ISD::PSHUFB 0x563cd9168450, 0x563cd91686c0
> 0x563cd9168450: v16i8,ch = CopyFromReg 0x563cd90b0fc8, Register:v16i8 %vreg124
> 0x563cd9168318: v16i8 = Register %vreg124
> 0x563cd91686c0: v16i8,ch = CopyFromReg 0x563cd90b0fc8, Register:v16i8 %vreg125
> 0x563cd9168588: v16i8 = Register %vreg125
> In function: br_ghash_pclmul
> clang-5.0: error: clang frontend command failed with exit code 70 (use -v to see invocation)
> clang version 5.0.1 (tags/RELEASE_501/final)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
> clang-5.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-5.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-5.0: note: diagnostic msg: /tmp/ghash_pclmul-30bc48.c
> clang-5.0: note: diagnostic msg: /tmp/ghash_pclmul-30bc48.sh
> clang-5.0: note: diagnostic msg:</span ></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>