[llvm-bugs] [Bug 41624] New: [InstSimplify] assertion in SimplifyGEPInst
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Apr 27 04:47:32 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41624
Bug ID: 41624
Summary: [InstSimplify] assertion in SimplifyGEPInst
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: llvm-dev at redking.me.uk
CC: davide at freebsd.org, dblaikie at gmail.com,
llvm-bugs at lists.llvm.org, spatel+llvm at rotateright.com
Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12846
; 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190427/6156399a/attachment.html>
More information about the llvm-bugs
mailing list