[llvm-bugs] [Bug 46280] New: opt -inline -sroa -instcombine crashes with ../lib/IR/BasicBlock.cpp:375: bool llvm::BasicBlock::isLegalToHoistInto() const: Assertion `Term->getNumSuccessors() > 0' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 11 06:16:14 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46280
Bug ID: 46280
Summary: opt -inline -sroa -instcombine crashes with
../lib/IR/BasicBlock.cpp:375: bool
llvm::BasicBlock::isLegalToHoistInto() const:
Assertion `Term->getNumSuccessors() > 0' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: mikael.holmen at ericsson.com
CC: llvm-bugs at lists.llvm.org
Created attachment 23602
--> https://bugs.llvm.org/attachment.cgi?id=23602&action=edit
bbi-43929.ll reproducer
Reproduce with:
opt -S -o - bbi-43929.ll -inline -sroa -instcombine
Result:
opt: ../lib/IR/BasicBlock.cpp:375: bool llvm::BasicBlock::isLegalToHoistInto()
const: Assertion `Term->getNumSuccessors() > 0' failed.
Starts failing with commit 745c6c8458b:
Process gep (phi ptr1, ptr2) in SROA
Differential Revision: https://reviews.llvm.org/D79218
--
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/20200611/c8aa0122/attachment.html>
More information about the llvm-bugs
mailing list