-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzilladuplicateResolved as duplicateResolved as duplicate
Description
| Bugzilla Link | 4029 |
| Resolution | DUPLICATE |
| Resolved on | Sep 01, 2009 01:31 |
| Version | unspecified |
| OS | Linux |
| Depends On | #3973 |
| Attachments | Debugging patch that fires an assertion if the callgraph contains deleted instructions |
| Reporter | LLVM Bugzilla Contributor |
| CC | @lattner |
Extended Description
The test Analysis/GlobalsModRef/purecse.ll runs opt -globalsmodref-aa -gvn -instcombine. The callgraph constructed for globalsmodref-aa is not destroyed
before gvn is run. Similarly, the test Transforms/CondProp/2007-08-01-InvalidRead.ll runs opt -inline -tailduplicate -condprop -simplifycfg, and
the callgraph constructed for -inline is not destroyed before simplifycfg is
run. This is in spite of the fact that gvn/simplifycfg neither require nor
preserve the callgraph.
Spotted using the attached debugging patch (which would be good to commit
one day). My guess is that this is essentially the same problem as #3973 .
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzilladuplicateResolved as duplicateResolved as duplicate