mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Do not compute dominance information when not in SSA (#1176)
This commit is contained in:
1 parent
a0c06103c9
commit
71dbb38b9a
1 file changed
+5
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user