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: [email protected]
Reporter: [email protected]
CC: [email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs