<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 - Unreachable in AArch64LoadStoreOptimizer (Opcode has no post-indexed wise equivalent!)"
href="https://bugs.llvm.org/show_bug.cgi?id=34035">34035</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unreachable in AArch64LoadStoreOptimizer (Opcode has no post-indexed wise equivalent!)
</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>normal
</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>llvm-bugs@justinbogner.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Given a silly GEP index (of -1), we can hit an unreachable in
AArch64LoadStoreOptimizer. Repros with `llc -o - bug.ll`.
target triple = "arm64-apple-ios"
define void @bug() {
%xP16x4 = alloca <4 x i16>, align 8
%__a = alloca <4 x i16>, align 8
%__b = alloca <4 x i16>, align 8
%G = getelementptr <4 x i16>, <4 x i16>* %__b, i32 -1
store <4 x i16> zeroinitializer, <4 x i16>* %G, align 8
ret void
}</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>