Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash in opt - llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*) #1364

Closed
tlattner opened this issue Nov 9, 2006 · 2 comments
Closed
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead ipo Interprocedural optimizations

Comments

@tlattner
Copy link
Contributor

tlattner commented Nov 9, 2006

Bugzilla Link 992
Resolution FIXED
Resolved on Feb 22, 2010 12:41
Version trunk
OS All
Attachments bugpoint reduced testcase

Extended Description

opt: CallGraph.cpp:277: void llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*): Assertion `i
&& "Cannot find callee to remove!"' failed.

to run testcase:
opt bugpoint-reduced-simplified.bc -inline -prune-eh

@tlattner
Copy link
Contributor Author

tlattner commented Nov 9, 2006

*** Bug llvm/llvm-bugzilla-archive#993 has been marked as a duplicate of this bug. ***

@lattner
Copy link
Collaborator

lattner commented Nov 10, 2006

Fixed. Testcases here:
Transforms/Inline/2006-11-09-InlineCGUpdate.ll
Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll

Patches here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061106/039741.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061106/039743.html

Tanya, I think it makes sense to merge these two patches into the 1.9 branch. Despite what I thought at
the time, the first patch isn't sufficient to fully fix the bug.

-Chris

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead ipo Interprocedural optimizations
Projects
None yet
Development

No branches or pull requests

2 participants