diff --git a/ARMeilleure/Translation/Compiler.cs b/ARMeilleure/Translation/Compiler.cs index c2a2c74620..d27c3cceba 100644 --- a/ARMeilleure/Translation/Compiler.cs +++ b/ARMeilleure/Translation/Compiler.cs @@ -22,8 +22,11 @@ namespace ARMeilleure.Translation { Logger.StartPass(PassName.Dominance); - Dominance.FindDominators(cfg); - Dominance.FindDominanceFrontiers(cfg); + if ((options & CompilerOptions.SsaForm) != 0) + { + Dominance.FindDominators(cfg); + Dominance.FindDominanceFrontiers(cfg); + } Logger.EndPass(PassName.Dominance);