<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 - llc crash due to large structure return"
href="https://bugs.llvm.org/show_bug.cgi?id=52475">52475</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llc crash due to large structure return
</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>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: RISC-V
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tclin914@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>asb@lowrisc.org, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Testcase:
define <128 x i32> @ret_split_v128i32(<128 x i32>* %x) {
%v = load <128 x i32>, <128 x i32>* %x
ret <128 x i32> %v
}
This testcase is extracted from
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv.ll
Execution command:
llc -mtriple=riscv64 -mattr=+experimental-v -riscv-v-vector-bits-min=128
-riscv-v-fixed-length-vector-lmul-max=4 -pre-RA-sched=list-burr foo.ll
--disable-machine-cse test.ll
Change schedule policy for pre-RA to list-burr and disable machine-cse.
Execution result:
Use of %2 does not have a corresponding definition on every path:
48r %3:gpr = ADDI %2:gpr, 448
LLVM ERROR: Use not jointly dominated
by defs.
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.
Stack dump:
...
I think this bug is that DemoteRegister copied out in return bb doesn't be
chained with DemoteRegister copied in in entry bb.</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>