inliner doesn't properly update callgraph when performing partial inlining #1199
Labels
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
ipo
Interprocedural optimizations
Extended Description
opt bugpoint-reduced-simplified.bc -inline -prune-eh
WARNING: You're attempting to print out a bytecode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bytecode first-hand, you
can force output with the `-f' option.
opt((anonymous namespace)::PrintStackTrace()+0x1f)[0x848a90f]
[0x85a1df4]
Segmentation fault
When reducing this testcase I also sometimes got this instead:
opt: /usr/local/llvm/src/llvm/include/llvm/ADT/ilist:120: typename
bidirectional_iterator<NodeTy, ptrdiff_t>::reference
llvm::ilist_iterator::operator*() const [with NodeTy =
llvm::BasicBlock]: Assertion `Traits::getNext(NodePtr) != 0 && "Dereferencing
end()!"' failed.
opt((anonymous namespace)::PrintStackTrace()+0x1f)[0x848a90f]
/lib/tls/i686/cmov/libc.so.6(abort+0x1dc)[0xb7dd67d8]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0x109)[0xb7dced5d]
opt((anonymous
namespace)::PruneEH::SimplifyFunction(llvm::Function*)+0x2c5)[0x8300f65]
Aborted
The text was updated successfully, but these errors were encountered: