From de5c990d18b28a8c0b03482d80f7a3823a709f27 Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Tue, 21 Feb 2023 22:48:19 -0800 Subject: [PATCH] Avoid `empty_blocks` pass for now; seems problematic. --- src/ir/func.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ir/func.rs b/src/ir/func.rs index a790a2b..29ddbe1 100644 --- a/src/ir/func.rs +++ b/src/ir/func.rs @@ -135,7 +135,6 @@ impl FunctionBody { let cfg = crate::cfg::CFGInfo::new(self); crate::passes::basic_opt::gvn(self, &cfg); crate::passes::resolve_aliases::run(self); - crate::passes::empty_blocks::run(self); } pub fn convert_to_max_ssa(&mut self) {