Do not compute dominance information when not in SSA (#1176)
This commit is contained in:
parent
a0c06103c9
commit
71dbb38b9a
@ -22,8 +22,11 @@ namespace ARMeilleure.Translation
|
||||
{
|
||||
Logger.StartPass(PassName.Dominance);
|
||||
|
||||
if ((options & CompilerOptions.SsaForm) != 0)
|
||||
{
|
||||
Dominance.FindDominators(cfg);
|
||||
Dominance.FindDominanceFrontiers(cfg);
|
||||
}
|
||||
|
||||
Logger.EndPass(PassName.Dominance);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user