1
Fork 0

Add global value numbering pass.

This commit is contained in:
Camille GILLOT 2023-03-20 18:05:07 +00:00
parent 551c7183f8
commit 8b848af325
33 changed files with 6476 additions and 26 deletions

View file

@ -108,7 +108,7 @@ enum Value<'tcx> {
}
/// For each local, save the place corresponding to `*local`.
#[instrument(level = "trace", skip(tcx, body))]
#[instrument(level = "trace", skip(tcx, body, ssa))]
fn compute_replacement<'tcx>(
tcx: TyCtxt<'tcx>,
body: &Body<'tcx>,