Cranelift: add debug logs counting how many vcode instructions and blocks we lower to (#5332)
This commit is contained in:
@@ -39,6 +39,11 @@ pub fn compile<B: LowerBackend + TargetIsa>(
|
||||
lower.lower(b)?
|
||||
};
|
||||
|
||||
log::debug!(
|
||||
"Number of lowered vcode instructions: {}",
|
||||
vcode.num_insts()
|
||||
);
|
||||
log::debug!("Number of lowered vcode blocks: {}", vcode.num_blocks());
|
||||
trace!("vcode from lowering: \n{:?}", vcode);
|
||||
|
||||
// Perform register allocation.
|
||||
|
||||
Reference in New Issue
Block a user