-
Notifications
You must be signed in to change notification settings - Fork 549
Open
Labels
A-dataflowArea: dataflow analysisArea: dataflow analysisA-mir-optArea: MIR optimizationsArea: MIR optimizationsE-help-wantedCall for participation: extra help is wantedCall for participation: extra help is wantedE-mediumDifficulty: might require some prior knowledge or code readingDifficulty: might require some prior knowledge or code readingE-needs-writeupCall for participation: discussion can be written up without much research requiredCall for participation: discussion can be written up without much research requiredT-compilerRelevant to compiler teamRelevant to compiler team
Description
@JakobDegen has very kindly written up a summary of how dataflow works: https://hackmd.io/@2S4Crel_Q9OwC_vamlwXmw/ryqfn_vZn
Unlike the existing chapter (https://rustc-dev-guide.rust-lang.org/mir/dataflow.html#dataflow-analysis), this is a conceptual background, not a guide to how to write a dataflow pass. Both documents are useful and it would be nice to combine them somehow.
cc @rust-lang/wg-mir-opt @camelid, this might be a fun project.
camelid
Metadata
Metadata
Assignees
Labels
A-dataflowArea: dataflow analysisArea: dataflow analysisA-mir-optArea: MIR optimizationsArea: MIR optimizationsE-help-wantedCall for participation: extra help is wantedCall for participation: extra help is wantedE-mediumDifficulty: might require some prior knowledge or code readingDifficulty: might require some prior knowledge or code readingE-needs-writeupCall for participation: discussion can be written up without much research requiredCall for participation: discussion can be written up without much research requiredT-compilerRelevant to compiler teamRelevant to compiler team