-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzilla
Description
Bugzilla Link | 3906 |
Resolution | FIXED |
Resolved on | Nov 10, 2009 23:56 |
Version | unspecified |
OS | Linux |
CC | @lattner,@echristo |
Extended Description
Per summary, condprop should be removed.
As far as I can tell, simplifycfg knows how to do almost everything condprop knows how to do. condprop knows how to do four things: threading a conditional br on a PHI (dealt with in simplifycfg by FoldCondBranchOnPHI), threading a switch on a PHI (not dealt with in simplifycfg), constant folding terminators (dealt with in simplifycfg by a call to ConstantFoldTerminator), and merging a block with a single successor into that successor (dealt with in simplifycfg by a call to MergeBlockIntoPredecessor). It seems simple enough extend FoldCondBranchOnPHI to deal with switches; after that, condprop won't be doing anything that simplifycfg can't do.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzilla