<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 - [AMDGPU] crash or select error in shader generated by radeonsi"
href="https://bugs.llvm.org/show_bug.cgi?id=39214">39214</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AMDGPU] crash or select error in shader generated by radeonsi
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>7.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>Backend: AMDGPU
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>joseph.kucia@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=20976" name="attach_20976" title="bitcode">attachment 20976</a> <a href="attachment.cgi?id=20976&action=edit" title="bitcode">[details]</a></span>
bitcode
The attached LLVM bitcode is prodcued by radeonsi.
LLVM 7.0.0:
--- snip ---
LLVM ERROR: Cannot select: 0x55bf333f40c0: v4i32,ch = load<(dereferenceable
invariant load 16 from %ir.25, addrspace 2)> 0x55bf33367b28, 0x55bf333f9438,
undef:i32
0x55bf333f9438: i32 = add 0x55bf333f94a0, Constant:i32<272>
0x55bf333f94a0: i32,ch = CopyFromReg 0x55bf33367b28, Register:i32 %42
0x55bf333f98b0: i32 = Register %42
0x55bf333f9710: i32 = Constant<272>
0x55bf333f4128: i32 = undef
In function: main
--- snip ---
LLVM 6.0.1:
--- snip ---
#0 0x00007fd358284daa llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x108daa)
#1 0x00007fd358282c96 llvm::sys::RunSignalHandlers()
(/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x106c96)
#2 0x00007fd358282f1b
(/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x106f1b)
#3 0x00007fd35717cfe0 (/lib64/libc.so.6+0x35fe0)
#4 0x00007fd359ca34e1
(/usr/lib64/llvm/6/bin/../lib64/libLLVMCodeGen.so.6+0x2fb4e1)
Stack dump:
0. Program arguments: /usr/lib/llvm/6/bin/llc llvm-code.bc
1. Running pass 'CallGraph Pass Manager' on module 'llvm-code.bc'.
2. Running pass 'Simple Register Coalescing' on function '@main'
Segmentation fault
--- snip ---</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>