<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 - [InstSimplify] assertion in SimplifyGEPInst"
href="https://bugs.llvm.org/show_bug.cgi?id=41624">41624</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[InstSimplify] assertion in SimplifyGEPInst
</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>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>llvm-dev@redking.me.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>davide@freebsd.org, dblaikie@gmail.com, llvm-bugs@lists.llvm.org, spatel+llvm@rotateright.com
</td>
</tr></table>
<p>
<div>
<pre>Reduced from <a href="https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12846">https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12846</a>
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "llvm/test/Transforms/InstCombine/vector_gep1.ll"
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define void @test7(<2 x { i32, i32 }*> %a) {
%A = alloca i16
%w = getelementptr { i32, i32 }, <2 x { i32, i32 }*> %a, <2 x i32> <i32 5,
i32 9>, <2 x i32> zeroinitializer
%E = extractelement <2 x i32*> %w, i1 false
store i32* %E, i32** undef
ret void
}
opt -instcombine
opt: /home/simon/LLVM/llvm/lib/IR/Type.cpp:630: static llvm::PointerType*
llvm::PointerType::get(llvm::Type*, unsigned int): Assertion `EltTy && "Can't
get a pointer to <null> type!"' failed.</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>