Remove spam from "do_remove_constant_phis"

This commit is contained in:
Nikolay Volf
2020-07-17 17:14:53 +03:00
committed by Benjamin Bouvier
parent ead8a835c4
commit 4f4edc7aef

View File

@@ -1,7 +1,5 @@
//! A Constant-Phi-Node removal pass. //! A Constant-Phi-Node removal pass.
use log::info;
use crate::dominator_tree::DominatorTree; use crate::dominator_tree::DominatorTree;
use crate::entity::EntityList; use crate::entity::EntityList;
use crate::fx::FxHashMap; use crate::fx::FxHashMap;
@@ -384,7 +382,7 @@ pub fn do_remove_constant_phis(func: &mut Function, domtree: &mut DominatorTree)
} }
} }
info!( log::debug!(
"do_remove_constant_phis: done, {} iters. {} formals, of which {} const.", "do_remove_constant_phis: done, {} iters. {} formals, of which {} const.",
iter_no, iter_no,
state.absvals.len(), state.absvals.len(),