<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 - [AArch64] crash in isTRNMask()"
href="https://bugs.llvm.org/show_bug.cgi?id=41951">41951</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AArch64] crash in isTRNMask()
</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>All
</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: AArch64
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>spatel+llvm@rotateright.com
</td>
</tr>
<tr>
<th>CC</th>
<td>arnaud.degrandmaison@arm.com, llvm-bugs@lists.llvm.org, peter.smith@linaro.org, Ties.Stuij@arm.com
</td>
</tr></table>
<p>
<div>
<pre>define <4 x i32> @widen_shuffles_reduced(<3 x i32> %x, <3 x i32> %y) {
%s3 = shufflevector <3 x i32> %y, <3 x i32> %x, <4 x i32> <i32 1, i32 4, i32
3, i32 0>
ret <4 x i32> %s3
}
Using llc as of r361194:
$ llc -o - shuf.ll -mtriple=aarch64
.text
.file "shuf.ll"
Assertion failed: (Index < Length && "Invalid index!"), function operator[],
file /Users/spatel/GitHub/llvm-project/llvm/include/llvm/ADT/ArrayRef.h, line
240.
Stack dump:
0. Program arguments: ./llc -o - shuf.ll -mtriple=aarch64
1. Running pass 'Function Pass Manager' on module 'shuf.ll'.
2. Running pass 'AArch64 Instruction Selection' on function
'@widen_shuffles_reduced'
0 llc 0x000000010948aa58
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1 llc 0x0000000109489948 llvm::sys::RunSignalHandlers() +
248
2 llc 0x000000010948b078 SignalHandler(int) + 264
3 libsystem_platform.dylib 0x00007fff5c7dfb3d _sigtramp + 29
4 libsystem_platform.dylib 0x00007fb92b880810 _sigtramp + 3473542384
5 libsystem_c.dylib 0x00007fff5c69d1c9 abort + 127
6 libsystem_c.dylib 0x00007fff5c665868 basename_r + 0
7 llc 0x00000001077c2946 isTRNMask(llvm::ArrayRef<int>,
llvm::EVT, unsigned int&) + 230
8 llc 0x00000001077c491a
llvm::AArch64TargetLowering::isShuffleMaskLegal(llvm::ArrayRef<int>, llvm::EVT)
const + 362</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>