LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 992 - crash in opt - llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*)
Summary: crash in opt - llvm::CallGraphNode::removeCallEdgeTo(llvm::CallGraphNode*)
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Interprocedural Optimizations (show other bugs)
Version: trunk
Hardware: All All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords: compile-fail
: 993 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-09 00:27 PST by Tanya Lattner
Modified: 2010-02-22 12:41 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments
bugpoint reduced testcase (6.15 KB, application/octet-stream)
2006-11-09 00:32 PST, Tanya Lattner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tanya Lattner 2006-11-09 00:27:33 PST
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
Comment 1 Tanya Lattner 2006-11-09 00:32:27 PST
Created attachment 452 [details]
bugpoint reduced testcase
Comment 2 Tanya Lattner 2006-11-09 11:09:01 PST
*** Bug 993 has been marked as a duplicate of this bug. ***
Comment 3 Chris Lattner 2006-11-09 17:37:12 PST
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